stephenmcd/django-socketio

AttributeError: 'NoneType' object has no attribute 'session_id'

Closed this issue · 1 comments

I use the following code to create connection with socket server:

# -*- coding: utf-8 -*-
import websocket

ws = websocket.WebSocketApp('ws://127.0.0.1:9000/socket.io')
ws.run_forever()

And receive error:

AttributeError: 'NoneType' object has no attribute 'session_id'

Duplicate of #7