9,827 questions
0
votes
0
answers
72
views
Why getting 404 from SignalR?
I'm sending negotiation call to the following url:
http://localhost:5001/dt-area/notification/negotiate?negotiateVersion=1
and getting response like:
{
"negotiateVersion": 1,
&...
3
votes
0
answers
76
views
SignalR WebSocket are unstable behind Traefik in Swarm
I've been looking for different solutions to this problem, but not results. Please help me understand the root cause.
I have Traefik v3.6 installed in Docker Swarm (Swarm consists of 3 nodes - 1 ...
2
votes
0
answers
43
views
Socket with SignalR and kubernetes
I encountered a problem when deploying a socket application using signalr. I connect with the longpolling method and it still works, but the websocket gives an error: Error: Failed to start the ...
Best practices
1
vote
2
replies
94
views
Callback in ASP.NET Core with auth cookies
We have a strong use case, and I’d like your suggestion on how to solve an issue we're facing.
We built a banking system using ASP.NET Core that allows users to view their accounts.
Here's how it ...
Best practices
1
vote
0
replies
59
views
MacOS client (Remote Desktop Protocol) screen sharing using SignalR
Animations and typing delayed (no WebRTC)
I’m building a Remote desktop app for macOS, where the screen is captured, H.264 encoded, and streamed to a web client using SignalR.
For some reasons I ...
-1
votes
1
answer
75
views
Create Service Broker in SQL Server and send a notification to ASP.NET Core [closed]
I'm trying to config a notification service in SQL Server + ASP.NET Core + Angular project. I am struggling with configuring the SQL Server Service Broker.
Scenario: I have a table that gets rows ...
2
votes
1
answer
66
views
Configure SignalR to work in all views. Which view is currently being viewed, in ASP.NET MVC?
I've implemented SignalR as an add-on to a user-to-user messaging system. I use it to notify the recipient that they've received a message.
This works when the recipient is already viewing their ...
1
vote
1
answer
46
views
How to configure a Blazor InteractiveServer application with SignalR using Kestrel and ClientCertificateMode.RequireCertificate?
Thank you all in advance for productive feedback and ideas to help resolve this.
Problem:
Blazor w/SignalR hub and Client Certificate required throws exception on connection attempt.
My project is a ....
0
votes
0
answers
41
views
Azure Function App not being invoked when called from an Azure App Service
I'm having an issue when using an Azure App Service, Azure Function App and SignalR. I'm using a Dev and Test environment.
The architecture of the environments seem to match each other. The app ...
1
vote
0
answers
51
views
SignalR from JS Angular app to hub on .NET 8 server running in Azure reaching URL/QueryString length limits and getting 404.15 errors
I'm getting errors in the JS client (404), and an error on the server which states that it's probably a 404.15, which is query string too long).
Now, as far as I can ascertain, when using SignalR, the ...
2
votes
0
answers
87
views
Debugging SignalR Redis backplane issues
We have an ASP.NET Core application (scaled out) with SignalR hubs. A Microsoft.AspNetCore.SignalR.StackExchangeRedis Redis backplane is in place using .AddStackExchangeRedis(). Messages are sent to ...
1
vote
0
answers
44
views
No service for type Microsoft.AspNetCore.Routing.IEndpointRouteBuilder has been registered
There is an exception after I run my web app using Orchard Core 2.2.0, EF Core 9.0.3, ASP.NET core SignalR 8.0.10 on .NET 8.0.
The exception occurs in the following code in Program.cs of my web ...
1
vote
1
answer
65
views
Blazor Server SignInAsync works but authentication cookie is not set in browser
I'm building a Blazor Server app with a Minimal API endpoint for login. Everything seems to work server-side:
My CustomAuthenticationStateProvider correctly updates the
AuthenticationState via ...
0
votes
0
answers
71
views
Why there are two SignalR connections created after page refresh?
I've set up SignalR with Next.js 15 to stream real-time data. Everything works fine, but when I refresh the page (Ctrl + R), I notice two SignalR connections being opened.
I already have ...
2
votes
0
answers
106
views
ASP.NET Core SignalR CORS issue: "Request header field X-Requested-With is not allowed by Access-Control-Allow-Headers in preflight response"
I'm facing an inconsistent CORS issue with SignalR in my ASP.NET Core and Angular application. On my machine, the connection works fine in Chrome but fails with a CORS error in Edge. However, for some ...
3
votes
1
answer
71
views
Azure SignalR Service Issue - Messages Not Delivered When API is Hosted in Azure, But Works Locally
I'm facing a weird issue with Azure SignalR Service and could use some help. Here's the setup:
Frontend: ASP.NET Core MAUI Blazor app
Backend: ASP.NET Core Web API
Using Azure SignalR Service
The ...
3
votes
1
answer
141
views
Yet Another 401 Error SignalR, IIS, Blazor server App
My environment looks like this:
.NET 8
Blazor server app
Windows authentication for SSO
IIS Server with web sockets activated and authentication requirements set
The IIS Server and clients all ...
1
vote
0
answers
81
views
SignalR connection fails after deploying .NET MAUI app and ASP.NET Core Web API to Azure
I'm developing a .NET MAUI frontend and an ASP.NET Core Web API backend with SignalR for real-time order notifications. Everything works perfectly when running locally, but after deploying the API to ...
3
votes
0
answers
85
views
Not able to connect to SignalR from Postman
I want to stablish a connection between Postman and my SignalR application. I am having problems with sending messages, I am able to connect to the hub, but not able to send messages from Postman.
...
0
votes
0
answers
40
views
Citrix giving CORS error for Azure Signa R
Error - Access to fetch at 'https://xx-signalr.service.signalr.net/ from origin 'https://xx.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No '...
1
vote
1
answer
405
views
Blazor web app Server .NET 9 throws error: "A valid antiforgery token was not provided with the request"
I use Blazor web app with interactive Server in .NET 9.
Since I'm new and don't fully understand EF Core yet, I partially built my own login page instead of using the default Identity login provided ...
1
vote
1
answer
56
views
Problem with accessing stale Redux state in event handlers
I have a SignalR (WebSocket) server for a game, and a React/Redux client that connects to it. I have a component whose task is to listen to SignalR messages to handle them, which usually involves ...
2
votes
2
answers
126
views
Issue with Publishing messages to Azure signalR from Azure function
I have Azure SignalR service with a "default" mode. I have to use "default" mode since I'm going to connect to this from a set of Blazor server applications as well and I have an ...
1
vote
0
answers
53
views
Project produces exceptions related to Modals after upgrade
I decided to fork a project and improve it for personal use when after upgrading to .NET 8 from .NET Core 3 I noticed an error message when trying to login or sign up:
BlazoredModal requires a ...
1
vote
0
answers
53
views
signalr: Cannot change transports mid-connection
I am running my asp.net application inside docker. In the same docker network I have nginx server, which is gateway.
I am trying to connect my asp.net server using signalr, but I get error: No ...
1
vote
1
answer
78
views
StateHasChanged not re-rendering DOM after SignalR callback
I am working on an application as part of a demo project of things I have learned over the years. This one combines Aspire Orchestration with a Blazor front. Sofar things have been a struggle learning ...
2
votes
0
answers
32
views
SignalR configuration with NGINX CORS
In my .Net backend I have a ApiGateway project that has the following configuration in my Program.cs
app.UseCors(x => x
.AllowAnyMethod()
.AllowAnyHeader()
.SetIsOriginAllowed(origin =&...
-3
votes
1
answer
95
views
Sending and receiving messages from ASP.NET Web API with SignalR [closed]
I have a service that runs on multiple machines behind a router and firewall. I am using SignalR to connect the server behind those devices to a server in the cloud.
I would like to have the client ...
1
vote
1
answer
190
views
Having issue implementing SignalR with Azure Functions in .NET 8
I'm having an issue with configuring SignalR. I'm working with .NET Azure Functions in isolated process model.
Here's the error message I get:
Exception Unable to resolve service for type 'Microsoft....
1
vote
1
answer
97
views
SignalR error. Invalid negotiation response received
I am developing an application on ASP.NET Core Blazor. The application has authorization via cookies. The application uses SignalR to send messages between users.
The application works successfully ...
3
votes
1
answer
213
views
app.MapHub<>() missing from Visual Studio Worker Service Template
I'm trying to create a background worker service that also uses signalr, and is hosted as a Windows service, I'm using .net9.
I started with the VS Worker Service template and the first thing I found ...
0
votes
1
answer
153
views
The circuit failed to initialize error once websocket is connected
I am trying to simply browse the home.razor page of my blazor app. It doesn't have any code in it except displaying the page title. The application is hosted on IIS with one more blazor app which ...
1
vote
2
answers
127
views
SignalRTrigger not working in Isolated mode
I have created an Azure Function with .NET 8.0 in isolated mode to handle my server-less SignalR communication.
I have a negotiate endpoint which works fine. But as soon as I add a SignalR trigger ...
1
vote
0
answers
24
views
Registering SignalR in a multi autofac container project
So I'm doing a modular monolith application where each module has it's own autofac IContainer. The container is set in a static CompositionRoot class like so:
public static class ChatCompositionRoot
{
...
1
vote
0
answers
71
views
SignalR "Hub is not running you cand send messages" when subscribing to account with Python `signalrcore`
I'm working on integrating a real-time trading data feed using SignalR and the signalrcore Python client. I can connect to the hub successfully, and the account discovery API works fine. However, when ...
1
vote
1
answer
58
views
SignalR not working from chineese web-sites hosted in Azure
I have a site deployed in Azure China. The site is called from both web browser clients and node.js clients.
WORKS
Browse the website using Chrome from China
Call the website API from Node.js from ...
1
vote
1
answer
59
views
Blazor SignalR Connection error on published machine only
I have a .NET 8.0 Blazor WASM project which is working locally in both debug and release mode.
However, when I publish the app (as self-contained) - which is running on a Linux docker container with ....
2
votes
0
answers
79
views
How to detect if a user truly left a Blazor Server app (vs. simple navigation)?
I'm working on a Blazor Server app and need to detect when a user actually leaves the application (e.g. closes the browser/tab or loses connection), not just when they navigate between pages.
As you ...
1
vote
1
answer
46
views
socket notification for multiple user for different logical area approach comparison
My app has five tab - Tab1 Tab2 Tab3 Tab4 Tab5 each tab its own logical operation.
using WebSocket notification with api
if user made any change in Tab1 Tab 2 3 4,5 must get notification.
similar ...
1
vote
0
answers
23
views
SignalR cannot connect to hub, when accessed through AGW
We have a web app using SignalR and deployed to an Azure Web App. When accessing the app directly all is working fine. But when accessing it through the AGW it failes (websockests and long polling) 90%...
1
vote
0
answers
62
views
SignalR Service - how to set-up reconnected trigger in Node.js Azure functions
I have a SignalR Service that has Upsteam connection set up to my Azure function app. In Azure functions app I have triggers for handling client connected and disconnected events, that are working as ...
1
vote
0
answers
141
views
.NET 9 Aspire BFF with Blazor and SignalR
I have an API in my Aspire app that maps a SignalR endpoint /messageHub. I have a Blazor web app (InteractiveAuto) that uses a SignalR client to connect to my hub from a razor component page:
var url =...
1
vote
0
answers
66
views
How to force @microsoft/signalr (8.0.7) (Node.js) to use an HTTP(S) proxy for WebSocket connections?
I’m building a Node.js client for an ASP .NET Core SignalR hub using @microsoft/[email protected]. I need all traffic—including the initial /negotiate HTTP request and the subsequent WebSocket—to go ...
3
votes
1
answer
194
views
Vue / Pinia / Typescript calling class instance method in Pinia store results in error
I have a project that utilizes Vue 3 (w/ Composition API), Pinia, Typescript, and SignalR. I'm running into an issue with calling a class instance method from within a pinia store action.
This is the ...
1
vote
1
answer
89
views
starting a signalr stream to serverside iterates over array functions
I build a SPA with angular and hit the problem for message size in signalR, but before increasing and just moving the problem to later, I wanted to split the message with a stream.
it is pretty ...
1
vote
0
answers
52
views
SignalR Client does not connect with Web Socket and Server Sent Events Options but it connects with LongPolling
I used signalr with backend polling as a background service in my .NET web api project. However, when I try to connect to my hub from the client, it throws System.IO.IOExpcetion. I checked if web ...
1
vote
1
answer
50
views
How do you get the connection id from the hub to the serverside controller in .net core
i have this hub in signalr:
using Microsoft.AspNetCore.SignalR;
using System.Collections;
using System.Diagnostics;
namespace BulletControls.Hub
{
public class ForumHub : ...
0
votes
0
answers
73
views
Dependent SignalR scripts not being created with package VS2022 package install
I am supporting an ASP.NET MVC 5-based web project in Visual Studio 2022. I am attempting to add SignalR support, following the instructions at https://enlightsolution.com/asp-net-mvc-5/signalr-with-...
1
vote
0
answers
83
views
Vue SignalR w/ jQuery Project - SignalR events only work on manual refresh in dev server
I have a bazaar issue occurring with my project related to the SignalR events and jQuery. For starters, my client project is built with Vue 3 (w/ Composition API), Vite, Pinia, SignalR w/ jQuery, and ...
1
vote
0
answers
69
views
How can I make a Blazor WebAssembly app that displays real-time data from a SQL database?
I've been trying to figure this out for the past few days, but there doesn't seem to be much available in terms of resources on how to do this. Microsoft has an example of a chat app that updates ...