Blazor服务器端项目不再登录

问题描述:

我有许多Blazor测试项目,直到几天前所有这些项目都可以正常工作.现在,它们都将无法登录并给出以下错误:

I have a number of Blazor test projects all of which were working correctly until a few days ago. Now none of them will login and give the following error:

无法访问此网站 https://localhost:44373/Identity/Account/Login 上的网页可能是暂时的下来,或者它可能已经永久地移到了新的网址.

This site can’t be reached The web page at https://localhost:44373/Identity/Account/Login might be temporarily down or it may have moved permanently to a new web address.

ERR_HTTP2_PROTOCOL_ERROR

ERR_HTTP2_PROTOCOL_ERROR

Visual Studio不会引发任何错误,并且浏览器控制台中也没有错误. (在Edge,Chrome,Opera和Firefox上进行了测试)

Visual studio throws no error and there is no error in the browser console. (Tested on Edge, Chrome, Opera & Firefox)

我随后创建了一个新的默认Blazor应用程序,它具有相同的问题.

I have subsequently created a new default Blazor app and it has the same problem.

Visual Studio 2019 16.5.1版本 .Net核心3.1.3,所有NuGet软件包已更新为最新的3.1.3版本

Visual Studio 2019 16.5.1 .Net core 3.1.3 with all NuGet packages updated to latest 3.1.3 versions

有人能指出我正确的方向吗?

Can anyone point me in the right direction?

aspnet/aspnetcore GitHub存储库中,对此主题也有类似的讨论,事实证明这是特定于OS的问题. 在那种特殊情况下,用户使用的是Windows 10的预览版,并且切换到最新版本后,一切开始起作用.

There is a similar conversation on this very topic in aspnet/aspnetcore GitHub repository, where it turned out to be an OS-specific issue. In that particular case the user was using a preview version of Windows 10, and after switching to the latest release version, things started to work.

这里是对话: https://github.com/dotnet/aspnetcore/issues/20105#issuecomment-603839404

希望这会有所帮助!