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

relayClient automatic reconnect stops after one attempt in v2.1.4. #177

Open
ciripel opened this issue Aug 21, 2023 · 7 comments
Open

relayClient automatic reconnect stops after one attempt in v2.1.4. #177

ciripel opened this issue Aug 21, 2023 · 7 comments

Comments

@ciripel
Copy link

ciripel commented Aug 21, 2023

Describe the bug
relayClient reconnect is not working in 2.1.4.

To Reproduce
Steps to reproduce the behavior:
Start the application and initialize the client normally.
Stop internet connection.
Error will he thrown twice but there is no reconnect of relay anymore.
It was working good in 2.0.15 (the version i had before)

Expected behavior
Relay should try to reconnect like it did in 2.0.15. Or if the reconnect should be handled differently now pls let me know how.

Screenshots
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@Luzzotica
Copy link
Contributor

The logs show it attempting to reconnect when the relay closes with error 1002.
When you say it's not attempting to reconnect, what would you expect the logs to show?

@ciripel
Copy link
Author

ciripel commented Aug 21, 2023

I wanted to be like in 2.0.15 where he tried to reconnect indefinitely till I have access to internet again.

@Luzzotica Luzzotica changed the title relayClient reconnect is not working in 2.1.4. relayClient automatic reconnect stops after one attempt in v2.1.4. Aug 23, 2023
@quetool
Copy link
Collaborator

quetool commented Feb 14, 2024

Hello @ciripel, is this still an issue?

@ciripel
Copy link
Author

ciripel commented Feb 14, 2024

Was it fixed? I did not upgrade my wc flutter package and tested this. I can test it if u want

@quetool
Copy link
Collaborator

quetool commented Feb 14, 2024

Could you try latest 2.1.14 please and let me know?

@ciripel
Copy link
Author

ciripel commented Feb 14, 2024

Ok I will let u know after testing

@ciripel
Copy link
Author

ciripel commented Mar 12, 2024

I did not have time to test this since i am caught up with a lot of other issues atm. You can close this issues if u so desire and if in the future i am noticing this issue anymore i will reopen a similar issue.

Thank you!

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

3 participants