SignalR negotiation with hub returns 200 but https://<servicename>.service.signalr.net returns 403
I'm using Signalr for websocket communication with my Angular app which uses "@microsoft/signalr" npm package, the connection is established and messages are passing through, however, in about 10% of the time, establishing the communication…
How to fix the exception System.Net.Http.HttpRequestException: The SSL connection could not be established
we have SignalR and SignalR.Client libraries used in our project to establish the connection between the client and the server. The services are .NET applications and the client is a mobile application which is also a .NET application. I am got the…
How to check if a SignalR Active Connection is still active or not within .Net8 Isolated SignalRTrigger Azure Function App
Earlier we were using InProcess and hence we had a refrence of InvocationContext which was working fine to check if the signalR connection is active or not to perform our own business logic. The same snippet follows below. if (await…
Attempt to send message from Azure Function to Azure SignalR fails with 403 forbidden
Hi, I'm using Azure SignalR in serverless mode. I've an Azure Function which receives events from Event Hub and sends messages to Azure SignalR. [Function(nameof(EventHubEventsHandler))] [SignalROutput(HubName = "userevents",…
Solution: Custom SignalR Endpoints (Hubs) in a Blazor Server Application using Azure B2C When Deployed to Azure
Posting this in case I need it myself... Issue: Using custom SignalR endpoints (for example a /chat hub) with Authentication in a Blazor Server application that uses Azure B2C will not work when deployed. It will work fine on your local machine (using…
Encountering 'WebSocketException (0x80004005): The server returned status code '404' when status code '101' was expected' when signalr client starts a hub connection.
We have a .net core signalr client trying to establish a connection to signalr hub web application and a signalr service. The client successfully connects to the hub and signalr service, but fails when attempting to start the websocket transport to the…
Azure Functions v4 signalR connection
Hi. I am migrating our app from azure functions v3 to v4. I need to migrate the signalR negotiate trigger. In the documentation there is described the old way for v3, i need to know how to migrate it to…
Can't stop SignalR service ?
Hi there, I've been charged ~$50 for the SignalR service that I barely use. Is there a fixed price? Why can't I stop the service and only start it when needed?
Sometimes SignalR is not working properly
Dear Team, In my application, we have used ASP .Net web application as a server and Javascript as a client Side. we have to use signalr notification with various usecases like message nofication, active users notification and logout notification. We have…
How to understand unexpected high traffic
Scenario: We have several servers (service plan) and 2 gateways that communicate with the servers. We are having problems with external traffic to a specific server where an exceptionally large amount of external traffic is being generated occasionally…
Exploring SignalR: Creating a Hub and Establishing Connection via REST API
I am developing a project where I am extensively using REST APIs. I am curious to know how to integrate SignalR with REST APIs, specifically, where I should create a Hub. Should the Hub be a part of the REST API or a separate configuration within my…
error when setting up cosmos db in Enable automatic updates in a web application using Azure Functions and SignalR Service
Get the following error when running the azure function locally, anyone got any tips on how to solve this? Executing 'Functions.getStocks' (Reason='This function was programmatically called via the host APIs.',…
How to reference BlazorSignalRApp in a VS-Solution and start BlazorApp from console program
I have a solution, which contains the SignalR-Tutorial project (SignalR-Chat) and a project which is basically a console application. In the BlazorSignalRApp I created a static function called 'StartServerAsync' which is starting the web application.…
How to resolve the error "the type 'SecurityTokenDescriptor' exists in both" in C# code?
public string GenerateClientAccessToken(string hubName, string userId = null, IList<Claim> claims = null, TimeSpan? lifeTime = null) { var tokenLifetime = lifeTime ?? TimeSpan.FromHours(1); // Default lifetime is one hour var claimsIdentity…
Isolated worker process to send message with SignalR
[Function(SendMessageToUserFunctionName)] [SignalROutput(HubName = "SignalRHub", ConnectionStringSetting = "AzureSignalRConnectionString")] public async Task<SignalRMessageAction> SendMessageToUserAsync( …
Not receiving message in Client side (Signalr)
JavaScript -> connection = new HubConnectionBuilder().withUrl(( connection.on("CampaignMessage", (message) => { this.showPopup(message); }), Azure Function (Isolated worker-process) -…
Notify clients after Azure Storge Blob has been updated
We're seeking the most suitable Azure service for a specific scenario, which proves challenging due to the extensive range of options available within Azure. Our goal is to have hundreds or even thousands of clients (C++ clients) respond to a certain…
Getting CORS from Angular client when connecting .Net6 API for Azure SignalR service in default mode.
I am using Anular10, Azure SignalR service in Default mode and .Net6. API is connecting with connectionstring and return is Success. When Angular is connecting to API endpoint, it is showing CORS error. I have used .Net AzureSignalRSDK package and…
How to use SSL encryption and achieve communication between the client and server of SignalR with C#
I'm new for SignalR and I have one application using C#. The basic connection code for the SignalR client and server implemented by the Net Framework is as follows: Client using Microsoft.AspNet.SignalR.Client; namespace WinFormsClient { public…
What's the pricing of SignalR?
Dear all, I cannot find the answer how I would be charged for sending one message from SignalR to 100k endpoints. If Microsoft will charge me for 100k messages or just for 1 message?