Skip to content

WebSocketConnectionClosedException in socketIO_client #1058

@afshinm

Description

@afshinm

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions