-
-
Notifications
You must be signed in to change notification settings - Fork 536
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
Incompatible with Daphne under ASGI #908
Comments
It looks like you're experiencing the same thing as this report in another of my packages: adamchainz/django-htmx#381 . Would you be able to check out that issue and related PR and maybe test them? Then you or I could make an identical PR here. |
I'll have a look but I can't promise I'll have time to do it this week. |
This is likely affecting all ASGI servers, I'm having the same issue with uvicorn. |
This causes an incompatibility with asgiref < 3.6.0 as Maybe update the dependencies to require at least 3.6.0? |
That was done: 7fe1d62#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R46 What tooling did you use to install an incompatible asgiref with? Can you provide a reproduction? |
Bumping this thread, can't use channels with this package. |
I think this was fixed already back in #911. If you're still having issues with Channels please open a new issue @JPaulMora . |
Understanding CORS
Python Version
3.12
Django Version
5.0b1
Package Version
4.3.0
Description
Getting errors on Django 5 + Daphne ASGI:
settings.py
asgi.py - default from Django
runserver command
I tried removing as many variables as I could but the error only goes away when I remove the CORS middleware.
The text was updated successfully, but these errors were encountered: