Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Xamarin Android Trustfailure on HttpClient request

$
0
0

I have an App that gets data from a https URL, the GetRequest works fine on my Android phone with Android Oreo and works fine on iPhone emulators/iPhone 6s, but when i try to run it on a device with Android 5 it just gives me HttpRequestException =>

WebException -> TrustFailure (Authentication or Decryption Failed)
IOException -> Authentication or Decryption failed
TlsException -> Invalid certificate received from the server

When i try to get data by running the WebAPI locally on HTTP it works fine.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>