SamVanhoutte / cotacol-site

An attempt to learn Blazor, by setting up a Cotacol web site
MIT License
4 stars 4 forks source link

Screen goes blank when corporate proxy doesn’t allow to open an HTTP socket #173

Open modul8com opened 1 year ago

modul8com commented 1 year ago

Maybe the first page should be a real html content page, because Blazor wipes the screen (all text disappears) when the corporate proxy doesn’t allow the HTTP socket to keep open. Or implement a fallback service that does long polling. https://aka.ms/blazor-server-using-fallback-long-polling

modul8com commented 1 year ago

Error: Failed to start the transport 'WebSockets': Error: WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.

blazor.server.js:1 [2022-10-11T11:54:31.181Z] Warning: Failed to connect via WebSockets, using the Long Polling fallback transport. This may be due to a VPN or proxy blocking the connection. To troubleshoot this, visit https://aka.ms/blazor-server-using-fallback-long-polling.