Questions tagged [azure-signalr]

Questions about the Microsoft Azure SignalR Service

Azure SignalR Service simplifies the process of adding real-time web functionality to applications over HTTP. This real-time functionality allows the service to push content updates to connected clients, such as a single page web or mobile application. As a result, clients are updated without the need to poll the server, or submit new HTTP requests for updates.

246 questions
1
vote
1 answer

unable to send content from client to server using azure functions signalR

we are trying to send content from the client to server using azure functions signalR implementation. however the azure function SendToUser method is not being called. client code: //building connection hubConnection = new…
1
vote
1 answer

Raising multiple signalR triggers from the same Azure Http-triggered Function in isolated process context

The following code snippet has been taken from this Microsoft document: [Function("SignalRFunction")] [SignalROutput(HubName = "chat", ConnectionStringSetting = "SignalRConnectionString")] public static MyMessage Run([SignalRTrigger("SignalRTest",…
Arash
  • 3,628
  • 5
  • 46
  • 70
1
vote
1 answer

Using MessagePack protocol in the context of serverless Azure SignalR services

The following code works fine with my Azure SignalR Services (serverless mode) and I am able to receieve messages/events successfully. var connection = new HubConnectionBuilder() .WithUrl(connectionInfo.NegotiationUrl!, options => …
Arash
  • 3,628
  • 5
  • 46
  • 70
1
vote
0 answers

Unable to send a message to the connected user when signalR trigger raises in Upstream configuration

The following code successfully receives "connected" events from signalR upstream when a user connects, proving that the configuration in .NET 6.0 and dotnet-isolated mode are correct: [Function("OnConnected")] [SignalROutput(HubName =…
Arash
  • 3,628
  • 5
  • 46
  • 70
1
vote
0 answers

How to map signal connection to a user ID? JavaScript serverless

I'm using a serverless JavaScript function app with a default negotiate function and another httpTrigger function called sendMessage. I'm trying to get sendMessage to send signalR messages to a specific client that has a userId (Broadcasting already…
1
vote
0 answers

Signal R # Multiple Azure Function with SPA application?

I have spa application with more then 100 microservices and more then 50 azure functions. I m using Java script with Singlan R library. I have more then 50 azure function so my first question do we really need below code for all 50 function app as…
1
vote
0 answers

Signal R # Adding User Group at Initialize Level?

Hello all how we can add user group when we are establish the connection. I m using https://cdn.jsdelivr.net/npm/@microsoft/signalr@3.1.8/dist/browser/signalr.min.js Library I m initializing connection with below code # let hubConnection = new…
1
vote
0 answers

Azure functions and Web app with Azure SignaR

I'm pretty new to Azure SignalR and SignalR in general, I'm currently using Azure SignalR(default) for my Web App to send simple notifications to React application. Now I need to send same type of messages from Azure function(dotnet isolated) to the…
atopchyi
  • 11
  • 1
1
vote
1 answer

Azure signalR + Azure http trigger - Authorize error when deployed

I have created an Azure SignalR (Serverless) reosurce in azure portal. Then I have created an azure function HttpTrigger locally that references Microsoft.Azure.WebJobs.Extensions.SignalRService. In my azure function I have this code: `public…
1
vote
1 answer

Azure SignalRTrigger not working with Azure Functions

I have created an Azure SignalR Serverless service with Azure Functions. My client is a .NET 6 WPF Application. The negotiate function is working as expected, and the connection gets established succesfully. The CosmosDBTrigger, HttpTrigger and…
PhobosFerro
  • 737
  • 6
  • 18
1
vote
0 answers

AzureSignalR with Xamarin - NegotiateAsync response 401 (Unauthorized)

I am facing an issue that /nagotiate request fails with 401(Unauthorized). Server public void ConfigureServices(IServiceCollection services) { services.AddSignalR(options => { options.EnableDetailedErrors = true; …
Takeo Nishioka
  • 369
  • 2
  • 11
1
vote
0 answers

Azure SignalR Service not working in a ASP.NET App Service

I have a .NET Framework v4.8 app which is deployed on a Azure App Service instance and currently implements local SignalR service. When I tried to scale out the app without setting the ARRAffinity cookie, SignalR messages get lost and sometimes may…
Sebas3552
  • 41
  • 6
1
vote
1 answer

Serverless Azure SignalR + sending message via. HubConnection

I have an Azure SignalR serverless instance; I've created an Azure Function negotiation endpoint which is working as expected. I followed the "negotiation server" guidance provided here to set this up using an isolated Azure…
Curt
  • 58
  • 5
1
vote
0 answers

SignalR client receives Information: Connection disconnected from hub

I created a signalR JavaScript client that needs to communicate with a hosted signalR server (from Playfab). I successfully created the signalR client and connected it with the server, but the problem that I'm facing is that the connection doesn't…
1
vote
2 answers

Azure SignalR Service in .net core app deployed in Azure Kubernetes Service with Angular front end is throwing Error: WebSocket failed to connect

I am trying to run .net core application with Azure SignalR services(free tier). The .net core app is deployed in Azure Kubernetes Service. I have an Angular frontend app that tries to connect to the WebSocket. Below are my configurations in…