signalr-backplane

Signalr using Redis backplane not propagating message

别说谁变了你拦得住时间么 提交于 2021-01-29 18:45:04
问题 I have a .net 4.5 MVC app which I have recently moved over to AWS, so we need to add a backplane to our Signalr implementation. I have followed the steps outlined at https://docs.microsoft.com/en-us/aspnet/signalr/overview/performance/scaleout-with-redis. I have installed the nuget package and my current configuration looks like this: [assembly: OwinStartup(typeof(SignalrBootstrapper))] namespace app { public class SignalrBootstrapper { public void Configuration(IAppBuilder app) { var

Does signalR backplane shares connections also?

元气小坏坏 提交于 2020-01-17 05:16:22
问题 Does signalR backplane shares the connection information also? I mean in case of "longpolling" the connect request goes to one server and start server goes to another server then it gives this error "The ConnectionId is in the incorrect format." I am believing that this error is coming because the instance on which this request is going does not have any information about this connection id. I am using SQL server backplane but still facing this problem. We are not supposed to use sticky

SignalR Broadcast Intercept Using Pipeline Module

人走茶凉 提交于 2020-01-14 02:34:08
问题 I have created a setup where I have a back-end service that is broadcasting messages using SignalR through a SQL backplane and clients are receiving the messages through a MVC 5 + SignalR web application on a web farm. I want to intercept the messages before they get to the client from the web application and make some changes to the message, specifically return HTML to the client instead of the raw data. I have been able to achieve this in a development environment where the messages

SignalR cannot connect to Azure Redis on SSL

99封情书 提交于 2020-01-02 03:40:07
问题 I am currently hosting my redis cache server on Azure, and have signalR relying on it as the backbone using the following... GlobalHost.DependencyResolver.UseRedis("Server",port,"password","eventKey"); This works find on port 6379 (non-SSL) but my chat app breaks when I try to connect to the SSL port (6380) of my Azure Redis server, and the hub is never started. What could be the cause of this issue? Or am I doing something wrong? This is the error that appears on /signalr/connect in my

SignalR combined with load balancer missing messages

柔情痞子 提交于 2019-12-24 07:58:47
问题 I have 2 web servers (IIS 8.5) behind a hardware firewall and our application uses SignalR for some real-time updates. We are using SQL Server as the backplane to help us work in this load balanced environment. Additionally we are using sticky sessions on the load balancer to help us keep the users on the same web server during their session. When we are running in this hardware configuration we lose at least 1/3 of our messages. Sometimes we get all the expected messages but more often than

How reliable is SignalR Backplane?

自闭症网瘾萝莉.ら 提交于 2019-12-23 12:35:17
问题 How reliable is SignalR Backplane regarding to the question if all messages will reach all subscribed nodes? Is it using a reliable protocol underneath or are there chances that a message can get lost? Obviously it can be that (for example) due to some network issues one node is down for some time. When it becomes reachable again, SignalR Backplane will deliver all intermediate messages. This is at least what I understand from davidfowl: [...] This is VERY important! SignalR is NOT reliable

Setup SignalR and Service Bus inside a Azure Service Fabric service

▼魔方 西西 提交于 2019-12-23 03:07:41
问题 I am porting an existing Cloud Service WorkerRole to Service Fabric as a stateless service. The original Cloud Service uses SignalR and Service Bus (as a SignalR backplane), to send notifications out to any client listening. There is a Startup class that does some of the setup: class Startup { public void Configuration(IAppBuilder app) { String connectionString = "Endpoint=sb://[name].servicebus.windows.net/;SharedSecretIssuer=owner;SharedSecretValue=[key]"; GlobalHost.DependencyResolver

Handling concurrent connections in SiganlR

孤街浪徒 提交于 2019-12-13 02:38:25
问题 I am using .Net framework 4.5.2 and I will start to make a notification system that send notifications from web application into users that are connected from windows forms desktop application . after investigations i found that the suitable solution is using signalR as it supports filtering the notification before sending it to the connected clients . but my concern here is that : when i created my HUB class in the web application , i implemented the method OnConnected that will detect any

Signalr client to retrieve missed messages on reconnect

梦想的初衷 提交于 2019-12-11 03:56:48
问题 I would like a user to retrieve messages that they may have missed when they re-connect to the Signalr server. I know I could persist the messages independently of Signalr, keep track of the last message id received in the client and resend the newer messages on reconnect but I was looking at the SqlServer backplane's Messages_0 table which has a Payload and PayloadID and was wondering if there is a more Signalr'y way to get the backplane to do this for me or to extend the backplane to do

SignalR client disconnect causes high thread usage fro IIS

為{幸葍}努か 提交于 2019-12-11 01:42:49
问题 We have a server and clients that are implemented to communicate via signalr. We have implemented scaleout using SQL server and then later with Redis. When connecting more than around 70 clients to the server all the clients are suddenly gets disconnected. Following is the trace logs from the clients. 08:45:09.5481482 - 41219ddc-af97-4738-b75e-07fe6bbd5472 - WS: OnMessage({}) 08:45:19.5763845 - 41219ddc-af97-4738-b75e-07fe6bbd5472 - WS: OnMessage({}) 08:45:29.5868786 - 41219ddc-af97-4738-b75e