I'm trying to connect to a local socket.io server from python/django using socketIO_client:
def connect() :
socketIO = SocketIO('localhost', 3000)
But I the socket.io console I see this warning warn - websocket connection invalid and from django this message:
WebSocketConnectionClosedException at /crawler/add
No exception supplied
Also when I try to connect to an remote server (not local), everything works well.
What's the problem?