Re: Sending messages to the group does not work after a few minutes online

2017-08-05 Thread Andrew Godwin
It seems you send "close": True to the group when a connection comes in, which means that only one websocket at a time is going to be open in it (all others in the group will be disconnected when a new one connects) Andrew On Sun, Aug 6, 2017 at 9:48 AM, Luís Antonio De Marchi wrote: > I'm usin

Sending messages to the group does not work after a few minutes online

2017-08-05 Thread Luís Antonio De Marchi
I'm using: Django==1.11.3 channels==1.1.6 When the user connects to the websocket, I do the following: @channel_session def connect(self, message, **kwargs): group = Group('user-%s' % user.uuid) # Do not use more than one device. group.send({"close": True}, immediately=True) grou