mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
SignalR unable to connect client to server #202
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Shimmy96 on GitHub (Aug 8, 2018).
Currently working on updating my Angular6 SPA application to use real-time sockets via SignalR. Right now, when the client tries to establish a connection with the server (which is an ASP.NET Core application hosted with Electron.NET), the client fails to 'negotiate' with the server. Are there any constraints on the Electron.NET side that is blocking incoming client connections?
Angular connection:
.NET Core 2.1 Server side setup for SignalR:
Error in console:
Debug: Starting HubConnection. Utils.js:158 Debug: Starting connection with transfer format 'Text'. Utils.js:158 Debug: Sending negotiation request: http://localhost:1337/chatHub/negotiate chatHub/negotiate:1 Failed to load resource: the server responded with a status of 404 (Not Found)