Blazor应用程序 - 错误。未能完成与服务器的协商。错误。被禁止

问题描述 投票:0回答:1

我有一个Blazor App,在本地主机上运行得很好,但是,当我把它部署到服务器上时,我得到了以下错误。

Error: Failed to complete negotiation with the server: Error: Forbidden
Error: Failed to start the connection: Error: Forbidden
Error: Error: Forbidden
Error: Cannot send data if the connection is not in the 'Connected' State.

错误来自于blazor.server.js。

我找遍了所有地方,据我所知,没有这样的错误报告。

asp.net-core blazor blazor-server-side
1个回答
1
投票

原来是防火墙阻挡了它。简单地把它的安全级别改为较低级别就可以了

© www.soinside.com 2019 - 2024. All rights reserved.