AspNetCore.SignalR is not working with angular 7 and .net core 3.1

Shripad Godase 0 Reputation points
2023-04-13T11:04:42.8033333+00:00

Hello there, I have .Net Core 3.1 API application with client side technology as Angular 7 and i am trying to use SignalR with Redis setup like mentioned below
User's image

Angular side User's image

And i am using Group at backend to hold the logged in user like below
User's image

With above setup everything is working fine though when client side tries to reconnect with signalr it gets failed and we are not able to receive any kind of message from backend not sure why. Any help regarding the same is appreciated.
Client side is trying to reconnect with signalr after some time with negotiate call and gets new connection and thats when it starts failing to receive/send message over signalr. We have disabled stickiness for load balancer and target group as well though its not working for single server also. Below is the screenshot showing how signalr is reconnecting and unable to receive messageUser's image

Developer technologies ASP.NET ASP.NET Core
Developer technologies ASP.NET ASP.NET API
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.