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

Retry doesn't succeed after the connection got closed #87

Open
Tbaut opened this issue Aug 1, 2023 · 0 comments
Open

Retry doesn't succeed after the connection got closed #87

Tbaut opened this issue Aug 1, 2023 · 0 comments

Comments

@Tbaut
Copy link

Tbaut commented Aug 1, 2023

Hi,

I've an issue with my WS connection getting closed by the server side from time to time.
I expected the retry mechanism to work in that case, but all it does seems to error out right away. Refreshing my app makes the connection succeed right away though.

Is there a supported way to re-initiate the whole connection and subscription on retry?

FWIW I'm using the beta 2.0.0-beta.1 version with react query v4

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