(52) Empty reply from server on slow response

Maxim Dounin mdounin at mdounin.ru
Thu Jun 23 12:24:43 UTC 2016


On Thu, Jun 23, 2016 at 08:02:11AM -0400, ktiniatros wrote:

> I have a node.js/express backend with nginx. Everything works fine except
> one request which gives back (52) Empty reply from server on slow responses
> ONLY (this request aggregates remote data, so in some very specific
> scenarios it takes time to complete). By slow, I mean specifically when the
> response takes more than 4 minutes (node.js still working since I see its
> log but nginx is already closing the request with the above message). 
> Anyone has an idea why this is happening ? And what's the proper way to
> debug this kind of issues ?

First of all, try looking into nginx error log.

Maxim Dounin

More information about the nginx mailing list