I have a service where mobile phones send a big hash of data to our server which are sitting on AWS behind the ELB. Once in a while we receive 70007 and 70014 errors in the apache error logs, the requests shows on apache access.log but not in rails logs. I'm trying to figure out what these errors are. Our Theory right now is the phone gets disconnected and it happens before the send us the requests so it never hit the rails server.
Errors are the following:
Unexpected error in mod_passenger: An error occurred while receiving HTTP upload data: The timeout specified has expired (70007) Unexpected error in mod_passenger: An error occurred while receiving HTTP upload data: End of file found (70014)
From all the googleing I've done, This is what I've got:
70014: end of file error, which makes total sense according to our theory.
70007: Time out. I put %D on apache log format and I get the time is between 10-90 seconds. Our Apache Timeout setting is 300 seconds. Also a lot of the requests takes longer than 10 seconds and they don't time out. I also thought it could be TCP timeout, but after investigating realized the TCP timeout is et to 7200 seconds; so that's not it either.
Any idea what this could be? where else I should be looking?