1. 程式人生 > >Troubleshoot HTTP 5xx Errors when using Elastic Load Balancing

Troubleshoot HTTP 5xx Errors when using Elastic Load Balancing

The resolutions for HTTP 5XX vary. See the following pages for more information:

HTTP 502 (Bad Gateway)

HTTP 502 errors can occur if either the web server or associated back-end application servers running on EC2 instances return a message that cannot be parsed by Classic Load Balancer (CLB).

HTTP 503 (Service Unavailable)

HTTP 503 errors can occur for several reasons, including:

  • Insufficient web server or back-end application server instance resources available to service client requests.
  • Web server instances or back-end application server instances fail the Classic Load Balancer (CLB) heath check.
  • One or more processes running on web server instances or back-end application server instances are down or inaccessible via the expected TCP/IP port number (for example TCP port 80 for HTTP).
  • A security group or access control list (ACL) misconfiguration is preventing access to back-end application server instances.
  • You have not registered back-end instances in every Availability Zone that your Classic Load Balancer is configured to respond in. See Configure Cross-Zone Load Balancing for more information.
  • Connection draining is not enabled for the Classic Load Balancer that your web server instances are registered with.

HTTP 504 (Gateway Timeout)

HTTP 504 errors can occur for the following reasons:

  • Web server instances or back-end application server instances are busy and cannot respond to requests within the configured Elastic Load Balancing (ELB) idle timeout limit.
  • Web server instances or back-end application server instances terminate connections before the load balancer does, resulting in premature connection terminations.
  • Web server instances or back-end application server instances have crashed or restarted server processes when requests are in-flight, which results in the server breaking all connections.
  • Apache web server instances have the AcceptFilter http/https option enabled which instructs Apache to implement TCP_DEFER_ACCEPT on the connections.
  • Apache web server instances have the event MPM enabled and have not optimally configured the prefork and worker MPMs given the default ELB idle timeout limit of 60 seconds. For more information, see What are the optimal settings for using Apache as a back-end server for ELB?

相關推薦

Troubleshoot HTTP 5xx Errors when using Elastic Load Balancing

The resolutions for HTTP 5XX vary. See the following pages for more information: HTTP 502 (Bad Gateway) HTTP 502 errors

Troubleshoot HTTP 503 Errors While Using Classic Load Balancers

To see the number of healthy back-end instances behind your load balancer, check the HealthyHostCount and UnHealthyHostCount metrics in CloudWa

Troubleshoot HTTP 504 Errors While Using Classic Load Balancers

An HTTP 504 error is a HTTP status code that indicates a gateway or proxy has timed out. When troubleshooting, investigate the following:

Troubleshoot HTTP 5xx Errors from Amazon S3

Enable a retry mechanism in the application making requests Because of the distributed nature of Amazon S3, requests that return 500

Troubleshoot HTTP 307 Errors in Amazon S3

After you create an Amazon S3 bucket, it can take up to 24 hours for the bucket name to propagate across all AWS Regions. During this time, you

Resolve Definer Errors When Using mysqldump

3.    Create or re-create the dump file without the definer option. The MySQL dump utility doesn't provide the option to remove a DE

AWS | Elastic Load Balancing

Elastic Load Balancing automatically distributes incoming application traffic across multiple targets, such as Amazon EC2 instances, containers,

Elastic Load Balancing Features

Network Load Balancer operates at the connection level (Layer 4), routing connections to targets - Amazon EC2 instances, microservices, and c

Elastic Load Balancing Latency Troubleshooting

Check the web server configuration – Most web servers provide a configurable MaxClient setting that defines the maximum number of web server pr

Elastic Load Balancing Connectivity Troubleshooting

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

Elastic Load Balancing Connection Timeout Management

When your web browser or your mobile device makes a TCP connection to an Elastic Load Balancer, the connection is used for the request and the re

Elastic Load Balancing Jobs

Do you want to help create a product that is used by millions of people every day that changes the way developers architect and build solutions

Elastic Load Balancing

Let’s assume your application receives an average of 1 new connection per second, each lasting 2 minutes. A client sends an average of 5 reque

Elastic Load Balancing(クラウドネットワークのロードバランサー

Elastic Load Balancing は、アプリケーションへのトラフィックを複數のターゲット (Amazon EC2 インスタンス、コンテナ、IP アドレスなど) に自動的に分散します。Elastic Load Balancing は、変動するアプリケーショントラフィックの負荷を、

Elastic Load Balancing Capacity Troubleshooting

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

Вопросы и ответы по Elastic Load Balancing

Вопрос. Какие операционные системы поддерживает Application Load Balancer? Application Load Balancer под

Forums aux questions sur Elastic Load Balancing

Q : Quels systèmes d'exploitation un équilibreur de charge d’application prend-il en charge ? Un équilib

Elastic Load Balancing – Répartiteur de charge sur le cloud

Elastic Load Balancing distribue automatiquement le trafic d'application entrant sur plusieurs cibles, comme des instances Amazon EC2, des conten

Elastic Load Balancing | AWS

アプリケーションが 1 秒あたり平均 1 個の新しい接続を受信し、それぞれ 2 分間継続すると仮定します。また、クライアントが 1 秒あたり平均 5 個のリクエストを送信し、その接続が継続している間 300 KB の帯域幅を消費すると仮定します。このとき、ロードバランサーにおいて、ク

Elastic Load Balancing 功能

網路負載均衡器運行於連線級別(第 4 層),可根據 IP 協議資料將連線路由至 Amazon Virtual Private Cloud (Amazon VPC) 內的不同目標(Amazon EC2 例項、微服務和容器)。網路負載均衡器最適合 TCP 流量的負載均衡,能夠在保持超低