Received empty message from server
Since yesterday, I can't access zellij at all. When I try and start the session, the only error I get is Received empty message from server. I've added version and output from log below.
$ zellij --version
zellij 0.34.4
$ tail -f /tmp/zellij-1000/zellij-log/zellij.log
WARN |zellij_utils::ipc | 2023-02-17 07:18:58.152 [router ] [zellij-utils/src/ipc.rs:204]: Error in IpcReceiver.recv(): InvalidMarkerRead(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })
ERROR |zellij_client | 2023-02-17 07:18:58.152 [router ] [zellij-client/src/lib.rs:315]: Received empty message from server
INFO |zellij_client::input_hand| 2023-02-17 07:18:58.600 [input_handler] [zellij-client/src/input_handler.rs:158]: sending done loading
INFO |zellij_client::input_hand| 2023-02-17 07:18:58.600 [input_handler] [zellij-client/src/input_handler.rs:162]: done sent done loading
Update. I installed from cargo-binstall and everything seems to be working again.
I'd initially installed using nix so there might be a problem with that installation process.
might be related to glibc? A default cargo install and cargo-binstall fails for me with the same error but targeting musl works.
solution for me: cargo binstall --targets=x86_64-unknown-linux-musl zellij
❯ ldd --version
ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27
❯ uname -a
Linux dev-icooke01 4.15.0-50-generic #54-Ubuntu SMP Mon May 6 18:46:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I'm also using with nix on NixOS and got the same error but only when I provide the arguments -l compact.
Without the option it's working on my side.
I have the opposite of @tcheronneau, when I use the default layout I get the Received empty message from server error, but when I switch to the compact layout (either with command line option or configuration file) zellij starts normally.
I'm on NixOS as well, using the nixos-unstable channel, with zellij version 0.34.4.
Same version for me forgot to specify.
After an update to zellij, I'm now seeing this error on FreeBSD.
$ uname -iKmoprsU
FreeBSD 14.0-CURRENT amd64 amd64 GENERIC 1400073 1400073
$ zellij --version
zellij 0.34.4
$ zellij
Received empty message from server
$ tail /tmp/zellij-1001/zellij-log/zellij.log
INFO |zellij_client | 2023-02-24 08:56:43.605 [main ] [zellij-client/src/lib.rs:140]: Starting Zellij client!
INFO |zellij_server | 2023-02-24 08:56:43.608 [main ] [zellij-server/src/lib.rs:213]: Starting Zellij server!
INFO |zellij_server::plugins | 2023-02-24 08:56:43.665 [wasm ] [zellij-server/src/plugins/mod.rs:61]: Wasm main thread starts
INFO |zellij_utils::input::plug| 2023-02-24 08:56:43.669 [wasm ] [zellij-utils/src/input/plugins.rs:139]: Plugin 'tab-bar.wasm' exists in the 'PLUGIN DIR' at '/home/ctuffli/.local/share/zellij/plugins/' but is being ignored
INFO |zellij_client::input_hand| 2023-02-24 08:56:43.669 [input_handler] [zellij-client/src/input_handler.rs:151]: sending done loading
INFO |zellij_client::input_hand| 2023-02-24 08:56:43.669 [input_handler] [zellij-client/src/input_handler.rs:155]: done sent done loading
INFO |zellij_client::input_hand| 2023-02-24 08:56:44.201 [input_handler] [zellij-client/src/input_handler.rs:158]: sending done loading
INFO |zellij_client::input_hand| 2023-02-24 08:56:44.201 [input_handler] [zellij-client/src/input_handler.rs:162]: done sent done loading
WARN |zellij_utils::ipc | 2023-02-24 08:56:44.869 [router ] [zellij-utils/src/ipc.rs:204]: Error in IpcReceiver.recv(): InvalidMarkerRead(Error { kind: UnexpectedEof, message: "failed to fill whole buffer" })
ERROR |zellij_client | 2023-02-24 08:56:44.869 [router ] [zellij-client/src/lib.rs:315]: Received empty message from server
$
Similar to @kotatsuyaki , using compact layout allows zellij to run.
I'm experiencing the same error on NixOS (nixpkgs commit 806075b). After printing Loading Zellij and Querying terminal emulator for default colors and pixel/cell ratio...done on the top left corner, zellij terminates immediately with the message Received empty message from server.
$ uname -a
Linux pc 6.1.13 #1-NixOS SMP PREEMPT_DYNAMIC Wed Feb 22 11:59:56 UTC 2023 x86_64 GNU/Linux
$ zellij --version
zellij 0.34.4
$ zellij
Received empty message from server
$ tail /tmp/zellij-1000/zellij-log/zellij.log
INFO |zellij_client | 2023-02-28 22:41:32.860 [main ] [zellij-client/src/lib.rs:140]: Starting Zellij client!
INFO |zellij_server | 2023-02-28 22:41:32.862 [main ] [zellij-server/src/lib.rs:213]: Starting Zellij server!
INFO |zellij_server::plugins | 2023-02-28 22:41:32.913 [wasm ] [zellij-server/src/plugins/mod.rs:61]: Wasm main thread starts
INFO |zellij_client::input_hand| 2023-02-28 22:41:32.913 [input_handler] [zellij-client/src/input_handler.rs:151]: sending done loading
INFO |zellij_client::input_hand| 2023-02-28 22:41:32.913 [input_handler] [zellij-client/src/input_handler.rs:155]: done sent done loading
INFO |zellij_utils::input::plug| 2023-02-28 22:41:32.914 [wasm ] [zellij-utils/src/input/plugins.rs:139]: Plugin 'tab-bar.wasm' exists in the 'PLUGIN DIR' at '/home/akitaki/.local/share/zellij/plugins/' but is being ignored
INFO |zellij_client::input_hand| 2023-02-28 22:41:33.413 [input_handler] [zellij-client/src/input_handler.rs:158]: sending done loading
INFO |zellij_client::input_hand| 2023-02-28 22:41:33.414 [input_handler] [zellij-client/src/input_handler.rs:162]: done sent done loading
WARN |zellij_utils::ipc | 2023-02-28 22:41:33.995 [router ] [zellij-utils/src/ipc.rs:204]: Error in IpcReceiver.recv(): InvalidMarkerRead(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })
ERROR |zellij_client | 2023-02-28 22:41:33.995 [router ] [zellij-client/src/lib.rs:315]: Received empty message from server
Using compact mode by zellij -l compact works.
Can reproduce here as well, also on NixOS.
Can reproduce here as well, also on NixOS.
Same here.
Also on NixOS. Only fails with compact layout.
It's really weird that for some people it's the default layout that doesn't work and for some it's the compact one...
On NixOS I made it work again by removing the cache folder.
rm -rf $HOME/.cache/zellij
Went back to normal after that.
@tcheronneau this fixed the issue for me too - thanks.
I'm using nixpkgs#zellij on Darwin. The cache dir is $HOME/Library/Caches/org.Zellij-Contributors.Zellij. By removing it, the compact layout works again. Thanks!
On NixOS I made it work again by removing the cache folder.
rm -rf $HOME/.cache/zellijWent back to normal after that.
This fixed my issue as well. Thanks @tcheronneau !
Can confirm! Also fixed it for me!
I'm using nixpkgs#zellij on Darwin. The cache dir is $HOME/Library/Caches/org.Zellij-Contributors.Zellij. By removing it, the compact layout works again. Thanks!
Can confirm this worked for Darwin
On NixOS I made it work again by removing the cache folder.
rm -rf $HOME/.cache/zellijWent back to normal after that.
This fixed it for me too on NixOS, thanks @tcheronneau!
On NixOS I made it work again by removing the cache folder.
rm -rf $HOME/.cache/zellijWent back to normal after that.
Can also confirm. Thanks. We should probably open a separate issue for detecting when the Zellij cache is in an invalid state, and resetting it if it is.
I'm using nixpkgs#zellij on Darwin. The cache dir is $HOME/Library/Caches/org.Zellij-Contributors.Zellij.
By removing it, the compact layout works again. Thanks!
I've tried this and cannot for the life of me get the strider plug-in to run 😩 Just keep getting the same server message.
0.39.2 and I'm seeing this on Ventura. Also checked #3604
Same on Sonoma Macos.
same issue here