WebSocket CONNECT WebSocket DISCONNECT WebSocket CONNECT WebSocket DISCONNECT

27 views
Skip to first unread message

Tommy

unread,
Mar 21, 2017, 10:16:41 AM3/21/17
to Django users
Hi,

I'm setting up a web site using Django group. Websocket are working correctly in local host, i'm got three variable working and displayed in real time on the web page.
When i'm trying to connect from a remote host, everything is working except the websocket. It 's constantly connecting and disconnecting.

Any help or indication to the direction to find the solution would be welcomed!

I've been looking through many forums but can't find a solution to a similar problem

Here is what is displayed from a remote host on the putty console

[2017/03/21 13:20:35] WebSocket CONNECT /MyGroup/ [192.100.1.101:60245]
Someone connected.
Adding new user to MyGroup group
Received!!Connected!
[2017/03/21 13:20:35] WebSocket DISCONNECT /MyGroup/ [192.100.1.101:60245]
Someone left us...
[2017/03/21 13:20:37] WebSocket CONNECT /MyGroup/ [192.100.1.101:60248]
Someone connected.
Adding new user to MyGroup group
Received!!Connected!
[2017/03/21 13:20:37] WebSocket DISCONNECT /MyGroup/ [192.100.1.101:60248]
Someone left us...
[2017/03/21 13:20:39] WebSocket CONNECT /MyGroup/ [192.100.1.101:60250]
Someone connected.
Adding new user to MyGroup group
Received!!Connected!
[2017/03/21 13:20:39] WebSocket DISCONNECT /MyGroup/ [192.100.1.101:60250]
Someone left us...
Someone connected.
[2017/03/21 13:20:41] WebSocket CONNECT /MyGroup/ [192.100.1.101:60252]
Adding new user to MyGroup group
Received!!Connected!
[2017/03/21 13:20:41] WebSocket DISCONNECT /MyGroup/ [192.100.1.101:60252]
Someone left us...
Someone connected.
Adding new user to MyGroup group

Thanks!


Reply all
Reply to author
Forward
0 new messages