Questions tagged [signalr-client]

26 questions
8
votes
0 answers

Problems with SignalR handshake after moving to AWS fargate behind an application load balancer

Problems with SignalR handshake after moving to AWS fargate behind an application load balancer. Before I had it running on a EC2 instance with nginx which worked fine after following this advice; SignalR in ASP.NET Core behind Nginx. But because…
6
votes
0 answers

SignalR .NET Client cannot complete handshake

I'm using AspNetCore.SignalR 1.1.0 and AspNetCore.SignalR.Client 1.1.0. I have a .NET client (WPF app) that works correctly when connecting to a web application running on localhost, but when I try to connect to the same web application while it's…
Jon
  • 190
  • 2
  • 15
5
votes
0 answers

Azure SignalR Service Connection string

Trying to create a POC for azure signalr service. I found the github samples, which appeared to have some solid examples. I chose this one. Basically, my problem is that when I run the code locally, works like a champ with the localhost url, but…
CodeMonkey619
  • 53
  • 1
  • 3
3
votes
2 answers

SignalR client not working after update to core 3.1

We recently did an update of our code on the server side to asp.net core 3.1. Now there is a problem with the java-script client for signalr (@microsoft/signalr 3.1.0). I get the following errors: The code for the hub initialization: The access…
3
votes
2 answers

How to send message from the js library to a group in Azure SignalR Serverless

Hi I'm trying to send a message to a group using the Azure Signal R Serverless JS Client Js Library. I can do this from the Azure Serverless Function as simply as: await signalRMessages.AddAsync( new SignalRMessage …
pmeyer
  • 890
  • 7
  • 31
2
votes
0 answers

Serverless signalr R doesnt invoke

i am trying to invoke a method on my azure function from a client with signalR serverless. I am establishing a connection that is successful, however when i try to invoke a method from the client it doesn't trigger the breakpoint on the server side.…
2
votes
1 answer

Issue in SwiftUI, Swift SignalR client WebSocket close. Code: 1000

I have been trying to integrate SignalR in my SwiftUI project, Websocket is establishing connection with negotiation response connection and immediately disconnecting within 20seconds. Here are the logs: 2022-06-13T05:17:28.192Z debug:…
2
votes
0 answers

SignalR: Empty Hub Script file

I'm trying to use SignalR for the real time notifications, but I have a problem. The generated script hub file is empty. I have the error at the client: jquery.signalR-2.4.1.min.js:9 Uncaught Error: SignalR: Error loading hubs. Ensure your hubs…
omelmahi
  • 21
  • 3
2
votes
1 answer

SignalR core console client not receiving notifications

I have looked around at some of the Similar questions and didn't figure this problem out. I have a simple Hub in my .NET core Web API project. Here is the Hub: public class NotificationHub : Hub { public async Task…
john
  • 1,273
  • 3
  • 16
  • 41
2
votes
1 answer

SignalR client does not call the reconnecting event when the Server shuts down, or restarts

I created a hubConnection, and added the .WithAutomaticReconnect() so when the connection is lost it will automaticaly reconnect. When testing i wrote the .Reconnecting event, and when i stop the server, the client signalR connection is going…
Pupuc
  • 23
  • 4
1
vote
2 answers

Using aspnet core SignalR client for VSIX project

I have an issue when I try to build connection for SignalR hub from VSIX project. Visual studio 2022 VSIX project: TargetFramework: .Net framework 4.7.2 Signal R lib Lib name: Microsoft.AspNetCore.SignalR.Client version: 7.0.5 //…
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
0 answers

Why SignalR stateChanged callback function hitting multiple times

We have a signalR hub and JavaScript client. when state is changes from connected to disconnected or any state,then callback function hits more time,according to number of previous connections, here is my code: var promise = new…
Asad Noman
  • 11
  • 1
1
vote
0 answers

SignalR State is object when hub used in proxy mode

Im trying to use State of hub connectivity to avoid multiple connect per tab. what ive done so far : var connection = $.hubConnection("/signalr", { useDefaultPath: false }); connection.client = function () { }; var hub =…
Ahad Porkar
  • 1,666
  • 2
  • 33
  • 68
1
vote
0 answers

SignalR-Client-Cpp on Petalinux Throwing "Error in SSL handshake" Exception

I have a Xilinx ZCU106 with a Petalinux build I created that includes an application using SignalR-Client-Cpp. Despite trying a number of things, I'm continually getting an "Error in SSL handshake" exception after calling start() on my…
Terence D
  • 71
  • 5
1
2