Forums

502 - backend and closed pipe errors

Hi,

We've been getting HTTP response codes 502 and 499 for our website along with this message in access.log:

2018-11-19 13:51:02 Mon Nov 19 13:51:02 2018 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /api/driver/list_confirm !!!
2018-11-19 13:51:02 Mon Nov 19 13:51:02 2018 - uwsgi_response_writev_headers_and_body_do(): Broken pipe 
[core/writer.c line 306] during POST /api/driver/list_confirm

Reloading got rid of the 502s but we still get 499 response code. Can someone identify what we need to do to fix this issue?

EDIT: Apparently, this fixed itself

That most likely means that you have an endpoint (/api/driver/list_confirm) that is taking a long time to load, and the client is navigating away/closing the page before the page has been fully loaded.