1,643 questions
0
votes
0
answers
32
views
EKS SignalR Hub - ALB Connection Handling Issue
SignalR hub running as an EKS pod handles 700 VUs via ALB but fails at 720+, yet successfully handles 1000 VUs via kubectl port-forward with 85% free CPU and 43% free memory. This confirms the ...
0
votes
0
answers
26
views
Unable to connect signalr hub with jwt authentication
List item
[2025-11-19T14:03:33.645Z] 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 ...
0
votes
0
answers
33
views
sys.webforms.PagerequestManagerTimeoutException. signalr
i have implemented the SignalR into my project and i have 10k data to upload and it is time consuming because, the background task for insertion will goes on by i can't able to see the real progress
...
3
votes
1
answer
93
views
Is there a way to request a SignalR stream to stop?
I am trying to implement SignalR in a way that allows a client to send a request to the server, which may return a very long message. I need the client to be able to cancel the request if the message ...
1
vote
1
answer
89
views
Trying to send a signalR message to a specific logged in user
BACKGROUND: I have set-up a session cookie management implementation in my ASP.NET Core 8.0 web application, the authentication is cookie based.
When I login to the application first time, the JWT is ...
2
votes
1
answer
217
views
Live Streaming in ASP.NET Core 8 MVC using SignalR
I am creating a one-on-one live streaming functionality.
First I generate the link using Guid.
Open the link in two different tabs and connection is being established in Initiator and Receiver both ...
0
votes
0
answers
96
views
Application insights telemetry initializer not called
Custom telemetry initializer derived from TelemetryInitializerBase does not receive log messages written from within SignalR hub.
It does receive them if ILogger.LogInformation is called from a web ...
2
votes
1
answer
459
views
Why can't I connect a Websocket request from Postman to a .NET application running in a container?
I'm trying to set up a SignalR hub on an application I'm working on. I've done all the setup to get SignalR mapped and started:
builder.Services.AddSignalR();
***********
app.MapHub<MyHub>(&...
1
vote
1
answer
77
views
Configured hub URL not used for Blazor server + SignalR hub
In .NET 9 I've created a default Blazor Web app project and added a SignalR hub that is used for sending notifications between clients.
When one session increments the value for /counter, all sessions ...
0
votes
1
answer
132
views
Not able to connect to Azure SignalR Hub
I could not connect to my Azure signalr service. I've created both app service (web app) and also signalr service. Once after that i deployed my server app into web app. Nevertheless when trying to ...
0
votes
0
answers
42
views
Cant seem the send data to certain group SignalR
Sending information to specific groups is not working
For a school project is was trying to send data to my frontend im working on. However when i try to do that i receive notting. When i change from ...
1
vote
0
answers
29
views
Call SignalR 2 method by name instead of dynamic call with C#
I'm using legacy SignalR 2 on ASP.NET (.NET Framework 4.6.2).
I have my server-side class in which I call a method on the Hub "ReceiveChanges":
LegacyHubContext.Clients.All.ReceiveChanges(...
1
vote
0
answers
171
views
SignalR client keeps sending empty objects messages to server(How to track and log them)
As you can see in the picture, the client keeps sending empty objects messages to the server every 10 seconds, and I want to log these messages.
How can I track it?
By logging these messages, I can ...
2
votes
1
answer
354
views
Why does SignalR fail to bind arguments here?
I am working on a WPF application (the client) that invokes SignalR methods using the .NET SignalR driver like this:
private void TEST_button_Click(object sender, RoutedEventArgs e) {
Global....
3
votes
1
answer
4k
views
Deprecated Microsoft.AspNetCore.SignalR
In my project with .net 8 SignalR is used for data streaming using websockets.
Some time ago I created a prototype of solution using the package Microsoft.AspNetCore.SignalR. However this is announced ...
1
vote
2
answers
210
views
How to configure KeepAliveInterval HubOptions for Azure SignalR Serverless?
Is there a way to configure the KeepAliveInterval option for a SignalR hub when using Azure SignalR Service?
I'm primarily a frontend developer, so I'm not very familiar with the backend setup. We are ...
1
vote
1
answer
284
views
CORS error when accessing a SignalR hub hosted on Azure App Service
I have a .Net Core application running on an Azure App Service instance. The application is a WebAPI that also has a SignalR Hub. Both the backend and the hub are being consumed by a client hosted on ...
1
vote
0
answers
79
views
SignalR: Usage of multiple hubs in one function (passing hub as parameter)
My application consists of several web apps (portals). As an example we take 'customer portal' and 'manager portal'.
Each of these web apps works without dependencies on the other and therefore also ...
2
votes
0
answers
605
views
ASP.NET Core 8.0 SignalR: Successful Connection but No Notifications Received in Client
I am working on an ASP.NET Core 8.0 Web API application and I'm trying to implement SignalR for real-time notifications for the first time. Despite successfully connecting to the SignalR hub, I am ...
1
vote
1
answer
70
views
Getting userName in ProcessErrorAsync handler in azure service bus
I have the following system components:
Azure service bus
IHostedService as background "thread" that listen azure service bus
SignalR host that sends message to a client when ...
1
vote
0
answers
130
views
Facing Memory Leakage issues with SignalR / .NET 6 application
After hosting application on IIS or AKS linux pod when we made connection with specific SignalR hub then we noticed that it's memory get increased automatically after performing the same operation ...
1
vote
1
answer
294
views
Create a SignalR Core in Windows Service and connect it in C# application locally
I have successfully created the SignalR connection in my Windows Service. It's working fine but when I try to connect to it through other Windows Application (.NET 4.8) by using Microsoft.AspDotNet....
4
votes
0
answers
61
views
Issue while catching signalR response
I am encountering an issue with handling SignalR responses in my application. The setup includes a React frontend and .NET services as the backend. The API calls are made using Kafka, which subscribes ...
1
vote
1
answer
128
views
How can I reference the Hub class in a class library? [duplicate]
I see from the documentation that the Hub class is in package Microsoft.AspNetCore.SignalR. However, when I look at the package in NuGet, it says it has been deprecated.
I see that the Hub class comes ...
5
votes
1
answer
157
views
Null Result Issue with SignalRTrigger Functions in .NET8 Upgrade
What version of .NET does your existing project use?
.NET 6
What version of .NET are you attempting to target?
.NET 8
Description
Hi,
I wanted to bring up an issue with the SignalRTrigger solution. My ...
0
votes
1
answer
91
views
Serverless SignalR in Azure Function: Call to InvokeAsync hangs after successful StartAsync
I'm trying to setup an Azure Function with a simple serverless hub I will use to notify web clients. The FunctionApp contains both the serverlesshub (named MyHub below) as well as a client (which will ...
2
votes
1
answer
416
views
Connection ID required when deploying blazor server in different folder
I'm trying to publish / deploy a blazor interactive server application using an Apache server that is serving in different folders.
So, I'm trying to move the application to a specific folder.
For ...
0
votes
2
answers
162
views
Wso2 APIM Web Socket API context
We are using WSO2 API Manager version 4.0.0 to expose a SignalR service implemented in .NET Core. The frontend is built with Angular.
Here is how we have configured the APIs.
WebSocket API:
WSO2 ...
1
vote
1
answer
245
views
How to get an Entra User ID from the SignalR Hub
I'm working on a kind of "notification observer" service which uses SignalR to collect connected users from an Angular application (this app uses Azure Entra as auth). This "observer&...
0
votes
1
answer
158
views
401 with Blazor WASM + SignalR on API connection
Server A hosts a Blazor WASM app.
Server B hosts an API.
All authentication is Windows Auth.
The API provides data to the WASM app, everything works as expected. But what does not work is the SignalR ...
1
vote
0
answers
131
views
C# .NetMaui SignalR Chat App Messaging problem between users
I have created a chat app using SignalR. However, when I send a message, all clients receive it. But I want to enable messaging between two specific individuals. I want to test messaging between two ...
1
vote
0
answers
128
views
Cannot access disposed objects SignalR .NET 8
In my hub, sometimes the problem described occurs, but I can't intentionally provoke it to demonstrate, but I have read about it and maybe there's a fix as I explain at the end.
So on my Hub I have ...
1
vote
1
answer
383
views
How to get MessagePack working with SIgnalR hub
When I try to call my SignalR hub's Chat method I get the error - Error: Failed to invoke 'Chat' due to an error on the server. InvalidDataException: Error binding arguments. Make sure that the types ...
0
votes
1
answer
218
views
How to stream Claude response with SignalR and Claudia in .Net 6
I'm trying to set up a chat using Claude and SignalR. We're in .Net 6 and currently can't upgrade to .Net 8 at this time. I found Claudia which is supposed to support .Net 6 but the sample code won'...
1
vote
2
answers
870
views
SignalR negotiation with multiple server pods (load balancing)
I'm having a problem with SignalR in my .NET app.
There are two steps for connecting the frontend to the socket:
1º Send a HTTP POST request to negotiate(as I'm not skipping the negotiation) with the ...
0
votes
0
answers
272
views
.NetMaui SignalR System.Net.Http.HttpRequestException:
I'm developing a mobile chat app using SignalR in .NET Maui. The chat app works between two emulators and on a Windows machine. However, when I connect my own Android device to the application, I ...
1
vote
0
answers
284
views
IDX10223: Lifetime validation failed. The token is expired- SignalR connection error
I have a client that connects to SignalR. While reconnecting, it uses an old JWT token that has old expiry and continues to throw this error- IDX10223: Lifetime validation failed. The token is expired....
2
votes
1
answer
203
views
A hub cannot call a method on a client with events in SignalR Core
I got a basic Web Application with ASP.Net Core, where I initialized my SignalR hub.
The hub looks like this:
internal class SignalRTransceiverServer : Hub<ITransceiver<DataRecord, List<...
2
votes
1
answer
528
views
Is there an Equivalent to HubName attribute in .NET 8 SignalR?
I have a SignalR Hub (.NET 8) and in order to work properly with proxies on the client I need to set it's name to a lower-case using something like [HubName("hubname")] in previous versions. ...
1
vote
0
answers
76
views
I'm having trouble building a multi-user video chat program with WebRTC and SignalR
I wrote a very simple sample for user communication, but the problem is that when I try to connect more than two people to it, the program doesn't work correctly, and it doesn't show the streams of ...
1
vote
0
answers
52
views
SignalR timer event unsubscribe if user disconnected or browser closed
I am working on a project which is using SingalR to refresh my grid. I am trying to unsubscribe timer event for particular user who got disconnected or closed the browser. Suppose two user connected ...
3
votes
1
answer
208
views
Can I get results from multiple SignalR clients from Hub
I want to implement a SignalR logging, where the server will regularly ping all it's clients for any accumulated logs.
Microsoft isn't exactly clear on this: docs
What I don't understand is if there ...
2
votes
0
answers
106
views
Dynamically define Hub methods in SignalR
Is it possibly to dynamically create Hub methods in SignalR? I want to create some Hub methods that provide completely the same logic, just with different types. Is it possible to dynamically add the ...
0
votes
1
answer
604
views
Serverless signalR: Adding a user to a group and sending a message to the group simultaneously in upstream
I wrote the following code with the hope of adding a user to a group and sending a message to the user's group simultaneously. I can see the connections established per the signalR's blade on my Azure'...
1
vote
1
answer
733
views
Use ASP.NET Core SignalR with Blazor: Error Invalid negotiation response received
I followed the instructions to the T from this link. But I keep getting an error message:
Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer: Warning: Unhandled exception rendering ...
0
votes
1
answer
133
views
Memory Storage for Notifications Service using SignalR
I'm working on a .net 6.0 project using SignalR to send notifications to users.
I wanna store the notifications from users who were disconnected and re-send the notifications to these reconnected ...
0
votes
1
answer
572
views
SignalR hub connection failed while run the android emulator
signalR hub in api project. And frontend i'm using maui app project,
I'm doing chat application through the maui with Signalr concept based.
(Example) User-1 send message to user-2
If send request hit ...
1
vote
1
answer
539
views
How to send Javascript Blob to SingleR hub?
I added a javascript page that would allow the user to record voice using their microphone.
I want to send the recording to a SignalR hub
Here is the javascript code that does the recording and then ...
0
votes
1
answer
534
views
Kubernetes + SignalR / Websockets with Traefik
Edit: I tried scaling down to 1 instance and it still didn't work. Seems the connection to redis is not working as inteded. Removing redis and running instance, signalr is up and running again.
I am ...
2
votes
1
answer
708
views
SignalR: InvalidDataException: Reading 'target' as String failed.'
Trying to implement a chat function in my Blazor Server app with Azure identity platform.
Locally I get the following error:
Connection disconnected with error 'Error: Server returned an error on ...