Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event problems with JS-client and [email protected] #65

Closed
KillerJulian opened this issue Nov 14, 2023 · 1 comment
Closed

Event problems with JS-client and [email protected] #65

KillerJulian opened this issue Nov 14, 2023 · 1 comment

Comments

@KillerJulian
Copy link

The bug

When I use the JS-[email protected] with a Jetty Server and io.socket/[email protected], I can observe strange behaviour. The client does not receive the events correctly...

It establishes the connection and also sends data:
network_trafic

I have to do some weird workarounds to make the connection work:

// JavaScript
socket.io.on('open', () => {
  socket.onconnect();
});

socket.onAny((data) => {
  console.log('Here comes my data', data);
});

socket.on('message', (msg) => {
  console.log('Here comes no data', data);
});

👀 Ref: socketio/socket.io-client#1597

@KillerJulian
Copy link
Author

Solved in: socketio/socket.io-client#1597

@KillerJulian KillerJulian closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant