Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error 324 empty response on Application hosted by AWS

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.

I am getting this error on my amazon EC2 server. This doesn't happen on a specific page on my website. I don't think it is Chrome browser bug either because when I open safari I don't get the error, I get a white page. Not sure what is happening or why. Basically, I am looking for the root causes for this server error. Any ideas would be much appreciated. If you need me to provide any specific info, let me know.

Come to think of it, this error started happening when we upgraded to mongo php driver 1.2.7. Thoughts?

like image 821
PetersCodeProblems Avatar asked Jan 14 '12 09:01

PetersCodeProblems


1 Answers

Trouble-shoot with curl from the commandline. For example, http://aws.amazon.com/

$ curl -i http://aws.amazon.com/
HTTP/1.1 200 OK
Date: Tue, 08 May 2012 19:55:14 GMT
Server: Server
x-amz-id-1: 0C8YK9MYJMCCSE8R09E5
x-amz-id-2: zx0HtU9Ub39tobXNBiMRLuE2mvnhQo4Kh1fyj0MdJcg=
Cache-Control: max-age=0
Expires: Tue, 08 May 2012 19:55:14 GMT
Content-Type: text/html; charset=UTF-8
Set-cookie: aws-session-id-time=2082758401l; path=/; domain=.amazon.com; expires=Tue, 01-Jan-2036 00:00:01 GMT
Set-cookie: aws-session-id=000-0000000-0000000; path=/; domain=.amazon.com; expires=Tue, 01-Jan-2036 00:00:01 GMT
Vary: User-Agent
Transfer-Encoding: chunked
...

The -i includes headers. You should see the actual status code and then correlate with your access_log and error_log. :)

Let me know if this helps!

like image 85
Till Avatar answered Nov 09 '22 21:11

Till