I have a react website in which I am trying to connect to SignalR hub on my .net core server via ocelot gateway.
I am unable to connect to hub and get a 404 error "No Connection with that ID". I have only one server instance running and no load balancer is involved.
Even though the negotiate call is always successful.
WebSocket and Server Sent Events are not working at all and on Long Polling, 404 is returned.
Network call logs are:
I have added all possible routes for ocelot. I am out of ideas on what to do now.
I have observed that the connectionId returned in response to the negotiate call is not used to connect to hub and instead the connectionToken value is used as the value for "id" query string parameter.
Problem
I have a react website in which I am trying to connect to SignalR hub on my .net core server via ocelot gateway.
I am unable to connect to hub and get a 404 error "No Connection with that ID". I have only one server instance running and no load balancer is involved.
![Hub Call response](https://user-images.githubusercontent.com/35831655/104721135-3b11fe80-574f-11eb-87b1-df43b330b015.png)
Even though the negotiate call is always successful.![Negotiate Response](https://user-images.githubusercontent.com/35831655/104722709-11a5a280-5750-11eb-8942-f42591c4ae51.png)
WebSocket and Server Sent Events are not working at all and on Long Polling, 404 is returned.![Console logs](https://user-images.githubusercontent.com/35831655/104723199-b7f1a800-5750-11eb-9f71-5c3b1e3919a0.png)
Network call logs are:![Network logs](https://user-images.githubusercontent.com/35831655/104723286-dd7eb180-5750-11eb-9f0c-c17a90a0a1e7.png)
I have added all possible routes for ocelot. I am out of ideas on what to do now.![SignalR Ocelot Routes](https://user-images.githubusercontent.com/35831655/104723486-1fa7f300-5751-11eb-9509-35cd5ceedb0f.png)
I have observed that the connectionId returned in response to the negotiate call is not used to connect to hub and instead the connectionToken value is used as the value for "id" query string parameter.
Specifications