在剧作家测试中,ALB随机给了我502个错误。当我在雅典娜调试并检查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
但我不知道怎么解决这个问题。有人能帮我一下吗?
发布于 2022-10-26 12:46:05
我也遇到了同样的问题,这是由于保持活动超时(服务器使用的超时时间比负载均衡器更短)而引起的,请查看该帖子:AWS Load Balancer 502。
https://stackoverflow.com/questions/74150286
复制相似问题