codex icon indicating copy to clipboard operation
codex copied to clipboard

Sites Plugin Broken - won't re-auth on reinstall

Open BenCentric98 opened this issue 4 months ago • 10 comments

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

26.630.12135

What subscription do you have?

Enterprise

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

Sites connector was working previously, deployed two sites successfully via codex desktop app.

Went to deploy new version today, connector won't work - existing sites still live, but I can't deploy any new versions. Removed the sites plugin from codex, went to re-auth, and the page on chatgpt site is a 404, so can't re-authenticate. https://chatgpt.com/apps/sites/connector_20205bf7d4e99a89d7154bb849718324?no_universal_links=1

Tried in a fresh session before reinstalling plugin, relogging, etc

What steps can reproduce the bug?

Blocked at the final production deploy step: deploy_site_version, update_site_access, and then even get_site started returning backend Unknown tool errors, despite being exposed in the tool catalog. The private deploy endpoint did work, but correctly refused because the site is shared.

The Sites connector is currently failing every backend method with Unknown tool, including get_site, list_site_versions, deploy_site_version, and deploy_private_site_version.

session ID: 019f3d80-8b37-7073-a8de-80b1238b8579

What is the expected behavior?

No response

Additional information

No response

BenCentric98 avatar Jul 09 '26 13:07 BenCentric98

I’m seeing the same issue on Windows with Codex Desktop.

Environment:

  • Codex Desktop on Windows
  • Sites connector: connector_20205bf7d4e99a89d7154bb849718324
  • Sites plugin: plugin://sites@openai-bundled
  • Share page currently says Sites is unavailable: https://chatgpt.com/plugins/share/sites

Observed behavior:

  • @sites / plugin://sites@openai-bundled often does not expose the mcp__codex_apps__sites namespace.
  • app://connector_20205bf7d4e99a89d7154bb849718324 also often does not bind the Sites tools.
  • When the tools briefly appear in tool discovery, backend calls intermittently fail with Unknown tool errors, for example: Mcp error: -32001: Unknown tool({"name":"sites.get_site"}) Mcp error: -32001: Unknown tool({"name":"sites.list_site_versions"}) Mcp error: -32001: Unknown tool({"name":"sites.get_deployment_status"})

Impact:

  • Existing deployed Sites remain live.
  • Saving/deploying new versions and reading deployment status are not possible.
  • Restarting the laptop and starting new Codex threads did not resolve it.

This appears to be the same Sites connector/toolbinding issue, and it is reproducible on Windows as well.

BeukemaNewDawnRobotics avatar Jul 09 '26 18:07 BeukemaNewDawnRobotics

I reproduced the same Sites connector failure on Windows.

Environment:

  • Codex desktop app: 26.707.30751
  • Windows
  • Sites plugin: 0.1.10
  • Connector: connector_20205bf7d4e99a89d7154bb849718324

Additional evidence:

  • sites@openai-bundled is installed and enabled in config.toml.
  • The plugin's .app.json points to the expected connector.
  • The codex_apps ListTools response advertises 19 Sites operations, including sites.list_sites, sites.save_site_version, and sites.deploy_site_version.
  • Valid, identical read-only calls to sites.list_sites({ limit: 1 }) are inconsistent: three returned MCP -32001 Unknown tool({"name":"sites.list_sites"}), while one returned Action completed.
  • In the original long-running turn, the projected tool set contained no Sites tools. A later turn exposed all 19, but execution still failed intermittently.
  • I found no authentication, entitlement, connector-startup, or network failure in the local logs.
  • The Sites plugin manifest lacks "required": true, unlike the current GitHub and Gmail connector manifests. This may contribute to activation/projection instability, though the stronger confirmed symptom is the ListTools/CallTool registry mismatch.

This looks like an inconsistent discovery/execution registry (possibly different backend/router instances holding different connector catalogs), rather than a missing local installation or ordinary authentication failure.

ElierHG avatar Jul 09 '26 20:07 ElierHG

Same thing.

Environment:

Codex Desktop on Windows Sites connector: connector_20205bf7d4e99a89d7154bb849718324 Sites plugin: plugin://sites@openai-bundled Share page currently says Sites is unavailable: https://chatgpt.com/plugins/share/sites Observed behavior:

https://github.com/sites / plugin://sites@openai-bundled often does not expose the mcp__codex_apps__sites namespace. app://connector_20205bf7d4e99a89d7154bb849718324 also often does not bind the Sites tools. When the tools briefly appear in tool discovery, backend calls intermittently fail with Unknown tool errors, for example: Mcp error: -32001: Unknown tool({"name":"sites.get_site"}) Mcp error: -32001: Unknown tool({"name":"sites.list_site_versions"}) Mcp error: -32001: Unknown tool({"name":"sites.get_deployment_status"})

Klaviyo-dev avatar Jul 13 '26 16:07 Klaviyo-dev

I reproduced a related but more specific Sites account-switch/auth-routing failure on macOS.

Environment

  • macOS (Apple Silicon)
  • Codex CLI: 0.144.5
  • Sites plugin: 0.1.27
  • Sites connector: connector_20205bf7d4e99a89d7154bb849718324

Observed behavior

  • Codex itself is authenticated to Account B (new account).
  • The Sites UI can show Connected, but read-only sites.list_sites still returns four projects and access policies belonging to Account A (previous account).
  • Every returned allowed_users entry points only to Account A.
  • The plugin-management backend simultaneously reported the Sites connector as not installed, despite the UI showing it as connected.
  • This looks like the Sites connector retaining or routing through a stale server-side account/link after an account switch.

Recovery attempts that did not fix it

  1. Removed and re-added sites@openai-bundled.
  2. Disconnected/reconnected Sites while signed into Account B.
  3. Moved aside all local discovery caches:
    • ~/.codex/cache/codex_apps_tools/*.json
    • ~/.codex/cache/codex_app_directory/*.json
    • ~/.codex/cache/codex_apps_server_info/*.json
  4. Retried from a fresh thread.
  5. Started a separate ephemeral codex exec process and called only sites.list_sites.

The fresh process still returned Account A's Sites data, so this is not limited to an in-memory thread or an old local cache.

Fresh reproduction session

  • 019f6baf-79c4-78c2-b816-a8095c96244d

No Sites create/update/save/deploy calls were made during verification.

Expected After reconnecting Sites while Codex is authenticated to Account B, the Sites connector should create/use an Account-B-scoped link and list_sites should not expose Account A's projects or access policy.

kikocapital avatar Jul 17 '26 00:07 kikocapital

Still reproducible for me as of July 30, 2026 (KST). The Codex Sites connector remains unavailable in Codex, so the Sites tools cannot be used. This is still unresolved on my account. Please provide a status update or a reliable workaround.

outofdsr avatar Jul 29 '26 15:07 outofdsr

Follow-up as of July 30, 2026 (KST): this issue is still open, and there has been no maintainer update or documented workaround since the previous reports. Could the team confirm whether this is being tracked internally and share the current status, diagnostic steps, or a reliable workaround for the persistent Sites connector tool-binding / Unknown tool failures?

outofdsr avatar Jul 30 '26 04:07 outofdsr

Environment

  • macOS, Codex/ChatGPT Desktop 26.924.22138 (production channel; updater reports it is current).
  • Sites plugin 0.1.71; its .app.json declares the required Sites connector connector_20205bf7d4e99a89d7154bb849718324.
  • Sites were successfully published from this account before; those deployed Sites are still accessible. A project-backed Codex task now has another report ready to publish privately.

Observed behavior

  • The sites-building and sites-hosting skills load, and an explicit @Sites request reaches the task.
  • No callable Sites tools are exposed in the task, including create_site, get_site, save_site_version, or private deployment. There is also no tool-discovery entry point that can load them.
  • Other app and plugin tools are available in the same task. Previously deployed Sites remain live and accessible, but the current local report cannot be published or an existing Site updated. No Sites backend call can be attempted, so I cannot determine whether the original Unknown tool failure is also present.
  • I also could not find Sites by searching the Plugins directory in the signed-in ChatGPT web session. I treat that as a separate availability signal, not proof of the tool-binding cause.

Expected behavior

An explicit @Sites request should make the required Sites connector tools callable, or show a clear account/permission error with a recovery path. A current desktop build should be able to create and privately deploy a Site from a ready report.

@openai Could you investigate the required connector's availability and tool binding for this case, and provide a fix or a reliable workaround? The issue remains open, and updating the desktop app did not resolve this reproduction.

DestinyOfLove avatar Sep 27 '26 12:09 DestinyOfLove

Adding a Windows reproduction of the missing Sites tools issue.

Environment

  • Windows, Codex/ChatGPT Desktop 26.924.22138, build 11645, production channel.
  • The desktop updater reported up_to_date on September 28, 2026.
  • Sites skills previously loaded from version 0.1.71 and now load from 0.1.75.
  • Local Codex CLI: 0.158.0-alpha.2.1.

Observed behavior

Sites previously worked for this project. Prepared local changes can no longer be published.

Initially, Sites tools appeared in the tool catalog, but invoking get_site returned:

MCP tool `codex_apps/sites.get_site` is not available to the model

In subsequent checks, no callable Sites tools were exposed at all, despite the Sites skills being available and an explicit Sites request being sent. The latest checks on September 29 still show this mismatch.

I also observed:

MCP tool `codex_apps/plugin_management.search_plugins` is not available to the model

Built-in application tools and local commands continue to work.

Plugin availability and reinstall attempt

After switching Sites off in the UI, it disappeared and could not be found for reinstallation.

On September 28, the official CLI successfully listed other installed and available plugins, but Sites was absent from both lists:

codex plugin list --available --json

An explicit reinstall attempt failed:

codex plugin add sites@openai-curated-remote --json

Error: plugin `sites` was not found in remote marketplace `openai-curated-remote`

The newer 0.1.75 skill files are now available, but callable Sites tools have still not returned.

Troubleshooting already attempted

Restarting the application, restarting Windows, opening a new conversation, and changing models did not restore access. In-app feedback was submitted, but the app reported that some diagnostic files could not be uploaded.

Expected behavior

An enabled Sites integration should expose its tools, or provide a clear account/permission error and recovery path. Switching it off should leave a supported way to enable or reinstall it.

Could maintainers investigate both the missing tool bindings and Sites catalog availability? PR #46108 may be relevant to the enable/disable behavior, but I have not established a causal connection. A confirmed fix or supported workaround would be appreciated.

psychoactiveX avatar Sep 29 '26 04:09 psychoactiveX

I am experiencing the same issue on ChatGPT/Codex Desktop for Windows.

After Sites stopped working for deployments on October 25, 2026, I disconnected the Sites plugin while troubleshooting. It then completely disappeared from both the installed plugins list and the plugin directory.

The desktop application reports that it is fully up to date. My existing application is saved locally, but I cannot publish updates.

Feedback submitted through the desktop application.

Feedback ID: no-active-thread-01a17811-cca6-79f0-b9a4-91558cbfd3c8

Could you please investigate how to restore the Sites plugin and reconnect it to my existing project?

stefanomordenti-wq avatar Oct 26 '26 12:10 stefanomordenti-wq

Windows reproduction on ChatGPT/Codex Desktop 26.1120.41243 (MSIX 26.1120.5083.0), November 24, 2026.

After Sites was turned off, it no longer appeared in the desktop plugin/app lists. The desktop log recorded plugin_uninstall_succeeded pluginId=sites@openai-bundled. An explicit @Sites mention could still load the skill, but tool discovery returned zero Sites tools. In the same session, GitHub tools were visible and codex_apps reported ready.

The local Sites 1.1.7 manifest identified the required connector, and the matching existing [apps.connector_20205bf7d4e99a89d7154bb849718324] entry had enabled = false. Changing that entry to true and restarting Desktop restored Sites in the Apps tab, exposed the callable tools, and both get_site and source repository credential creation succeeded. A subsequent production deployment also succeeded after separate Git network troubleshooting. No plugin reinstall was needed in this reproduction.

Expected: turning off the built-in Sites integration should leave a discoverable way to turn it back on from Desktop.

tech-n0-mad avatar Nov 24 '26 16:11 tech-n0-mad