Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are these poll requests from SignalR coming from?

I have a SPA application using Durandal.

My program starts to have a http request periodically:

http://localhost:1551/f9750d8f8aa54265835e72d56d23144a/arterySignalR/poll?transport=longPolling&connectionToken=AQAAANCMnd8BFdERjHoAwE%2FCl%2BsBAAAACM1YyjLngEiQsL54ET%2B%2FqwAAAAACAAAAAAADZgAAwAAAABAAAAAyZZfHz09psv64kIgPPwQNAAAAAASAAACgAAAAEAAAABMZImCidzdmb21ehxuGD4IoAAAAbazfW7CYR7y7HKb8JPt9ZH9b6fUDlZao60kBG662Vy%2Fb0IHwkwidthQAAAA1qSqnsCOheiNyXiINEyBPBAkqVg%3D%3D&messageId=d-79160814-B%2C0%7CC%2C4%7CD%2C0&requestUrl=http%3A%2F%2Flocalhost%3A2690%2F&browserName=Firefox&tid=5&_=1391326350868 

I don't know where does it come from? As I remember I haven't added any reference to SignalR or something like.

How can I check what part of my code is generating this request? and then remove it maybe.

The technologies I'm using are:

  • Durandal
  • ASP.NET MVC 4.0
  • Knockout
  • ASP.NET WebApi
like image 533
mehrandvd Avatar asked Feb 02 '14 07:02

mehrandvd


People also ask

Who uses SignalR?

Who uses SignalR? 63 companies reportedly use SignalR in their tech stacks, including ViaVarejo, accuRx, and XYZ Technology.

How do I turn off client SignalR?

SignalR version 2 does not have a built-in server API for disconnecting clients. There are plans for adding this functionality in the future. In the current SignalR release, the simplest way to disconnect a client from the server is to implement a disconnect method on the client and call that method from the server.

How does a SignalR work?

SignalR uses hubs to communicate between clients and servers. A hub is a high-level pipeline that allows a client and server to call methods on each other. SignalR handles the dispatching across machine boundaries automatically, allowing clients to call methods on the server and vice versa.

What does SignalR stand for?

Signals are used for communication (e.g. analog and digital). R stands for real-time. Real-time web refers the ability to have server code push content to the connected clients instantly. Signal R in short refers to Real-time application communication.


1 Answers

This is coming from the browser link feature in Visual Studio 2013 in the Standard toolbar. It is code that allows Visual Studio to interact with browsers running the code, and should only show up when running it in debug mode.

To disable it (until the fix to the issue is made live in an upcoming update), follow the directions in #4 of the msdn page to disable it:

  1. Uncheck "Enable Browser Link" in the Browser Link menu item
  2. Set appSetting "vs:EnableBrowserLink" to "false" in web.config or debug=false.

Or you can just ignore it. It wont do any harm, will only happen locally, and should be fixed soon.

Also see this question and this question.

like image 87
Yaakov Ellis Avatar answered Oct 04 '22 05:10

Yaakov Ellis