The following line of code works fine on emulator but times out when tested on real Android devices The following is my C# code, any suggestion on how to fix the error.
var HttpClient = new HttpClient();
HttpClient.Timeout = TimeSpan.FromSeconds(200);
var response = await HttpClient.GetStringAsync("https://myUrl");