Skip to content

[macOS VM] Fixed 1-second DeviceCheck timeout is too tight for virtualization overhead, preventing dot loading #49556

Open

Description

@ElgoogUdiab

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

ChatGPT/Codex desktop app 26.928.21956 (the unified macOS app, bundle ID com.openai.codex). Version read from the installed app's Info.plist.

What subscription do you have?

Not specified in this report.

What platform is your computer?

  • Guest: macOS 27.0, build 26A428, Apple Silicon / arm64.
  • Virtualization: Parallels Desktop 27.0.2 (58673), macOS VM using Apple's Virtualization framework (APPLE_VZ_VM).
  • Host: macOS 27.0.1, build 26A434.
  • VM networking: Parallels shared networking; host traffic is routed through Surge.

What issue are you seeing?

The dot UI consistently fails with “Couldn't load your dot” inside the macOS VM. App logs show “DeviceCheck token generation is unavailable” for requests including /tbo/primary.

The main concern is that the native DeviceCheck wrapper's fixed 1-second timeout is too tight, especially when Codex/ChatGPT runs inside a macOS VM, where the verification path has additional guest-to-host and certificate-provisioning overhead.

In the observed case, the app stops waiting after approximately 1 second, but the underlying system continues processing and finishes the certificate processing approximately 2.4 seconds after the request began. The corresponding Apple network request succeeds with HTTP 200.

Correlated timeline from one attempt

All times below are local time on 2026-09-30 (UTC+08:00).

Time Observation
17:08:36.301 Guest devicecheckd: handling device lookup request and generating encrypted certificate.
17:08:37.009 Host mobileactivationd: client certification requested by com.apple.Virtualization.AppleVirtualPlatformIdentity.
17:08:37.307 App reports DeviceCheck unavailable after 1005.576375 ms (durationMs=1005, errorCode=4).
17:08:38.652 Host Apple certification request completes with HTTP 200; network transaction duration is 1247 ms.
17:08:38.719 Guest devicecheckd: Certificate processed and Token timestamp logged, about 2418 ms after the guest request began.

The certificate-processing logs do not by themselves prove that the resulting token would be accepted by OpenAI. They do show that the underlying operation continues past the app's waiting deadline and reaches certificate processing after a successful Apple response.

Relevant app logs

DeviceCheck attestation unavailable deviceCheckLatencyMs=1007.004 durationMs=1012 errorCode=4
DeviceCheck attestation unavailable deviceCheckLatencyMs=1007.61675 durationMs=1008 errorCode=4
DeviceCheck attestation unavailable deviceCheckLatencyMs=1002.192584 durationMs=1002 errorCode=4
DeviceCheck attestation unavailable deviceCheckLatencyMs=1005.576375 durationMs=1005 errorCode=4

sa_server_request_failed
errorMessage="DeviceCheck token generation is unavailable"
routePattern=/tbo/primary status=500

The 500 above is the app's recorded request failure; it should not be interpreted as evidence that Apple's service returned HTTP 500. Likewise, errorCode=4 is an application-defined result in the inspected wrapper, not a confirmed DCErrorDomain value.

Why the deadline appears to be the immediate failure point

  • Read-only inspection of the VM's installed native/devicecheck.node shows a dispatch_time deadline of 1,000,000,000 ns, followed by dispatch_semaphore_wait; the timeout branch reports timed out waiting for DeviceCheck token.
  • Repeated app failures occur very close to that 1-second boundary.
  • In comparison, the physical host's app logs show successful DeviceCheck generation in approximately 13–28 ms.
  • The VM verification path invokes the host's virtual-platform identity certification service. In the example above, roughly 0.71 s elapses before the host receives the request, roughly 0.40 s is spent preparing the host request, 1.25 s is the Apple network transaction, and roughly 0.07 s remains before guest certificate processing completes. These are observed intervals, not a claim that every VM has the same overhead.

What steps can reproduce the bug?

  1. Run the official ChatGPT/Codex desktop app inside a Parallels macOS VM on an Apple Silicon Mac.
  2. Sign in and open the dot UI.
  3. Observe “Couldn't load your dot” and the DeviceCheck token-generation errors.
  4. Correlate the app log with guest devicecheckd and host mobileactivationd logs.
  5. Observe the app failing at about 1 second while the VM's underlying certificate operation takes about 2.4 seconds in this environment.

The intended use is to let the dot operate an isolated VM rather than the physical host, so running the app directly on the host does not satisfy this use case.

What is the expected behavior?

Allow enough time for normal DeviceCheck generation in virtualized or slower environments. Please consider a more generous bounded timeout (for example, 5–10 seconds), or an asynchronous generation flow that can handle completion after the initial UI wait and retry appropriately.

Device verification should still complete normally. The requested fix is to accommodate legitimate verification latency, not to skip verification.

If generation fails, surface a timeout-specific diagnostic rather than only the generic token-unavailable / dot-load error.

Additional information

  • Related: macOS 26.5: New Chat fails with "DeviceCheck token generation is unavailable" after updating to ChatGPT 26.707.72221 #33463 reports the same token-unavailable message, but describes different DeviceCheck/daemon/UCRT failures. This report specifically concerns the 1-second native deadline and macOS VM overhead.
  • Surge showed the relevant ChatGPT connections being proxied with bidirectional traffic and no rejection in the inspected records. Host logs show HTTP 200 for the Apple certification request.
  • The guest also logs an encryption-key asset fallback. Its contribution to the observed latency has not been isolated.
  • No app binaries, signatures, validation behavior, or network configuration were modified during diagnosis.
  • Only selected diagnostic excerpts are included; no authentication tokens, cookies, account identifiers, or full raw logs are attached.

Activity

  1. added
    bug
    app
    safety-check
    on Sep 30, 2026
  2. added
    dots
    on Oct 2, 2026
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

    appbugdotssafety-check

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions