Reputation: 51
It is a question about AWS.
The following error occurred between ELB and EC2(nginx).
ELB
HTTP 504: Gateway Timeout
EC2(nginx)
HTTP Error 408 Request timeout
Have someone discovered the same phenomenon? and know the cause?
Upvotes: 5
Views: 1424
Reputation: 10866
Are you getting 408 in nginx error.log ? If yes, then it has nothing to do with ELB because it shows that request is going from ELB to nginx; and nginx itself is giving "Request timeout".. It is an application issue..Your application is not able to process the request.
One way to test would be to expose EC2 to public i.e. associate an Elastic IP address to EC2 and try to connect to it directly i.e. removing ELB from picture to be double sure.
Upvotes: 1