SignalR in dotnet 9 and Angular v19 errors - Websockets issues

Discussão em 'Angular' iniciado por D052057, Março 14, 2025.

  1. D052057

    D052057 Guest

    here is errors from Chrome Debugger's screen:

    [2025-03-14T07:24:52.776Z] Information: Normalizing '/downloadHub' to 'https://127.0.0.1:63349/downloadHub'. Utils.js:148

    [2025-03-14T07:28:52.849Z] Information: (WebSockets transport) There was an error with the transport. chunk-J25FJFZE.js:49

    [2025-03-14T07:28:52.854Z] 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.

    I have no ideas how to resolve this error since SignalR is new to me. I google this issue and tried to correct my code but it doesn't solve anythings.

    My code link is https://github.com/d052057/YtSharp

    Any input leads to solve this issue is very appreciated.

    Thanks.

    Continue reading...

Compartilhe esta Página