T
T
Tamerlan-hash2021-07-15 22:05:21
Django
Tamerlan-hash, 2021-07-15 22:05:21

Why websocket disconnects immediately after connecting?

Django 3.2.5, Channels 3.0.4

I don't know if this is an easy question or not, but the websocket closes immediately after opening with error 1011. I think this is a server-side error in consumers.py itself.

60f082ce1edac194825646.png

Here is my code
https://github.com/Tamerlan-hash/helpmewithwebsock...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question