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;
- Django JWT send token via Angularjs
- Can't get MySQL/MariaDB to work with Django 1.10.1 and Python 3.5 on Fedora 24?
- Can't add extra argument to Python(Django) function call
- How to filter objects in admin?
Source:stackexchange.com