Trying to transfer some data in Sec-websocket-protocol. But the browser breaks the connection with error ----Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no response was received.

108 views
Skip to first unread message

Abhishek Chauhan

unread,
Mar 5, 2019, 1:32:14 PM3/5/19
to Django developers (Contributions to Django itself)
Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no response was received. How can i reply to subprotocol request so that the browser does not give me the above error.

samarth parashari

unread,
Mar 5, 2019, 1:37:06 PM3/5/19
to django-d...@googlegroups.com
Try django channels for websocket and handshaking

On Wed, 6 Mar, 2019, 12:02 AM Abhishek Chauhan, <myc.a...@gmail.com> wrote:
Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no response was received. How can i reply to subprotocol request so that the browser does not give me the above error.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/f845ccd0-ae77-4ba7-aaef-352cc921f431%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Adam Johnson

unread,
Mar 5, 2019, 3:58:30 PM3/5/19
to django-d...@googlegroups.com
This mailing list is for the development. of Django itself, not for support using Django. Please use the django-users mailing list for that, or IRC #django on freenode, or a site like Stack Overflow.


For more options, visit https://groups.google.com/d/optout.
--
Adam
Reply all
Reply to author
Forward
0 new messages