I have a Flask-based dashboard application where all users can log in and use the system except for one specific account. Whenever this user attempts to log in, I receive a 502-backend error.
I have checked various logs and even added custom logging, but I haven’t been able to identify the root cause. Interestingly, when I run the application locally, this user is able to log in without any issues, which suggests that the problem might be related to the server environment or configuration.
Below are the relevant log entries I see after this user tries to log in:
2025-02-27 08:04:10 Thu Feb 27 08:04:10 2025 - SIGPIPE: writing to a closed pipe/socket/fd (probably the client disconnected) on request /dashboard/ (ip 10.0.5.105) !!!
2025-02-27 08:04:10 Thu Feb 27 08:04:10 2025 - uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 341] during GET /dashboard/ (10.0.5.105)
I’d really appreciate any insights or suggestions on what might be causing this issue. Thanks in advance!