Arti
Arti

Reputation: 7772

Sentry send notification SystemExit: 1

On web server I'm using Python3.6, Django with Gunicorn and Supervisor. After deploy to server I began to receive notifications from Sentry like this:

Message

SystemExit: 1

Sentry log: https://sentry.io/share/issue/ddd8c6426d68494facfa0bdab9b01a2c/

What can be reason of this?

Upvotes: 4

Views: 4015

Answers (2)

ascendedcrow
ascendedcrow

Reputation: 53

I also had the issue, my solution was that I needed to add the SSL environment var: EMAIL_USE_SSL=True

Upvotes: 1

Ramy M. Mousa
Ramy M. Mousa

Reputation: 5943

It might be too late to answer this. I had the same issue. It turns out to be caused by gunicorn thread timeout for long-running tasks.

To fix the issue add this to gunicorn config file:

--timeout 120

Upvotes: 11

Related Questions