Base solution for your next web application
Open Closed

Xamarin mobile > Flurl.Http client timeout after switching offline to online #6012


User avatar
0
sedulen created

i am working on a mobile app that needs to support offline mode and i am currently running into an issue with the Flurl.Http client.

So what happen is if you are online, switch to offline and it works fine. But when you switch online again from offline, the Flur client throws a timeout exeception.

Here is a similar issue that I found: https://github.com/tmenier/Flurl/issues/352

has anyone else seen this before? Should i look to swotch from Flurl to the .net native HttpClient?

Thanks!


1 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    can you share your full exception stack. so you get this exception when you 1- online 2- switch to offline 3- back to online 4- boom!

    am I right?! are you making any requests to server when you switch online>offline>online modes?