问题
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