Describe the bug
A user had an issue setting up remote connections, and upon solving their initial issue we ran into a serious bug that prevented us from installing Waveshell and subsequently connecting to the remote host.
To Reproduce
Steps to reproduce the behavior (may be hard to reproduce, likely an edge case):
- Create a remote connection manually in "Connections" using key as the authmode.
- Click "Connect Now" on said connection
- User experienced the following errors. Note, I may have misunderstood them and perhaps these two error messages were only one message.
Error message 1:
Installing waveshell v0.5.0 to example
Mshell detected remote architecture Linux.amd64
Error, install failed: no response packet received from client
Error message 2:
prompt> fatal error, this should not happen. if it does, please reach out to us in our discord or open an issue on our github
error: assignment to entry in nil map
stack trace:
goroutine 838 [running]:
runtime/debug.Stack()
/opt/hostedtoolcache/go/1.22.0/x64/src/runtime/debug/stack.go:24 +0x5e
github.com/wavetermdev/waveterm/wavesrv/pkg/remote.(MShellProc).RunInstall.func1()
/home/runner/work/waveterm/waveterm/wavesrv/pkg/remote/remote.go:1187 +0x48
panic({0xa87540?, 0xc09830?})
/opt/hostedtoolcache/go/1.22.0/x64/src/runtime/panic.go:770 +0x132
github.com/wavetermdev/waveterm/wavesrv/pkg/remote.(MShellProc).RunInstall(0xc0003df0e0, 0x0)
/home/runner/work/waveterm/waveterm/wavesrv/pkg/remote/remote.go:1271 +0x5f7
created by github.com/wavetermdev/waveterm/wavesrv/pkg/cmdrunner.RemoteInstallCommand in goroutine 800
/home/runner/work/waveterm/waveterm/wavesrv/pkg/cmdrunner/cmdrunner.go:1702 +0xd8
Expected behavior
Waveshell should have successfully installed the user should have been able to connect to the remote host.
Screenshots
None
Desktop (please complete the following information):
- OS: Linux (Kali)
- Arch: amd64
- Version (unknown)
- Kernel: 6.6.9
- Wave Client: v0.7.1
Additional context
None
Describe the bug
A user had an issue setting up remote connections, and upon solving their initial issue we ran into a serious bug that prevented us from installing Waveshell and subsequently connecting to the remote host.
To Reproduce
Steps to reproduce the behavior (may be hard to reproduce, likely an edge case):
Error message 1:
Error message 2:
Expected behavior
Waveshell should have successfully installed the user should have been able to connect to the remote host.
Screenshots
None
Desktop (please complete the following information):
Additional context
None