-
-
Notifications
You must be signed in to change notification settings - Fork 792
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
Regression from last updates to channels, asgiref, and daphne. #588
Comments
Yes, this looks like a problem with the order enforcement code I didn't pick up during testing. I'll have it fixed today or tomorrow. |
I've landed a fix that should make this work for you and modified the tests so they'll catch it - could you test it out and confirm so I can do a release? |
I will try and test during the day. Thanks for the response! |
Using these instructions, installed latest development version: https://channels.readthedocs.io/en/stable/installation.html#installing-the-latest-development-version Alright, connecting to the server works and it is sending and receiving messages on clients correctly.
|
Ah yes, that's Daphne being a little bit more verbose than before, I need to remove that. Don't worry about it - it's perfectly normal after you disconnect a channel that's still in a group. You might want to add a |
I've just tampered down that logging to DEBUG in the master branch, so it will be gone as of next release. |
Awesome, thanks for the response. Will wait for new release. Thanks for the super quick help! This issue has been solved. |
When running previous code that worked under these specific versions which where upgraded today to newer versions:
channels = "==1.1.1"
asgiref = "==1.0.1"
daphne = "==1.1.0"
to
channels = ""
asgiref = ""
daphne = "*"
The code breaks completely and no websockets requests pass through. When downgrading to previous versions, the original code works excellently and sockets requests pass through the server just fine. The error given is a TypeError:
TypeError: Process-local channel names in receive() must end at the !
This has been replicated in multiple machines. Both running Ubuntu, although different distributions: Ubuntu GNOME 16.04, and Xubuntu 16.04.
The stack trace:
The text was updated successfully, but these errors were encountered: