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've recently upgraded Channels to the latest version, and found that WebSocket broke:
2017-02-10 22:22:47,341 ERROR Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/daphne/ws_protocol.py", line 62, in onConnect
self.requestHeaders,
AttributeError: 'WebSocketProtocol' object has no attribute 'requestHeaders'
You can try this out: curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H 'Sec-WebSocket-Version: 13' -H 'Sec-WebSocket-Key: XXXXXXXXXXXXXXXXXXXXXX==' https://tmstreamlabs.cupco.de. Note that this URL is not in the routing configuration, so there is no application code. Valid endpoints also have this problem.
Setup: Separate Docker containers (but same image) for daphne + worker communicating using another Redis container
Daphne is behind nginx, which also strip SSL
Library version:
Channels: 1.0.3
Daphne: 1.0.2
Django: 1.10.5
Twisted: 16.6.0
asgi_redis: 1.0.0
autobahn: 0.17.1
The text was updated successfully, but these errors were encountered:
I've recently upgraded Channels to the latest version, and found that WebSocket broke:
You can try this out:
curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H 'Sec-WebSocket-Version: 13' -H 'Sec-WebSocket-Key: XXXXXXXXXXXXXXXXXXXXXX==' https://tmstreamlabs.cupco.de
. Note that this URL is not in the routing configuration, so there is no application code. Valid endpoints also have this problem.The text was updated successfully, but these errors were encountered: