SignalR/SignalR — Issue #207: SignalR fails resulting in rapid multiple requests
Author: paul1664
Created: 2012-02-24 12:06:09+00:00
State: open

I'm building an app with SignalR and hosting it on Azure. I use the SignalR.WindowsAzureServiceBus code to manage multiple instances as described by Clemens: http://tinyurl.com/7njqpj5

I've uploaded some diagnostics here: http://imgur.com/a/z06bJ

The application starts up fine (usually) and I can interact accordingly.

I see every few seconds a request from the client - I assume this is normal as the response is:

{"MessageId":"1AIAA3YGXwU%3D","Messages":[],"Disconnect":false,"TimedOut":false,"TransportData":{"Groups":["Cards.Web.signalr.CardsHub.ovm8e2"],"LongPollDelay":0}}

If the app idles for around thirty seconds Signalr starts to issue multiple requests per second, resulting in hundreds per minutes and floods the CPU. The response is always empty.

I'm not really sure how to proceed from here. I've adjusted the timeout to 30 seconds (config.ReconnectionTimeout = TimeSpan.FromSeconds(30);)