[Fixed]-Django times out instead of returning exception

1👍

I figured it out. The firewall wasn’t allowing outbound SMTP connections. Django hung trying to send the email.

0👍

At first I would have increased nginx:

proxy_connect_timeout 300s;
proxy_read_timeout 300s; 

and gunicorn settings:

--timeout 180

Maybe it’s would help to handle some exceptions in log files;

👤KravAn

Leave a comment