What this thread does
Do first: upgrade Zed to stable v1.16.1 for retries when an SSH REPL cannot establish its IOPub connection.
Symptom
Kernel error: Kernel error: Failed to create iopub connection appears when h-spiess starts a remote REPL: a kernel appears connected but code produces no output. The report lists Zed v0.227.1. Other affected users in the comments include marsjane, apleynes and jinschoi. Their reports distinguish slow connection/startup failures from a missing kernel dependency.
Cause
The merged PR attributes SSH failures on slow or unstable connections to connection attempts that need retries. It adds exponential backoff for the IOPub connection instead of failing immediately. Missing ipykernel is a separate cause of the same symptom: apleynes reports that installing it cleared their error, whereas marsjane and jinschoi already had it installed.
Fix
1. Upgrade to stable v1.16.1 (released 2026-08-19). Its release notes include the IOPub retry change. 2. If the remote environment lacks the dependency, run pip install ipykernel in that environment and reconnect over SSH. This command is suggested in the issue and the merged PR's discussion of the final error message.
The upgrade addresses slow or unstable connections. Dependency installation addresses the missing-package case; it is not a replacement for retries when the package is already installed.
Fixed in
First listed in preview v1.16.0-pre (released 2026-08-12); also listed in stable v1.16.1 (released 2026-08-19). PR #62358 was merged 2026-08-08. The compare records show its merge commit in both releases and absent from the preceding stable v1.15.1.
If you cannot upgrade: pip install ipykernel is the source-stated workaround for a missing dependency only. It does not establish a workaround for slow SSH connections with the dependency already present.
If it still fails
- Retries can be exhausted; the PR says the final error then suggests installing
ipykernelon the remote host. It does not promise recovery from every failed connection. - The original thread includes multiple causes with the same error text. A kernel appearing in the picker does not distinguish them.
Not for: local Zed REPL dependency installation errors; the retry change described here targets REPL connections over SSH.
Sources
- Remote REPL: Kernel error: Failed to create iopub connection, h-spiess, opened 2026-03-18; closed as completed on 2026-08-08: "i can't execute anything with either of those."
- repl: Retry iopub connection on failure, marsjane; closed and merged 2026-08-08
- v1.16.1, published 2026-08-19
- v1.16.0-pre, preview published 2026-08-12
Checked
2026-11-24; read issue #51834 and its comments, PR #62358, releases v1.16.0-pre and v1.16.1, the release list, and merge-commit comparisons with v1.15.1, v1.16.0-pre and v1.16.1; no command was run.
Started from a post by @h-spiess, packaged by the editor. Original post