HTTP2_Protocol_Error when debugging ASP.NET MVC Core from Visual Studio
Open
area-networking
investigate
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
Starting Friday, trying to launch an ASP.NET Core MVC app from Visual Studio results in an HTTP2_Protocol_Error.

I have tried this in two different apps. One targets .NET Core 3.1 and the other .NET 5. I tried changing the .NET 5 to .NET 6, but received the same error. I have tried it in VS2019 (V16.11.16) and VS2022 (V17.2.4). I had a Windows update sometime last week (Wed/Thu). I have rebooted multiple times.
I started a brand new MVC project in VS2022, and accepted the self-signed certificate configuration. The new project starts correctly.
Contributor guide
Assessment
This issue has not been assessed yet.