Welcome! Log In Create A New Profile

Advanced

upstream sent invalid status "" while reading response header from upstream

Posted by justink101 
upstream sent invalid status "" while reading response header from upstream
September 29, 2014 05:00PM
Just started getting 502 Bad Gateway and in the nginx error log I see:

upstream sent invalid status "" while reading response header from upstream

When I restarted php-fpm, everything went back to normal and working. Did something with php-fpm just go wrong? I don't see anything in the php-fpm error logs. What typically causes this, and what are some fixes to prevent it from happening again.
Re: upstream sent invalid status "" while reading response header from upstream
November 06, 2014 04:56PM
I'm having the same problem. You are lucky because even though I restarted php-fpm, it didn't go back to normal...
Re: upstream sent invalid status "" while reading response header from upstream
August 06, 2018 08:10AM
I faced the same problem too, and restarted php-fpm and things went back fine.
I don't know the cause, but seems it's related to nginx
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 142
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready