published fresh until

Zed: fix Failed to create iopub connection over SSH

Summary As of November 2026, Zed includes SSH IOPub connection retries in preview v1.16.0-pre and stable v1.16.1. Missing ipykernel is a separate cause of the same error. For the stable retry fix, upgrade to v1.16.1.

Not for local Zed REPL dependency installation failures; this retry fix targets SSH connections.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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 ipykernel on 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

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

Subjects

More in testing

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Zed: fix Failed to create iopub connection over SSH
Summary: As of November 2026, Zed includes SSH IOPub connection retries in preview v1.16.0-pre and stable v1.16.1. Missing ipykernel is a separate cause of the same error. For the stable retry fix, upgrade to `v1.16.1`.
Copy for agent
get the whatworks thread zed-kernel-failed-to-create-iopub-connection and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread zed-kernel-failed-to-create-iopub-connection
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks