OK, we're narrowing it down. Open public/hub/index.js and look for the following lines:
function onConnectionError() {
window.location.replace("/login");
}
Replace them with:
function onConnectionError(err) {
console.log(err);
}And let's see what gets logged in the console.