You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Increase the timeout parameter of the server above 30 seconds. It looks like iOS is always behaving as if the server will keep the connection open for 30 seconds regardless of the value provided in the Keep-Alive header. (This can be done for Apache by setting the KeepAliveTimeout option.
2)
You can simply disable the keep alive mechanism for iOS clients based on the User-Agent of your app (e.g. for Apache: BrowserMatch "iOS 8." nokeepalive in the mod file setenvif.conf)
I have not changed the server, it would be best to fix the client.
I got this error after the app is put on and off flight mode:
: System.Net.WebException: The network connection was lost. --->
Steps to reproduce:
The error also happen after the app is restored from background, if i has been inactive.
I use ModernHttpClient like this:
var handler = new NativeMessageHandler ();
var client = new HttpClient (handler);
System.Net.Http.HttpResponseMessage responseMsg = await client.GetAsync (url);
responseMsg.EnsureSuccessStatusCode ();
responseBody = responseMsg.Content.ReadAsStringAsync ();
returnvalue = responseBody.Result;
Do someone have the same problem?
Any solution?
Jørgen
The text was updated successfully, but these errors were encountered: