upstream sent unexpected FastCGI record: 3 while reading response header from upstream

Maxim Dounin mdounin at mdounin.ru
Wed Mar 15 14:49:42 UTC 2017


Hello!

On Wed, Mar 15, 2017 at 09:16:19AM -0400, jaigupta wrote:

> I increased log level to debug and below is what I received.
> 
> [error] 7901#7901: *47646 upstream sent unexpected FastCGI record: 3 while
> reading response header from upstream, client: xx.xx.xx.xx, server:
> www.xxxxx.com, request: "GET / HTTP/1.1", upstream:
> "fastcgi://unix:/var/run/php-fpm/xxx.fpm.sock:", host: "www.xxxxx.com"
> 
> Is there a way I could troubleshoot this or get more information?

Please read the link provided:

http://nginx.org/en/docs/debugging_log.html

In particular, make sure that nginx you are using is built with 
debugging support enabled.  If the above is the only message you 
see with the loging level set to debug, the answer is probably 
"no".

-- 
Maxim Dounin
http://nginx.org/


More information about the nginx mailing list