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

Does reconnect feature works when backend restarts ? #64

Open
Skrface opened this issue Sep 22, 2023 · 1 comment
Open

Does reconnect feature works when backend restarts ? #64

Skrface opened this issue Sep 22, 2023 · 1 comment

Comments

@Skrface
Copy link

Skrface commented Sep 22, 2023

First, thank you very much for this package.

I have an issue when I restart my backend and the package's reconnection process occurs.
My client logs shows :

  • pings from server
  • connection to server lost
  • reconnection loop
  • connected with new connection id
  • pings from server

Then even if it seams the reconnection did work as expected, I get a 'Connection timed out' from _ClientSocketException in ioclient.dart from package's http package after trying to asynchronously call the /negociate endpoint.

I tried to implement the reconnection myself but the same issue occurs.

Is this something I should handle in a particular way ?

Thanks in advance for any advise.

@MrAzimzadeh
Copy link

Hello, how did you solve the problem?

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