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

Informational question: what might cause assertIsWebsocket to start failing? #241

Open
JoeMattie opened this issue Sep 9, 2024 · 0 comments

Comments

@JoeMattie
Copy link

Hi there, I am using this library on a fairly large project and recently we had an incident where the assertIsWebsocket assertion started failing.

We were unable to track down the cause of the failure, and bypassing the assertion with skipAssertion: true fixed the issue. We suspect that some sort of network change may have been the culprit, but was hoping you might be able to shed some light on what the purpose of the assertion is and why a socket that is NOT an instanceof WebSocket would still be able to function correctly.

Thanks!

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