{"record":{"id":"514e854deedea809","repo":"zed-industries/zed","slug":"remote-binary-path-not-set-514e85","errorCode":null,"errorMessage":"Remote binary path not set","messagePattern":"Remote binary path not set","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/remote/src/transport/ssh.rs","lineNumber":477,"sourceCode":"            );\n        })\n    }\n\n    fn start_proxy(\n        &self,\n        unique_identifier: String,\n        reconnect: bool,\n        incoming_tx: UnboundedSender<Envelope>,\n        outgoing_rx: UnboundedReceiver<Envelope>,\n        connection_activity_tx: Sender<()>,\n        delegate: Arc<dyn RemoteClientDelegate>,\n        cx: &mut AsyncApp,\n    ) -> Task<Result<i32>> {\n        const VARS: [&str; 3] = [\"RUST_LOG\", \"RUST_BACKTRACE\", \"ZED_GENERATE_MINIDUMPS\"];\n        delegate.set_status(Some(\"Starting proxy\"), cx);\n\n        let Some(remote_binary_path) = self.remote_binary_path.clone() else {\n            return Task::ready(Err(anyhow!(\"Remote binary path not set\")));\n        };\n\n        let mut ssh_command = if self.ssh_platform.os.is_windows() {\n            // TODO: Set the `VARS` environment variables, we do not have `env` on windows\n            // so this needs a different approach\n            let mut proxy_args = vec![];\n            proxy_args.push(\"proxy\".to_owned());\n            proxy_args.push(\"--identifier\".to_owned());\n            proxy_args.push(unique_identifier);\n\n            if reconnect {\n                proxy_args.push(\"--reconnect\".to_owned());\n            }\n            self.socket.ssh_command(\n                self.ssh_shell_kind,\n                &remote_binary_path.display(self.path_style()),\n                &proxy_args,\n                false,","sourceCodeStart":459,"sourceCodeEnd":495,"githubUrl":"https://github.com/zed-industries/zed/blob/f4178619acd0d47ea1f76a2025c42962c6d6638c/crates/remote/src/transport/ssh.rs#L459-L495","documentation":"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.","triggerScenarios":"Thrown at crates/remote/src/transport/ssh.rs:477 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure the remote server is installed on the host before connecting","Retry the connection to complete binary resolution"],"exampleFix":null,"handlingStrategy":"type-guard","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f4178619acd0d47ea1f76a2025c42962c6d6638c","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}