zed-industries/zed · error

Remote binary path not set

Error message

Remote binary path not set

What it means

Raised in ssh start_proxy when remote_binary_path is None for the SSH connection: the location of the zed remote server binary on the host was never resolved (e.g. download/install step skipped or failed), so the proxy launch command cannot be constructed.

Source

Thrown at crates/remote/src/transport/ssh.rs:477

            );
        })
    }

    fn start_proxy(
        &self,
        unique_identifier: String,
        reconnect: bool,
        incoming_tx: UnboundedSender<Envelope>,
        outgoing_rx: UnboundedReceiver<Envelope>,
        connection_activity_tx: Sender<()>,
        delegate: Arc<dyn RemoteClientDelegate>,
        cx: &mut AsyncApp,
    ) -> Task<Result<i32>> {
        const VARS: [&str; 3] = ["RUST_LOG", "RUST_BACKTRACE", "ZED_GENERATE_MINIDUMPS"];
        delegate.set_status(Some("Starting proxy"), cx);

        let Some(remote_binary_path) = self.remote_binary_path.clone() else {
            return Task::ready(Err(anyhow!("Remote binary path not set")));
        };

        let mut ssh_command = if self.ssh_platform.os.is_windows() {
            // TODO: Set the `VARS` environment variables, we do not have `env` on windows
            // so this needs a different approach
            let mut proxy_args = vec![];
            proxy_args.push("proxy".to_owned());
            proxy_args.push("--identifier".to_owned());
            proxy_args.push(unique_identifier);

            if reconnect {
                proxy_args.push("--reconnect".to_owned());
            }
            self.socket.ssh_command(
                self.ssh_shell_kind,
                &remote_binary_path.display(self.path_style()),
                &proxy_args,
                false,

View on GitHub (pinned to f4178619ac)

Solutions

  1. Ensure the remote server is installed on the host before connecting
  2. Retry the connection to complete binary resolution
Defensive patterns

Strategy: type-guard

When it happens

Trigger: Thrown at crates/remote/src/transport/ssh.rs:477 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of zed-industries/zed@f4178619ac (2026-08-20). Data as JSON: /api/errors/514e854deedea809. Report an issue: GitHub.