Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Error in reconnect function in signalr-0.5.1.js when redirecting page only in IE9 #473

achinth opened this Issue Jun 21, 2012 · 1 comment


None yet
2 participants

achinth commented Jun 21, 2012

I recently updated to SignalR 0.5.1. My webpage uses hubs to when I do a window.location = on the webpage to go to a different web page, browser does not go the new URL and I get the following error (only in IE9):

Line: 926
Error: Unable to set value of the property 'src': object is null or undefined

This is for the line:

frame.src = src;


reconnect: function (connection) {
    var that = this;
    window.setTimeout(function () {
        var frame = connection.frame,
            src = transportLogic.getUrl(connection, that.name, true) + "&frameId=" + connection.frameId;
        connection.log("Upating iframe src to '" + src + "'.");
        frame.src = src;
    }, connection.reconnectDelay);

davidfowl commented Jun 21, 2012

Duplicate of #447. Which is already fixed.

@davidfowl davidfowl closed this Jun 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment