Open liwenbin1991 opened 7 years ago
Hi, I use python2.7 manage.py runserver 0.0.0.0:8234 to start examples, and then use websocket-client to create a connection:
python2.7 manage.py runserver 0.0.0.0:8234
from websocket import create_connection def test_pubsub_broadcast(): websocket_url = 'ws://192.168.2.214:8234/ws/foobar?subscribe-broadcast&publish-broadcast&echo' ws = create_connection(websocket_url)
Connection can be created successfully, but runserver will immediately restart, if you continue to use this connection to send data will be reported to the wrong:
Connection is already close
django=1.8.14 django-websocket-redis=0.4.7 websocket-client=0.37.0
Hi, I use
python2.7 manage.py runserver 0.0.0.0:8234
to start examples, and then use websocket-client to create a connection:Connection can be created successfully, but runserver will immediately restart, if you continue to use this connection to send data will be reported to the wrong:
django=1.8.14 django-websocket-redis=0.4.7 websocket-client=0.37.0