-
-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interface asgi error with django #80
Comments
@Hisham-Pak is that granian 0.4.2? if so, can you make a try with 0.3.2? |
@gi0baro works fine with 0.3.2 |
It seems the loop optimisations introduced with 0.4 do not play well with how Django uses contextvars. I gonna release a 0.4.3 in the following days with an option to disable 'em, in the meantime you can pin 0.3.2. I'll consider to turn those optimisations off by default in next minor, but let's see how it goes. |
0.4.3 will be available shortly. You should be able to use ASGI on django adding a |
Great project, was trying to run with django got some error
logs
Here's how I run granian
and here's my
asgi.py
Runs perfectly fine with uvicorn, daphne or nginx unit. Also runs fine with granian's wsgi interface.
The text was updated successfully, but these errors were encountered: