我有一个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。
我到处看,据我所知,没有报告这样的错误。
答案 0 :(得分:1)
结果是,防火墙阻止了它。只需将其安全性降低到较低级别即可达到目的