Mender Troubleshooting Addon: Remote Terminal has unstable connection in certain situations

Hi,

in general the remote terminal works fine for most of our devices in different situations after configuring the mender-connect.conf . However, we have situations where the target device and the machine we are connecting from have slow internet connection (~5mbit/s up down). In those cases, the mender remote terminal often loses connection and closes. In the best case, we can reestablish immediately the connection. In other cases, the “connect terminal” button appears but the terminal stays blank for some time. (Same with the mender-cli)

We try to avoid these scenarios but maybe someone has some ideas.

Thanks!


{
  "ShellCommand": "/bin/bash",
  "User": "nobody",
  "ReconnectIntervalSeconds": 30,
  "Sessions": {
    "StopExpired": true,
    "ExpireAfter": 7200,
    "ExpireAfterIdle": 600,
    "MaxPerUser": 1
  },
  "HealthCheckEnabled": true,
  "HealthCheckIntervalSeconds": 30
}