Your IPMI Session has timed out

I mange quite a few servers with Supermicro boards. I kind of like them because the out of band management solution on Supermicro is not the worst thing ever. I haven't found any good remote KVM solution yet, but the solution made by ATEN is at least partially usable. That is, unless you log in to the webapplication, only to be kicked out again:

Your session has timed outYou will need to open a new session.

With the only option being the OK button which logs you out immediately. Many people seem to have this problem but there doesn't seem to be a solution. I tried updating the BMC firmware and BIOS, using various browsers, nothing worked.

But if I caught it right before the reload happened I was sometimes able to enter a different submenu - and then I got kicked out to the logout page. So I thought: "What if I suppress the reload by causing a JavaScript exception? Maybe I can stil use the site". And yes, it works! All you need is a way to add userscripts to your browser (I use Tampermonkey with Chrome). Add the following script, just replace 10.0.0.129 with the IP of your IPMI device:

// ==UserScript==
// @name         IPMI Debug
// @namespace    http://tampermonkey.net/
// @version      0.1
// @match        http://10.0.0.129/*
// @grant        none
// ==/UserScript==

window.realalert = alert;
window.alert = function(msg) {
    if(msg.substr(0,12) == "Your session") {
        throw new DOMException(msg);
    }
    if(confirm(msg)) {
        return;
    } else {
        throw new DOMException("Cancel: " + msg);
    }
}

 

 

Neuen Kommentar schreiben