Blazor server side projects no longer log in

只愿长相守 提交于 2020-04-17 21:14:54

问题


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:

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

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

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

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?


回答1:


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.

Here is the conversation: https://github.com/dotnet/aspnetcore/issues/20105#issuecomment-603839404

Hope this helps!



来源:https://stackoverflow.com/questions/60891885/blazor-server-side-projects-no-longer-log-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!