Skip to content

Cannot connect to socket.io server (node) v4.1.2 #15

@massimo-bortolamei-hegias

Description

Tried this repo to connect to my simple node server with socket.io v4.1.2 but I don't get the logs for a successful connection altough the custom test I created says that Socket connection successfully established.
As soon as I downgraded the server to 2.4 I also got the positive log on the server side

io.on("connection", function(socket){
    console.log("connection");
});

Is it possible to adapt this client to have it work with a 4.x server? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions