Link to home
Start Free TrialLog in
Avatar of yadavdep
yadavdepFlag for India

asked on

Error while calling api using https from xamrin andriod app

We have xamarin based mobile application and an API which is made in asp.net core hosted in windows azure.

Till last week we have been using an http url for calling the api in the mobile application. for example http://api.xxx.com
Everything was working right.

This week we changed to https://api.xxx.com.
Since then when we build the android app on the actual device we getting this error.

"System.Net.Http.HttpRequestException: An error occurred while sending the request ---> System.Net.WebException: Error: TrustFailure (Authentication failed, see inner exception.) ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner android native xamarin"

Not sure what is causing this error but till now we did not find a solution
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial