Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cis-s opened this issue Apr 22, 2019 · 1 comment

Comments

@cis-s
Copy link

cis-s commented Apr 22, 2019

  • django-private-chat version:
  • Django version: 2.1
  • Python version: 3.5
  • Operating System: Ubuntu LTS 16.04

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
Copy link

ridwanray commented Apr 29, 2019

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants