dotnet / dotnet/aspnetcore

HTTP2_Protocol_Error when debugging ASP.NET MVC Core from Visual Studio

Open
#42,303 7 comments 0 reactions 0 assignees View on GitHub
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.

![image001](https://user-images.githubusercontent.com/1847996/174629206-d9d5a99d-d492-433f-8262-6727c72725ab.png)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.