Bearle / django-private-chat

(Deprecated - Please check out https://github.com/Bearle/django_private_chat2) Django one-to-one Websocket-based Asyncio-handled chat, developed by Bearle team
ISC License
424 stars 132 forks source link

Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state. #39

Open cis-s opened 5 years ago

cis-s commented 5 years ago

Description

I am trying to run django_private_chat on my aws server.

What I Did

I have run management command run_chat_server on the server with nohup. When I go to chatbox I can see online/offline both status coming of the opponent and when I check JS console I'm getting - "Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state."

nohup python manage.py run_chat_server & Do I need to specify port or something?

ridwanray commented 5 years ago

@cis-s Thanks for the notification I encountered the same error. I am using django version 2.1 Have you been able to fix it.Thanks