wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

Version error connecting to linux multiplexer after automated windows wezterm update

Open Capri205 opened this issue 1 year ago • 1 comments

What Operating System(s) are you seeing this problem on?

Windows, Linux (Oracle Linux 8.9 - formerly Centos8)

Which Wayland compositor or X11 Window manager(s) are you using?

none. headless linux dev server

WezTerm version

20240203_110809_5046fc22

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, tried multiple nightly builds including the latest.

Describe the bug

Windows version was updated to 20240203_110809_5046fc22 overnight, so I updated to the same version on Centos8, however I keep getting the same multiplexer version mismatch error when executing 'wezterm connect dev1', despite both being on the same version. I've tried uninstalling and reinstalling on both platforms (and rebooted both to clear any lingering processes), tried the nightly builds also, but get the same error. I can see the wezterm-mux-server process starting up fine on the centos8 (oracle linux 8.9) server. No errors in its log.

Windows

wezterm --version wezterm 20240203-110809-5046fc22

wezterm-mux-server --version wezterm-mux-server 20240203-110809-5046fc22

Centos8

wezterm --version wezterm 20240203-110809-5046fc22

wezterm-mux-server --version wezterm-mux-server 20240203-110809-5046fc22

wezterm connect dev1 10:46:21.407 ←[31mERROR ←[0m ←[1mwezterm_client::client←[0m > Error while decoding response pdu: decoding a PDU: decode_raw: Corrupt Response 10:46:21.411 ←[31mERROR ←[0m ←[1mmux::connui ←[0m > while running ConnectionUI loop: recv_timeout: channel is empty and disconnected 10:46:21.411 ←[31mERROR ←[0m ←[1mwezterm_client::client←[0m > wezterm cli --prefer-mux proxy: Exited with code 1 10:46:21.411 ←[31mERROR ←[0m ←[1mwezterm_gui ←[0m > Please install the same version of wezterm on both the client and server! The server reported error 'Error while decoding response pdu: decoding a PDU: decode_raw: Corrupt Response' while being asked for its version. This likely means that the server is older than the client. ; terminating

centos8 mux server log:

cat /run/user/11331/wezterm/wezterm-log-3154698.txt 11:24:55.191 WARN wezterm_client::client > While connecting to Socket("/run/user/11331/wezterm/sock"): connecting to /run/user/11331/wezterm/sock. Will try spawning the server. 11:24:55.191 WARN wezterm_client::client > Running: "/usr/bin/wezterm-mux-server" "--daemonize"

If you have any ideas on where to possibly clean up any files on Windows or Linux, or what other information you need or troubleshooting steps I could take, let me know.

To Reproduce

No response

Configuration

no config

Expected Behavior

No response

Logs

No response

Anything else?

No response

Capri205 avatar May 06 '24 15:05 Capri205

Please include the configuration

wez avatar May 09 '24 21:05 wez

Hi. These are the wezterm.lua files for each (redacted user and host). I can ssh over fine using the .ssh/config entry for the Linux host.

[added to OP]

Capri205 avatar May 10 '24 11:05 Capri205

Does wezterm ssh work to reach the destination host? Is there something in your shell startup files on the destination host that might be sending unexpected unconditional output before running commands?

wez avatar May 10 '24 12:05 wez

Ah yes. That was it. There was some errant output from the starship prompt initialization! Thank you so much for narrowing that down to a likely place! Very much appreciated.

Capri205 avatar May 10 '24 12:05 Capri205

Thanks for confirming; I've tweaked the error messaging to hopefully make this easier for folks to discover and resolve without help in the future

wez avatar May 10 '24 13:05 wez

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Jun 10 '24 03:06 github-actions[bot]