{"record":{"id":"31f0e1a3c6bcce2d","repo":"zed-industries/zed","slug":"failed-to-start-remote-server-process","errorCode":null,"errorMessage":"Failed to start remote server process","messagePattern":"Failed to start remote server process","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/remote/src/transport/docker.rs","lineNumber":724,"sourceCode":"\n        let val = remote_binary_relpath\n            .display(self.path_style())\n            .into_owned();\n        docker_args.push(val);\n        docker_args.push(\"proxy\".to_string());\n        docker_args.push(\"--identifier\".to_string());\n        docker_args.push(unique_identifier);\n        if reconnect {\n            docker_args.push(\"--reconnect\".to_string());\n        }\n        let mut command = util::command::new_command(self.docker_cli());\n        command\n            .kill_on_drop(true)\n            .stdin(Stdio::piped())\n            .stdout(Stdio::piped())\n            .stderr(Stdio::piped())\n            .args(docker_args);\n\n        let Ok(child) = command.spawn() else {\n            return Task::ready(Err(anyhow::anyhow!(\n                \"Failed to start remote server process\"\n            )));\n        };\n\n        let mut proxy_process = self.proxy_process.lock();\n        *proxy_process = Some(child.id());\n\n        cx.spawn(async move |cx| {\n            super::handle_rpc_messages_over_child_process_stdio(\n                child,\n                incoming_tx,\n                outgoing_rx,\n                connection_activity_tx,\n                cx,\n            )\n            .await","sourceCodeStart":706,"sourceCodeEnd":742,"githubUrl":"https://github.com/zed-industries/zed/blob/5a9b9558db01a6b906cec2fb70a797affdc58cdd/crates/remote/src/transport/docker.rs#L706-L742","documentation":"Raised in docker start_proxy when spawning the `docker exec ... proxy` command fails (util::command::new_command could not launch docker or the child errored immediately). Without the remote server process inside the container, the proxy connection cannot be established.","triggerScenarios":"Thrown at crates/remote/src/transport/docker.rs:714 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the docker CLI and daemon are working","Check container state (is it running?) and retry"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5a9b9558db01a6b906cec2fb70a797affdc58cdd","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}