Nukesor / pueue

:stars: Manage your shell commands.
Apache License 2.0
5.09k stars 135 forks source link

[Bug] Early EOF during remote socket connection #543

Closed KitchenTable99 closed 4 months ago

KitchenTable99 commented 5 months ago

Describe the bug

When I socket forward from a linux remote to a mac local, I'm unable to launch the pueue client even though it finds the socket appropriately due to an early EOF while reading the request size header.

Steps to reproduce

  1. Start pueued -d on remote linux server.
  2. Issue the socket forwarding command on local mac ssh -L /tmp/local.socket:/run/user/25800188/pueue_<usr>.socket <remoteHostName> -N
  3. Set the shared.unix_socket_path in thepueue.yml file to /tmp/local.socket
  4. Run pueue

Debug logs (if relevant)

08:41:48 [INFO] Parsing config files 08:41:48 [INFO] Checking path: "/Users//Library/Application Support/pueue/pueue.yml" 08:41:48 [INFO] Found config file at: "/Users//Library/Application Support/pueue/pueue.yml" Error: Failed to initialize client.

Caused by: 0: Failed to receive version during handshake with daemon. 1: I/O error while reading request size header: early eof

Operating system

Remote: Amazon Linux 2 || Local: macOS 13.6.7

Pueue version

v. 3.3.3

Additional context

No response

Nukesor commented 5 months ago

Phew. Did you try whether this also happens when setting up unix socket forwarding from linux to linux?

Nukesor commented 5 months ago

Ping @KitchenTable99

Nukesor commented 4 months ago

Closed due to non-responsiveness