evice cannot be reconnected after deleting a previously added Mac from Codex app

Resolved 💬 2 comments Opened May 17, 2026 by chaehy5665 Closed May 17, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the Codex App are you using (From “About Codex” dialog)?

26.513.31313 (2867)

What subscription do you have?

pro x20

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

The current behavior suggests that device deletion may not fully clean up one or more of the following:

  • remote device registration state
  • local Mac pairing/session state
  • auth/token association
  • device identity/cache
  • stale server-side record preventing re-registration

As a result, the user cannot re-add or reconnect the same Mac after deleting it from the Codex app.

What steps can reproduce the bug?

  1. Open the Codex app.
  2. Use Add device to add a Mac.
  3. Complete the remote connection/pairing flow.
  4. Confirm that the Mac is available and connected remotely.
  5. Delete/remove that Mac device from the Codex app.
  6. Attempt to add or reconnect the same Mac again.
  7. Observe that reconnection fails or the device can no longer be paired.

What is the expected behavior?

After deleting a Mac device from the Codex app, the user should be able to re-add the same Mac through Add device and complete the remote connection flow again.

Device deletion should either:

  • fully revoke and clean up the old pairing state, or
  • provide a clear recovery path for re-registering the same Mac.

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 3 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #23078
  • #22700
  • #22714
  • #23112
  • #23055

Powered by Codex Action

chaehy5665 · 3 months ago

I found a workaround and a more precise symptom:

After deleting the previously connected Mac device, the same Mac could not be reconnected through the normal Add device flow. However, if I log out of the iOS ChatGPT app and then log back in, the Mac becomes reconnectable again.

So this appears to be related to stale client-side session/device state in the iOS ChatGPT app after device deletion.

Workaround:

  1. Delete the Mac device from the Codex/Add device flow.
  2. If reconnecting the same Mac fails, log out of the iOS ChatGPT app.
  3. Log back in.
  4. Try Add device again.
  5. The same Mac can now be reconnected.

Expected behavior:
The app should refresh or invalidate the relevant device/session state automatically after deleting a device, so the user does not need to log out and log back in before reconnecting the same Mac.