You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have my application deployed with gunicorn and uvicorn workers and for some views I'm getting the following error RuntimeError: Non-thread-safe operation invoked on an event loop other than the current one
However, I'm not running any other event loops, I don't even have async code in my application at the moment. I'm running Django 3.2.7 on Python 3.9, full stacktrace is found below
I've tried it and so far it seems to hold up quite well in local testing.
I'll try remote deployment next!
Many thanks for this, I've been wrecking my head over this for several days
now....
I have my application deployed with gunicorn and uvicorn workers and for some views I'm getting the following error
RuntimeError: Non-thread-safe operation invoked on an event loop other than the current one
However, I'm not running any other event loops, I don't even have async code in my application at the moment. I'm running Django 3.2.7 on Python 3.9, full stacktrace is found below
The text was updated successfully, but these errors were encountered: