microsoft / azserialconsole

Azure Serial Console
17 stars 11 forks source link

Suggestion: ability to send keepalives/detect firewall closure better #57

Open russjury opened 5 years ago

russjury commented 5 years ago

Our corporate firewall likes to close connections a bit quickly (1-2 min of "idle"), which Azure Serial Console doesn't detect (so you have to navigate away and then back to the console). Would be nice to have browser send some sort of keep-alive to prevent overzealous firewalls in-between from doing so.

CraigWiand commented 5 years ago

Thanks for your feedback @russjury.

Interesting. The code that runs in the Azure portal does send a keep-alive today (as you describe) at a period of 1/2 a second when the session is connected. Perhaps this is not working in your environment?

If you open Developer Tools in your browser are you perhaps seeing errors that might relate to this?