查找错误原因

错误请求的响应头中的 X-ALB-ERR-REASON 字段将指示错误原因。

错误原因可能是:

InvalidBalancer : no balancer found for xx # it means no endpoint found for the service
BackendError : read xxx byte data from backend # it means the backend did give response, the error code is not cause by alb.
InvalidUpstream : no rule match # it means the request does not match any rule, so alb return 404.