【问题标题】:ALB logs showing elb_status_code is 502显示 elb_status_code 的 ALB 日志为 502
【发布时间】:2022-11-11 08:05:28
【问题描述】:

ALB 在剧作家测试期间随机给我 502 错误。当我在 Athena 中调试和检查 ALB 日志时,我发现 elb_status_code 是 502

访问日志条目还说,request_processing_time 是 0.0,target_processing_time 是 0.005,response_processing_time 是-1

根据此 AWS 文档: https://aws.amazon.com/premiumsupport/knowledge-center/elb-alb-troubleshoot-502-errors/

If the elb_status_code is "502" and the target_status_code is "-", then your load balancer is the source of the HTTP 502 errors

但我不明白如何解决它。有人可以帮我吗?

【问题讨论】:

    标签: amazon-elb aws-application-load-balancer http-status-code-502


    【解决方案1】:

    我有同样的问题 - 这是由于保持活动超时(服务器使用的超时时间比负载均衡器短) 看看那个帖子: AWS Load Balancer 502

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-12-06
      • 2019-09-15
      • 1970-01-01
      • 2023-03-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多