net::ERR_HTTP2_PROTOCOL_ERROR with jquery XMLHttpRequest on IIS 10 with HTTP2

sysadmined 21 Reputation points
2020-10-31T11:50:41.793+00:00

i have a website www.sampledomain.com developed into .NET Frameowkr 4, hosted on Windows Server 2016 Production with HTTP2 actived by default with UCC SSL Certificate NOT SelfSigned.

This website works fine with http2 and https (TLS1.2) and it integrates same jquery XMLHttpRequest POST versus same-domain ASMX that works fine in HTTP2 and HTTP1.2 (depend on Browser Vailability)

Now, i have to preparare a pre-production twin server to test security and new features. All other website copied to pre-production twin server works fine with HTTPS. There is only this web-application that has problem with XMLHttpRequest, showing the error in Chrome COnsole

POST https://www.sampledomain.com/asmxservice.asmx/getUserLogged net::ERR_HTTP2_PROTOCOL_ERROR  
send @ jquery-1.11.3.min.js:5  
ajax @ jquery-1.11.3.min.js:5  
getUserLogged @ login-bs.js:132  
controlLogged @ login-bs.js:63  
(anonymous) @ login-bs.js:33  
j @ jquery-1.11.3.min.js:2  
fireWith @ jquery-1.11.3.min.js:2  
ready @ jquery-1.11.3.min.js:2  
J @ jquery-1.11.3.min.js:2  

The website has a strict-origin-when-cross-origin as Referrer Policy.

following packet exchange on wireshark

I check SSL certificate and test with another certificate and self seigned certificate, but there aren't changes, only disabling HTTP2 and using HTTP/1.1 works fine with XHR

After same research with decrypting https with wireshark, i have this behavior: RST_STREAM with Max Concurrent Stream to 100

4pFTL.png

and all works fine on a production server

UmQMT.png

there is a way to change Maximum Concurrent Streams or another similar settings to avoid Protocol Error??

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Xiaowei He 9,936 Reputation points
    2020-11-02T07:24:20.623+00:00

    Hi,

    According to your description, it seems to be IIS related issue, if my understanding is correct, please turn to the IIS forum for better help.

    IIS forum link:

    https://forums.iis.net/

    Thanks for your time!
    Best Regards,
    Anne

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. sysadmined 21 Reputation points
    2020-11-02T08:39:00.473+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.