Err http 2 protocol error как исправить

Обновлено: 07.07.2024

This question is locked and replying has been disabled.

Discard post? You will lose what you have written so far.

Subscribe to updates

Notifications are currently off and you won't receive updates. To turn them on, go to Notifications preferences on your Profile page.

Add or remove link

We found the following personal information in your message:

This information will be visible to anyone who visits or subscribes to notifications for this post. Are you sure you want to continue?

For instance, the following scenario happens :

If I remove the code to load the Twitter feed, the error remains

Google Chrome is the only web browser triggering the error: it works well on both Edge and Firefox. (NB: I tried with Safari, and I have a similar kcferrordomaincfnetwork 303 error)

I was wondering if it could be related to the header returned by the server since there is this '200' mention in the error, and a 404 / 500 page isn't triggering anything.

Thing is the error isn't documented at all. Google search gives me very few results. Moreover, I noticed it appears on very recent Google Chrome releases; the error doesn't pop on v.64.X, but it does on v.75+ (regardless of the OS; I'm working on Mac tho).

Findings from further investigations are the following:

Google Chrome header (with error):

Chrome header

Firefox header (without error):

Firefox header

The described behavior is the same as the one I can observe. But that would mean the browser is the culprit, and then I wouldn't understand why it happens on two identical pages with one having a 200 header and the other a 404 (same goes if I disable JS).

I use ReactJS to develop my application, it was fine before, but suddenly this error happens:

I do not know what is happening here, it was fine before. How can I fix this?

7 Answers 7

I am using Visual Studio 2019 and experienced the same problem. This is what I did to resolve it:

Removed 'Microsoft.AspNetCore.SpaServices.Extentions' Nuget package from the project's Dependencies/Packages, and then installed the latest version (Installed 5.0.6)

enter image description here

Cleaned and rebuilt the solution and it started working again.

let me know if it works for you!


I am just curious to know how come you debug this type of problem. How do you get to know that this package is causing problems I wish I remembered the complete answer to your question as I fixed this more than a month ago. I remember some messages in the visual studio terminal hinted me about a possible problem in Nuget packages. It took a whole day for me to find it though! Actually I will say that the best solution would be to uninstall both KB5003637 and KB5003254 as once I did that I was able to continue working as before. There appears to be some bugs in these patches that is breaking IIS express ssl functionality.

This solution does not work for dotnet core. I've tried updating SpaServices.Extensions to the latest version 3.1.16.

A temporarily solution is to disable SSL under Web Server Settings.

My project back to normal after uninstalled the window update patch (KB5003637).

Remove the following update

Security Update for Microsoft Windows (KB5003637)

After removal, it will ask you to restart the computer. It will then install an older security update: probably KB5003173 which won't cause any problems.


709 2 2 gold badges 11 11 silver badges 25 25 bronze badges

I posted this question on Stackoverflow and Barry Pollard suggests me to post it, so let's do it.

I have a search component in my app which works like this:

It contains a minimal Apache 2 configuration (only 43 rows):

And a Javascript script which call the CGI script from the frontend/cancel requests/…:

Two buttons are available in front to execute the start and the stop functions. Thanks to that code, I can reproduce my issue:

Chrome issue

I export Chrome logs (from chrome://net-export/ tools):

And I change Apache logs to the trace level. The only interesting part is the following:

Читайте также: