Django channels handshake failed

70 views
Skip to first unread message

shreeh...@gmail.com

unread,
Aug 6, 2020, 1:27:03 PM8/6/20
to Django users
When i try to connect to the socket with js(from chrome console), handshake fails. when i try to connect the same port using websocket-client(python), it connects without any errors.
Can someone please help me with it.

Kunal Solanke

unread,
Aug 6, 2020, 1:55:42 PM8/6/20
to django...@googlegroups.com
Make sure ur cache db is running redis if you are using thay

On Thu, Aug 6, 2020, 22:57 shreeh...@gmail.com <shreeh...@gmail.com> wrote:
When i try to connect to the socket with js(from chrome console), handshake fails. when i try to connect the same port using websocket-client(python), it connects without any errors.
Can someone please help me with it.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2eb92227-ff7c-4054-a482-558f8ff14b9cn%40googlegroups.com.

Damanjeet Singh

unread,
Aug 6, 2020, 2:20:23 PM8/6/20
to django...@googlegroups.com
Please also check security in redis. 

I can confirm chat example in channel working fine for me. 

I have been using redis, channel, django, ajax, and handsontable for multiple users edit same spreadsheet.

Reply all
Reply to author
Forward
0 new messages