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

{"type":"WebSocketError","error":{"isTrusted":true}} #743

Open
sobrinho opened this issue Jul 25, 2023 · 4 comments
Open

{"type":"WebSocketError","error":{"isTrusted":true}} #743

sobrinho opened this issue Jul 25, 2023 · 4 comments

Comments

@sobrinho
Copy link

Do you want to request a feature or report a bug?
BUG

What is the current behavior?

{"type":"WebSocketError","error":{"isTrusted":true}}

If the current behavior is a bug, please provide the steps to reproduce and
if possible a minimal demo of the problem via https://jsfiddle.net or similar.

Not sure how to reproduce, here's the backtrace:

Screen Shot 2023-07-25 at 10 52 57

What is the expected behavior?

No errors with events (looks like an event due to the isTrusted).

Which versions of Pusher, and which browsers / OS are affected by this issue?
Did this work in previous versions of Pusher? If so, which?

Screen Shot 2023-07-25 at 10 53 49

Pusher: 8.0.2

@benjamin-tang-pusher
Copy link

benjamin-tang-pusher commented Aug 21, 2023

Could you try testing your phone in our test site test.pusher.com? Is your iPhone's Safari browser able to connect there?

@sobrinho
Copy link
Author

Works fine on my phone but we are seeing this repeatedly in production for a bunch of different users with unstable connections.

@Janiczek
Copy link

Some of our users are hitting this too.

@benw-pusher
Copy link
Contributor

This appears related to some fallback protocols that are used when the websocket connection can't be maintained.
Do you have any insight into the behaviour of the client at the time these errors are encountered? I would be interested to know if the device is able to establish a connection once the network conditions stabilise - it could be that these errors are encountered during the instability, which would be expected to some extent as the connection is severed.

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

4 participants