When i host the application in the server it checks for the server side events and falls back to long polling always. The server hosting environment is Windows Server 2012 R1 and IIS 7.5
Is there anyway if we can solve this issue?
https://cloud.githubusercontent.com/assets/9750273/5050991/2f4cb262-6c59-11e4-9e35-db06b432d470.png
IE10, Chrome 38.0.2125.111 and Firefox.. In all the 3 browsers i am getting long polling, server sent events is cancelled. As i understand few of them had told if the server is behind a proxy and firewall then server sent events may not work. Since the site is in production server i do not have any control on it.
What are the possibilities to cause this issue? How to debug the same?
Microsoft has a blog post about getting SignalR working in Server 2008 R2 with IIS 7.5. The directions are likely similar.
Here's how you do the RAMMFAR setting.
I don't think it's necessary to add the json2.js library reference. But here's the meta tag that you should place in your web pages in the head:
For the application pool in IIS, use integrated mode, not classic. And of course, use .NET 4.0.