Blazor应用程序-错误:无法完成与服务器的协商:错误:禁止

时间:2020-06-05 00:09:18

标签: asp.net-core blazor blazor-server-side

我有一个Blazor App,可以在localhost上很好地运行,但是,当我将其部署到服务器时,出现以下错误:

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。

我到处看,据我所知,没有报告这样的错误。

1 个答案:

答案 0 :(得分:1)

结果是,防火墙阻止了它。只需将其安全性降低到较低级别即可达到目的