Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Mobile app not working on http 2 #9524


User avatar
0
ashvinu created

Hello,

we are using ASP.Net Zero version 8.1.0 with ASP.Net core MVC & JQuery. The application has been deployed to windows server 2019 standard and https (h2 protocol).

We are getting the following error when running the Mobile.Droid project.

a problem occurred while trying to communicate with the server. Call failed. stream was reset: PROTOCOL_ERROR GET https://domain/AbpUserConfiguration/getAllguration/getAll

Note that the mobile.droid project works fine with http 1.1.

Please advise.

Thanks and Regards


2 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    this is an issue about Flurl. If you are using Azure, you can change the Azure website back to Http 1.1. Alternatively you can replace the Flurl with the native HTTP Client. Check out https://docs.microsoft.com/en-us/xamarin/xamarin-forms/data-cloud/web-services/rest

    Besides, your HTTPS certificate maybe invalid.


    Also see,

    • https://github.com/tmenier/Flurl/issues/495
    • https://github.com/tmenier/Flurl/issues/385
  • User Avatar
    0
    ashvinu created

    thanks alper.I have implemented the answer proposed by christopheblin at https://github.com/tmenier/Flurl/issues/495 and the issue has been recsolved.

    Regards Kirtee