waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

[Bug]: No SSH reconnection on waveterm 0.12.5 Linux

Open erezh16 opened this issue 3 months ago • 1 comments

Current Behavior

  1. I open my suspended laptop
  2. I go to the open waveterm window
  3. All terminal blocks with open SSH connections (Selected by menu based on ~/.ssh/config) are frozen. No reconnect button, no auto-reconnect, nothing. Even closing waveterm and re-opening the blocks are still frozen.

Expected Behavior

  1. I open my suspended laptop
  2. I go to the open waveterm window
  3. In a block with open SSH connection I click on "reconnect" and restart connection (not necessarily from the same point - integrating with remote screen or tmux using e.g., wsh would be a killer feature but not there yet). In addition, there could be an automated health-check that detects that the connection is dead and restarts it.

Steps To Reproduce

  1. Linux - Fedora 41
  2. Intel X86_64
  3. wavterm 0.12.5 RPM
  4. Open waveterm
  5. Open one or more terminal blocks
  6. Connect each terminal to a remote SSH connection from ~/.ssh/config
  7. Suspend laptop
  8. Resume laptop
  9. Try to use terminal blocks

Wave Version

v0.12.5

Platform

Linux

OS Version/Distribution

Fedora 41

Architecture

x64

Anything else?

I love waveterm! You guys are certainly on the right track to ruling mainstream terminals!

Questionnaire

  • [ ] I'm interested in fixing this myself but don't know where to start
  • [ ] I would like to fix and I have a solution
  • [ ] I don't have time to fix this right now, but maybe later

erezh16 avatar Dec 03 '25 06:12 erezh16

Hmm.. turns out a reconnect button does appear eventually (few minutes later), but it is not immediately available. This is a usability issue, because the user experiences a frozen app for some time with no other option. I think "Reconnect" should be a permanent button that is always available. If it's invoked on a working connection, it should simply restart it.

erezh16 avatar Dec 03 '25 07:12 erezh16