signalrRelated issues-Collection of common programming errors


  • BenSwayne
    c# ajax asp.net-mvc signalr
    I have an ASP.NET MVC3 application.If my application had a large number of users – let’s say 100,000 – hypothetically, if all users were talking to each other and I used SignalR, would there be 100,000 long polling connections? Would these cause some sort of denial of service? Should I be using AJAX HTTP instead? Or would SignalR be smart enough to release the connection to resource pool when no activity is found for certain period of time? When would using signalR for chat be recommended for ch

  • LJS_27
    android phonegap signalr sencha-touch-2.1
    I am trying to connect to SignalR from within a native Android app using Sencha Touch 2.1 and PhoneGap 2.5.0.Here is what I have so far:My SignalR server is an ASP.NET MVC3 application running on Windows Server 2012. Cross Domain access has been enabled in global.asax.vb.Global.asax.vbSub Application_Start()Dim config As New HubConfigurationconfig.EnableCrossDomain = True ‘Allow cross domain (for native apps)RouteTable.Routes.MapHubs(config)AreaRegistration.RegisterAllAreas()RegisterGlobalF

  • Jad KJK
    safari signalr
    I have a web application which is implemented using mvc 4 , jquery mobile (.net framework 4.5) and hosted on IIS 8.0 with websockets enabled.When I try to access the website using safari or chrome on my ipad with ios7, the pages that are using SignalR connect to the hub using websockets (no spinning loader is showing).However when enabling windows authentication, I have first faced the following issue: the authentication popup keeps showing multiple times even though credentials are entered corr

  • Agzam
    asp.net-mvc-3 .net-4.0 signalr signalr-hub signalr.client
    This thing is dragging me nuts. I have a .net 4.0 console app and I have an MVC web app. javascript clients can connect and talk to the server – no problems here… but my .net client throws System.AggregateException with InnerException = “Unexpected character encountered while parsing value: <. Path…so I created an empty MVC3 app, added SignalR libraries, and .net client surprisingly connects to that. But for some reason it doesn’t to the other one. I’ve checked everything, both MVC3 apps

  • Leniel Macaferi
    .net signalr signalr-hub
    We have a SignalR hub called StatusUpdateHub. This hub is updated by a .NET client called HubClient. This client will be (in production) called about 1000 times per second by multiple users for different transactions. Here is the client code:public static class HubClient {private static readonly string statusUpdateUrl = ConfigurationManager.AppSettings[“StatusUpdateUrl”];private static readonly HubConnection connection = new HubConnection(statusUpdateUrl);private static readonly IHubProxy hub =

  • michael moore
    signalr signalr-hub
    I have simple project, where I’m using signalR, When page loads, signalR scripts are loaded succefully, however right after that, call to http://localhost:24634/signalr/signalr/connect?transport=foreverFrame&connectionId=dca2db9c-b16a-4b96-96dc-9a6b187b6d9e&connectionData=[{“name”:”notifier”}]&tid=5&frameId=1returns 500 Internal Server Error, I checked this request in fiddler, error message saysUnexpected end when deserializing object.Here’s my Hub Definitin[H

  • RobVious
    signalr signalr-hub
    I’m trying to set up a .Net client to send messages to my signalR hub from my service layer. I’m following this guide: http://www.asp.net/signalr/overview/signalr-20/hubs-api/hubs-api-guide-net-client#callserverThis is what I have: _hubConnection = new HubConnection(_baseUrl); // “http://localhost:3806″_hubProxy = _hubConnection.CreateHubProxy(“AppHub”);_hubConnection.Start().Wait();The hub lives inside of the same project – it’s an MVC application with forms authentication. I can never get pa

  • Cshift3iLike
    ssl websocket signalr
    I’m getting 500 error when running SignalR on secure websocket when running on IIS Express. Site is running on localhost:44300 with default cert. It works just fine with longPolling.When changing to webSockets, I’m getting following error:WebSocket connection to ‘wss://localhost:44300/signalr/connect?transport=webSockets&connectionToken=’ failed: Unexpected response code: 500 If the error is due to self-signed cert, how do I disable it with SignalR and websockets?Or could it be caused by so

  • ElHaix
    iis-7 configuration signalr
    I have a SignalR application running in production, where the enter code here Requests Current value exceeded 5000, rendering a 503 Service Unavailable error. So I updated the Aspnet.config with the following to increase the Requests Current value<?xml version=”1.0″ encoding=”UTF-8″ ?> <configuration><system.web><applicationPool maxConcurrentRequestsPerCPU=”20000″ maxConcurrentThreadsPerCPU=”20000″ requestQueueLimit=”20000″ /></system.web><runtime><legacyU

  • Sant14
    asp.net visual-studio-2012 signalr
    I am trying to create a chat application but after successful build of the web app its catching an exception when i am passing the paramaters for chat.The exception is0x800a139e – JavaScript runtime error: SignalR: Connection must bestarted before data can be sent. Call .start() before .send()The screen shots are attached here

Web site is in building