Need help : Getting 502 response status code for specific URL

Raghvendra Parashar parasharragh at
Tue Feb 12 20:16:48 UTC 2013

Hi nginx team,

I am getting 502 bad gateway error for particular URL.

Application details :
Rails 3.1.0
Ruby 1.9.2
unicorn 4.2.0
resque 1.20.0
redis 2.4.8

nginx error log :
2013/02/12 07:36:16 [error] 32401#0: *1948 upstream prematurely closed
connection while reading response header from upstream

I have also posted my question on stack-overflow, please find it
but couldn't got any response.

Please guide me to solve this problem.

Raghvendra Kumar Parashar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list