{"record":{"id":"ad53ebaee0203cea","repo":"zed-industries/zed","slug":"channel-recv-err","errorCode":null,"errorMessage":"{channel} recv: {err}","messagePattern":"\\{channel\\} recv: \\{err\\}","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/repl/src/kernels/mod.rs","lineNumber":146,"sourceCode":"                            })\n                            .ok();\n                    }\n                    Err(\n                        ref err @ (runtimelib::RuntimeError::ParseError { .. }\n                        | runtimelib::RuntimeError::SerdeError(_)),\n                    ) => {\n                        let error_detail = format!(\"Kernel issue on {channel} channel\\n\\n{err}\");\n                        log::warn!(\"kernel: {error_detail}\");\n                        session\n                            .update_in(cx, |session, _window, cx| {\n                                session.kernel_errored(error_detail, cx);\n                                cx.notify();\n                            })\n                            .ok();\n                    }\n                    Err(err) => {\n                        log::warn!(\"kernel: error reading from {channel}: {err:?}\");\n                        anyhow::bail!(\"{channel} recv: {err}\");\n                    }\n                }\n            }\n        }\n    });\n\n    let routing_task = cx.background_spawn(async move {\n        while let Some(message) = request_rx.next().await {\n            match message.content {\n                JupyterMessageContent::DebugRequest(_)\n                | JupyterMessageContent::InterruptRequest(_)\n                | JupyterMessageContent::ShutdownRequest(_) => {\n                    control_send.send(message).await?;\n                }\n                _ => {\n                    shell_send.send(message).await?;\n                }\n            }","sourceCodeStart":128,"sourceCodeEnd":164,"githubUrl":"https://github.com/zed-industries/zed/blob/f4178619acd0d47ea1f76a2025c42962c6d6638c/crates/repl/src/kernels/mod.rs#L128-L164","documentation":"Wrapper error formatting a runtimelib receive failure on a Jupyter kernel channel (parse or serde error): a message read from the kernel socket could not be decoded. The sentinel \"{channel} recv: {err}\" carries the channel name and underlying cause.","triggerScenarios":"Thrown at crates/repl/src/kernels/mod.rs:146 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Restart the kernel from the REPL panel","Check kernel logs (logged as a warning) for the decode failure detail","Update ipykernel/jupyter on the remote environment if protocol mismatches persist"],"exampleFix":null,"handlingStrategy":"try-catch","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-14T05:17:10.506Z"}