sefidgaran / signalr_client

A Flutter SignalR Client for ASP.NET Core
https://pub.dev/packages/signalr_netcore
MIT License
71 stars 111 forks source link

Does reconnect feature works when backend restarts ? #64

Open Skrface opened 11 months ago

Skrface commented 11 months ago

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 :

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.