Passenger connection reset by peer issue

Posted by user887372 on Server Fault See other posts from Server Fault or by user887372
Published on 2012-11-01T09:48:13Z Indexed on 2012/11/01 11:03 UTC
Read the original article Hit count: 394

I am new to ruby on rails. I am using passenger 3.0.17 to deploy my ruby 3.2.6 project. My project is working fine but i got 500 internal error when i try to upload files on server. I checked my passenger log and found:

[ pid=20654 thr=140394143790848 file=ext/nginx/HelperAgent.cpp:933 time=2012-11-01 09:29:57.82 ]: Uncaught exception in PassengerServer client thread:
   exception: write() failed: Connection reset by peer (104)
   backtrace:
     in 'void Client::forwardResponse(Passenger::SessionPtr&, Passenger::FileDescriptor&, const Passenger::AnalyticsLogPtr&)' (HelperAgent.cpp:705)
     in 'void Client::handleRequest(Passenger::FileDescriptor&)' (HelperAgent.cpp:859)
     in 'void Client::threadMain()' (HelperAgent.cpp:952)


2012/11/01 09:29:27 [crit] 20691#0: *431 mkdir() "/tmp/passenger-standalone.20640/proxy_temp/2" failed (2: No such file or directory) while reading upstream, client: 124.172.71.55, server: _, request: "GET /assets/jquery.js?body=1 HTTP/1.1", upstream: "passenger:unix:/passenger_helper_server:", host: "test.com:3000", referrer: "http://test.com:3000/"
2012/11/01 09:29:33 [crit] 20691#0: *435 mkdir() "/tmp/passenger-standalone.20640/proxy_temp/3" failed (2: No such file or directory) while reading upstream, client: 124.172.71.55, server: _, request: "GET /assets/background.png HTTP/1.1", upstream: "passenger:unix:/passenger_helper_server:", host: "test.com:3000", referrer: "http://test.com:3000/"
[ pid=20654 thr=140394115462912 file=ext/nginx/HelperAgent.cpp:933 time=2012-11-01 09:29:33.543 ]: Uncaught exception in PassengerServer client thread:
   exception: write() failed: Connection reset by peer (104)
   backtrace:
     in 'void Client::forwardResponse(Passenger::SessionPtr&, Passenger::FileDescriptor&, const Passenger::AnalyticsLogPtr&)' (HelperAgent.cpp:705)
     in 'void Client::handleRequest(Passenger::FileDescriptor&)' (HelperAgent.cpp:859)
     in 'void Client::threadMain()' (HelperAgent.cpp:952)

Please guide me regarding the issue. I am unable to find the reason of this peer reset and failied mkdir().

Thanks in advance

© Server Fault or respective owner

Related posts about amazon-web-services

Related posts about phusion-passenger