Remote VM setup can make Hermes Desktop reconnect endlessly

and LiteLLM were running on an Azure Ubuntu , while ran on a Windows laptop through an . failed to open or stay connected, and the same failure happened more than 100 times in one day.

The desktop log showed connection refused, connection reset, socket hang up, a 15-second backend connection timeout, stale connection removal after a failed , and a GPU crash loop. The likely cause is that delay varied from about 200 milliseconds to 10 seconds, while used an aggressive timeout of about 2.5 seconds.

When that check failed, reset the whole connection, reloaded the GPU and , kept about two CPU cores busy, overheated the laptop, and fell into a reconnect loop. Wi-Fi drops or laptop sleep can also break the and make the same loop happen again.

Key points

  • The setup used an Azure Ubuntu for and LiteLLM, with on a Windows laptop.
  • connected through an and repeatedly failed to stay open or connected.
  • Logs included connection refused, connection reset, socket hang up, backend timeout, failed , and GPU crash loop errors.
  • delay ranging from 200 milliseconds to 10 seconds can clash with a roughly 2.5-second timeout.
  • Wi-Fi drops or laptop sleep can break the and push the app back into a reconnect loop.
Read original