Hi,
I'm developing an application with Xamarin Forms 2.3.4.247, Prism 6.3.0 and the CrossConnectivity Plugin for Xamarin.
My application does a lot of http requests, and every time I make one I do this check.
CrossConnectivity.Current.IsConnected
and then
CrossConnectivity.Current.IsRemoteReachable(url)
but sometimes when later executing my http requests to the same URL, I get the error Socket Closed
I'm using System.Net.HttpClient for http requests. The error is random and happens with various hosts. I haven't been able to reproduce the error at will, it occurs erratically.
Is there any way of finding the cause of this error? Does anybody know how to fix it?