'Django websocket connection failure
Websocket is refusing to connect in my project and showing me this message
(index):12 WebSocket connection to 'ws://127.0.0.1:8000/ws/chat/[object%20HTMLScriptElement]/' failed:
When entering the path http://127.0.0.1:8000/chat/wilh/ where (wilh) is just the name of the chat_room, it can be changed with any name, django should connect to websocket and show a starter message that is "hello, world!". but websocket is refusing to connect with that path
here is my project repo link : Repository link
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
