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

Upgrade mechanism clarification #351

Closed
qstiegler opened this issue Aug 23, 2022 · 1 comment
Closed

Upgrade mechanism clarification #351

qstiegler opened this issue Aug 23, 2022 · 1 comment

Comments

@qstiegler
Copy link

I'm currently running into timeout issue related to the long polling. While debugging it, I looked into the documentation to see why long polling is used in the first place.

There are two wordings that are tripping me up:

From the user perspective, an unsuccessful WebSocket connection can translate in up to at least 10 seconds of waiting for the realtime application to begin exchanging data

Is it "up to 10 seconds" or "at least 10 seconds"? Those two are seemingly contradicting each other.

Which follows this part

While WebSocket is clearly the best way to establish a bidirectional communication, experience has shown that it is not always possible to establish a WebSocket connection, due to corporate proxies, personal firewall, antivirus software...

This sounds like sometimes it's not possible for the connection to be setup at all. Is it meant in a way that it's just a delay?

I'd be happy to supply a pull request to clarify this in the documentation when anyone has more information on this or can guide me to external links explaining the root cause in more detail 🙂

darrachequesne added a commit that referenced this issue Nov 25, 2022
@darrachequesne
Copy link
Member

@qstiegler you are right, the wording was indeed wrong, this should be fixed by 77e8801. Glad to see that some people are actually reading the documentation 😄

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

2 participants