I have a nginx server (1.2.0) running on ubuntu 10.04. It acts as a reverse proxy for the rails application running on a unicorn.
One user starts downloading problems. The user can download 95% of the time, but some files will return a "Reset by Peer Connection". These files reliably return the same error 408. The error occurs with Firefox (12). The user also has IE installed and downloads the same file. I can also upload the file just fine (Safari)
It is strange that the request never reaches the unicorn servers; No trace of the request can be found in the log of the unicorn or rails.
The problem exists on several nginx installations.
Random facts
- The problem exists in a wireless and wired network.
- The problem also existed in other versions of Firefox (11 and 3.6).
- Rails 3.2.3 (also exists in 3.1.3)
Any help / suggestions would be appreciated. thanks.
from nginx access_log
[error]
10.XXXX - - [07 / May / 2012: 10: 39: 59 -0400] "POST / data / jobs / aL2OccMe8r4ylk-hGRWekO / attachments / HTTP / 1.1" 408 0 "http: // fake. Name.com/ pages / jobs / aL2OccMe8r4ylk-hGRWekO / attachments / new / "" Mozilla / 5.0 (Windows NT 6.1; rv: 12.0) Gecko / 20100101 Firefox / 12.0 "
[success]
10.XXXX - - [07 / May / 2012: 10: 41: 53 -0400] "POST / data / jobs / aL2OccMe8r4ylk-hGRWekO / attachments / HTTP / 1.1" 302 146 "http: // fake. Name.com/ pages / jobs / aL2OccMe8r4ylk-hGRWekO / attachments / new / "" Mozilla / 5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit / 534.55.3 (KHTML, e.g. Gecko) Version /5.1.5 Safari / 534.55. 3
source share