Skip to content

[Bug][macOS]: ocx gui opens stale running proxy after CLI upgrade and shows admin-token prompt #3450

Closed as not planned

Description

@Superstone-han

Client or integration

OpenCodex dashboard

Area

Service lifecycle / CLI

Summary

ocx gui opened a still-running OpenCodex 2.27.0 dashboard even though the installed CLI was 2.41.0. The old dashboard displayed an OpenCodex admin token (OPENCODEX_ADMIN_AUTH_TOKEN) prompt on the default loopback URL.

I expected ocx gui either to open a dashboard served by the installed version or to warn clearly about the CLI/proxy version mismatch before opening the stale dashboard. On the default loopback bind, I also expected the dashboard to use its automatic GUI session rather than ask for the admin token.

Reproduction / observed state

This is the exact observed state; I do not know which installation or update path produced the version mismatch.

  1. Run ocx gui on macOS.
  2. The browser opens http://localhost:10100/.
  3. The dashboard shows version 2.27.0 and asks for OPENCODEX_ADMIN_AUTH_TOKEN.
  4. ocx --version reports 2.41.0.
  5. ocx status reports that the CLI is 2.41.0 while the running proxy is 2.27.0.
  6. After running ocx restart, the proxy started as 2.41.0. A fresh loopback dashboard response contained the automatic GUI-session bootstrap, and an authenticated dashboard management request returned HTTP 200 without manually entering the admin token.

The method used to install or update 2.41.0 is unknown, so I cannot confirm whether this was caused by ocx update or by an external package-manager update.

Version

  • Installed CLI: 2.41.0
  • Previously running proxy/dashboard: 2.27.0

Operating system

macOS 26.6.2 (25G83), arm64

Provider and model

Not provider-specific.

Relevant output

$ ocx --version
opencodex 2.41.0

$ ocx status
Proxy: running
CLI 2.41.0 does not match the running proxy 2.27.0
Dashboard: http://localhost:10100/

Screenshots and supporting files

A screenshot is available showing the 2.27.0 dashboard with the OpenCodex admin token (OPENCODEX_ADMIN_AUTH_TOKEN) prompt.

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Activity

  1. added
    cli
    gui
    platform
    proxy
    on Sep 4, 2026
  2. github-actions commented on Sep 4, 2026

    @github-actions
    Contributor

    Issue closed: use an issue template

    Thanks for taking the time to submit this issue. It was closed automatically because it was not opened with a recognized issue template (Bug report, Feature request, Documentation, or Provider compatibility). Freeform and API-opened issues cannot skip this check.

    • This issue does not use a recognized issue template.

    Please edit the issue to add:

    • Open a new issue with the Bug report, Feature request, Documentation, or Provider compatibility template.
    • Or edit this issue so the body uses the template section headings for the kind of report you are filing.

    See the Contributing guide for details.

    Once the report passes the automated checks, it will be reopened automatically unless a maintainer has changed its state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliguiplatformproxy

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions