Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
ChatGPT/Codex desktop 26.1103.32239, build 25471, updated in place from build 25241. Read from the installed app's Info.plist. Bundled CLI: 0.167.0-alpha.3.2.
What subscription do you have?
Not collected for this report.
What platform is your computer?
Darwin 27.2.0 arm64 arm, macOS 27.2 (build 26B123)
What issue are you seeing?
Severity: P0 regression. The app is unusable for anyone whose projects are SSH remote projects.
After the update to build 25471, the app opens empty: no projects or chats appear, and the composer does not respond. Two relaunches did not change this.
The app no longer connects to any SSH host at launch. On both launches after the update it logged:
[remote-connections/window-context] remote_project_connection_restore_skipped reason=no_remote_projects
The remote projects are still there: ~/.codex/.codex-global-state.json still lists all three under remote-projects, and selected-project still points at one of them. So the restore seems to be reading a different, empty source.
On build 25241, the same Mac and state started a connection to each host at launch, and this skip line was not logged:
[AppServerConnection] Starting app-server connection hostId=remote-ssh-discovered:<host> transport=websocket
On build 25471 the only such line is for hostId=local transport=stdio. All three SSH hosts stay nextState=disconnected and none reaches connecting. The hosts themselves are fine: plain ssh to each works from the same Mac.
Local data is not damaged: state_5.sqlite passes pragma integrity_check, and the projects table is empty on the previous build too, so it does not look like the cause.
This differs from #27284, where the project is online but shows No chats. Here no connection is attempted at all.
What steps can reproduce the bug?
- On build 25241, have SSH remote projects saved and working, with no local projects.
- Update in place to 26.1103.32239 (build 25471) and relaunch.
- The app opens empty and the composer does not respond.
- In
~/Library/Logs/com.openai.codex/, findremote_project_connection_restore_skipped reason=no_remote_projects, and noStarting app-server connectionline for any SSH host.
Seen on one Mac so far. Two others on older builds work, and we are not relaunching them, since an update is already downloaded on each.
What is the expected behavior?
As on build 25241: saved SSH remote projects are restored at launch, connections to their hosts start, and their chats and the composer work.
Additional information
Other lines from the same launch, in case they help. Both of the first two also appear on build 25241 or look unrelated to this, so they may be noise:
warning Failed to reconcile temporary app-server state errorName=SqliteError
warning [tpp-local-executor] Local Work executor startup failed attempt=2 errorCode=ENOENT
The local app-server also reports this WARN as a connection error, with code: connection-failed while state=connected:
ignoring invalid experimental feature enablement keys: apps_mcp_path_override, daybreak_program_propagation
Activity
github-actions commentedon Nov 7, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
solzard commentedon Nov 7, 2026
Confirming the SSH startup/reconnect symptom on another macOS installation with the same app version.
Environment verified from the installed app and OS:
During normal use, after quitting and reopening the app, existing remote SSH connections remain disconnected. This started after a recent desktop app update. Manually unchecking and rechecking the existing Connect checkbox in Settings > Connections restores remote SSH access. The exact first affected release has not been established.
A read-only inspection of existing local logs found the same startup marker reported here:
The startup reconciliation log also reports
autoConnectConnectionCount=0even though SSH hosts were discovered. A current read-only state check confirms saved remote projects are still present. Later in the same launch log, an SSH app-server connection starts and the host transitions fromconnectingtoconnected.The Connect workaround above is confirmed by direct use. The log inspection supports a startup restoration/auto-connect problem, but does not establish the root cause. No connection settings, SSH keys, or persisted app state were edited as part of this investigation.
This also corroborates the macOS counterpart of the restart/reconnect symptom in #59931. Hostnames, addresses, usernames, local paths, and conversation identifiers are omitted.
kendalleasterly commentedon Nov 8, 2026
Corroborating the saved SSH connection / startup auto-connect symptom on a personal MacBook Pro. I have to go into Settings > Connections and re-enable the existing SSH connection when I return to the app. The saved host configuration remains present.
This persisted through an update during diagnosis on November 8:
26.1103.31037, build25241.26.1103.41825, build25679.27.0.1(26A434),arm64.0.167.0-alpha.3.2.7.2.12-402.asahi.fc45.aarch64+16k,aarch64; remote Codex CLI0.167.0.~/.ssh/config, key authentication, port 22. Tailscale1.104.5on both machines.Verified after updating to build 25679
The launch log contains:
However, a read-only inspection of
~/.codex/.codex-global-state.jsonshows:remote-connection-auto-connect-by-host-id[<SSH host ID>]istrue. This was also checked before updating.remote-projectsstill contains five projects for that SSH host.codex-managed-remote-connectionsstill contains the same host entry.Through at least two minutes of the updated launch, there is no
Starting app-server connectionevent for this SSH host and no SSH connection failure/retry event for it. The local app-server connects normally.At that point, a separate, noninteractive SSH connection from the same Mac succeeded with the existing key and strict host-key checking. The remote login shell found
codexand returnedcodex-cli 0.167.0. The host had approximately 38.8 hours of uptime;sshdandtailscaledwere active, andsleep.target,suspend.target,hibernate.target, andhybrid-sleep.targetwere masked. The local Tailscale status reportedRunning, no health warnings, and the Linux peer online and active.Earlier launch / workaround
Before the update, build 25241 logged the same
no_remote_projectsskip and discovered-one/auto-connect-zero combination at16:22:42Z. At16:23:58.320Z, the auto-connect count became one; the SSH app-server connection then started at16:23:58.321Zand reachedconnectedat16:23:59.798Z. This is consistent with my experience that re-enabling the existing connection restores access. The same startup markers are also present in two launch logs from November 7.I expect the enabled SSH connection to remain enabled and reconnect automatically after reopening the app or waking the client Mac. The host is configured to stay awake, and I have also been able to SSH into it after roughly a day of inactivity. Previously, when that other machine ran macOS and was connected through the desktop app's device-control method, I did not need this repeated manual re-enable step; that was a different transport/setup.
These findings support a startup restoration/auto-connect discrepancy, but do not establish its root cause or first affected release. In particular, my symptom already occurred on build 25241, so this is additional evidence about the reconnect symptom rather than proof that it first appeared in build 25471. Is there a supported way to retain automatic SSH reconnection across launches?
blackSp0nge commentedon Nov 9, 2026
Still reproduces on macOS desktop 26.1103.60933 (build 25894). On this Mac, auto-connect worked on every launch from Oct 26 until the Nov 7 Sparkle update (last good build here: 24614). Every launch since logs
remote_project_connection_restore_skipped reason=no_remote_projectsandautoConnectConnectionCount=0. The host is a codex-managed SSH connection (no~/.ssh/configalias); plain SSH with the same key works, and the path/version probes and bootstrap all return 0 when it does connect.Two additions that may help triage:
1. Adding a remote project does not help. With
remote-projectsholding one entry for the same hostId,remote-project-connection-backfill-completed=trueandremote-connection-auto-connect-by-host-id[host]=trueon disk, the next launch still loggedrestore_skipped reason=no_remote_projectsandautoConnectConnectionCount=0in the initial refresh (~0.16 s after launch).codex-managed-remote-connectionsis read correctly at that moment; the other three keys read as empty. This fits the initialization-order hypothesis in #59931.2. What "revisiting Connections" actually does. The Settings > Connections SSH (or Devices) sub-page starts a 15 s
setIntervalthat calls the SSH connection refresh. It does not refresh on mount. The first tick reads the saved preference correctly and connects:autoConnectConnectionCount=0previousConnectionCount=1),autoConnectConnectionCount=1,ensure_remote_app_serverautoConnectConnectionCount=0autoConnectConnectionCount=1; connected at 08:25:56The top-level Connections page alone does not start the timer, and opening a connection's "…" menu does not trigger a refresh. So a workaround that needs no toggle: after launch, open Settings > Connections > SSH and wait about 15 seconds. The connection stays up after leaving the page.
No SSH keys, connection definitions or persisted app state were modified. Hostnames, addresses and identifiers are omitted.
diwu-sf commentedon Nov 10, 2026
This is also broken for my entire team because we do all of our development remotely in dev-vms
App version
26.1103.60933is also buggy, same symptomskendalleasterly commentedon Nov 11, 2026
Update, November 11: SSH startup auto-connect is working for me now on desktop app 26.1106.51428 (build 26605).
Same setup as my earlier report: MacBook Pro on macOS 27.0.1 (26A434), arm64, connecting over SSH/Tailscale to an Asahi Linux host. The local app-server now reports
0.167.0-alpha.4.1; the remote app-server still reports0.167.0.Two consecutive launch logs show the SSH host connecting shortly after startup:
Neither launch records a connection-toggle event for that host. I no longer need the repeated manual re-enable workaround.
The startup logs now report
remote_project_connection_restore_completed, replacing the earlierremote_project_connection_restore_skipped reason=no_remote_projectsmarker. One detail that may help with verification: the initial refresh still reportsautoConnectConnectionCount=0, but a follow-up refresh about 0.4–0.5 seconds later reportsautoConnectConnectionCount=1, and the SSH connection then starts and reachesconnected. So the initial zero count alone does not indicate failure on this build.My earlier checks reproduced the problem on builds 25241 and 25679. This confirms it is working for my setup on build 26605; I have not established the first fixed release or tested an extended sleep/overnight cycle yet.