WalletConnectFlutterV2 icon indicating copy to clipboard operation
WalletConnectFlutterV2 copied to clipboard

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

Open ciripel opened this issue 2 years ago • 7 comments
trafficstars

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.

ciripel avatar Aug 21 '23 17:08 ciripel

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?

Luzzotica avatar Aug 21 '23 19:08 Luzzotica

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

ciripel avatar Aug 21 '23 22:08 ciripel

Hello @ciripel, is this still an issue?

quetool avatar Feb 14 '24 14:02 quetool

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

ciripel avatar Feb 14 '24 14:02 ciripel

Could you try latest 2.1.14 please and let me know?

quetool avatar Feb 14 '24 14:02 quetool

Ok I will let u know after testing

ciripel avatar Feb 14 '24 14:02 ciripel

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!

ciripel avatar Mar 12 '24 15:03 ciripel