django-private-chat icon indicating copy to clipboard operation
django-private-chat copied to clipboard

failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

Open valentinc94 opened this issue 5 years ago • 2 comments

  • django-private-chat version:
  • Django version: 2.2
  • Python version: 3.7
  • Operating System: Instance of AWS server

Description

I have a project in production and I already made the devil but when i enter the chat it comes out failed: Connection establishment failed: net :: ERR_CONNECTION_REFUSED

the question is that I have the stage like this

CHAT_WS_SERVER_HOST = '0.0.0.0' CHAT_WS_SERVER_PORT = 8080 CHAT_WS_SERVER_PROTOCOL = 'wss' SESSION_COOKIE_AGE = 12096000

What I Did

if in chat ws_server_host I put the ip of the aws server it gives me an error of address bone that I cannot use it

error while attempting to bind on address ('34. *. *. * ', 8080): cannot assign requested address

and obviously when trying to copy I get WebSocket is already in CLOSING or CLOSED state.

I have tried various solutions but I resort here. I hope for a reply soon, thanks for your help.

valentinc94 avatar Jun 13 '20 16:06 valentinc94

Have you found a solution? I am facing the same issue.

ledzgio avatar Oct 07 '20 16:10 ledzgio

Any solutions?

nortigo avatar Dec 04 '20 18:12 nortigo