1

Getting following error in xamarin: System.Net.WebException: Error: TrustFailure (A call to SSPI failed, see inner exception.)

Below is my code:

            UserRepository usr = new UserRepository();
            var restClient = usr.RestClient;         //rest client code
            restClient.BaseUrl = StdAppIds.webServerUrl;
            var restRequest = new RestRequest();
            restRequest.Resource = "/GetVersion";
            restRequest.Method = HttpMethod.POST;
            var response = await restClient.ExecutePostAsync(restRequest);  //rest request
halfelf
  • 9,737
  • 13
  • 54
  • 63
  • 1
    @Saamer that is a very bad recommendation for Android and has been for a long time. – Cheesebaron Dec 10 '19 at 13:49
  • My bad, didn't know that. Shubham could you try different "Http Implementation" methods in your android settings and see if it fixes anything? – Saamer Dec 11 '19 at 20:06

0 Answers0