Search code examples
asp.nethttpsinternet-explorer-8signalrlong-polling

Security alert when using "longpoling" connection with SignalR, while in secure connection (HTTPS) | IE8


There is only one problem, I am just getting a "Securty Waring" alert in IE 8 in my SignalR chat application while in HTTPS

enter image description here

I am using longpolling as transport type when in IE8. Its working fine in all other IE browers.

self.Connect = function () {
     hubConn.start({ transport: 'longPolling' }).done(function (result) {
                ///--
     }).fail(function (error) {
                ///--
         alert("error" + error);
     });
}

When I tried fiddler, the security warning appeared with a signalr ajax call as shown below.

enter image description here


Solution

  • Various possibilities of security warning in IE is explained in the below url

    ie7-this-page-contains-both-secure-and-nonsecure-items

    The problem was actually not with the signalr chat and i have detailed the cause of my issue in the url given below.

    Security+warning+in+IE+version+8

    Thanks guys for your support :)

    Best,

    Linto Sebastian