Skip to content

[macOS][ChatGPT/Codex app][Sparkle] Dynamic update feed HTTP 520 over IPv6, succeeds over IPv4 #55084

Closed

Description

@mlcco

Summary

The ChatGPT/Codex macOS desktop updater consistently fails to retrieve its dynamic Sparkle appcast over IPv6 with HTTP 520, although an equivalent, fully parameterized request succeeds over IPv4 (HTTP 200 after one redirect). The separate static appcast is reachable over both address families. This is a reproducible address-family-specific delivery problem, not simply a generic internet connectivity failure.

Version and platform

  • ChatGPT/Codex desktop: 26.1013.40934, build 20770 (production).
  • macOS: 27.0.1, build 26A434.
  • Architecture: Apple Silicon / arm64.
  • Update framework: Sparkle.
  • Diagnostic window: 2026-10-18 15:28–15:32 UTC.
  • Components: macOS desktop app / Codex app / Sparkle updater / CDN connectivity / IPv6.

Actual behavior

Selecting Check for Updates displays:

Update Error!
An error occurred in retrieving update information. Please try again later.

On a real in-app retry, Sparkle logs reported:

  • SUSparkleErrorDomain Code=2001.
  • Failure to retrieve the dynamic update feed, with underlying HTTP 520.
  • The application network trace showed a satisfied Wi-Fi path, dual-stack DNS results, an established IPv6 QUIC/TLS (HTTP/3) connection, successful TLS verification, then response status 520.

Controlled endpoint comparison

Endpoint and network path Observed result
Dynamic appcast, fully parameterized request, forced IPv4, redirects followed HTTP 200, one redirect
Dynamic appcast, same logical request, forced IPv6 HTTP 520, no redirect
Static appcast, forced IPv4 HTTP 200
Static appcast, forced IPv6 HTTP 200

Endpoints:

  • Dynamic: https://updates.oaistatic.com/codex/app/appcast
  • Static: https://persistent.oaistatic.com/codex-app-prod/appcast.xml

Important: The unparameterized dynamic URL returned HTTP 400 on forced IPv4, which is a distinct test. The successful IPv4 comparison above used the same fully parameterized logical request as the failing IPv6 request. Installation and account parameters are intentionally omitted.

Steps to reproduce and recovery attempts

  1. Open the production desktop app and select Check for Updates; observe the error.
  2. Resolve both appcast hostnames: both IPv4 (A) and IPv6 (AAAA) records resolve successfully.
  3. Request the dynamic endpoint three times with default routing: all three return HTTP 520 on IPv6.
  4. Force HTTP/1.1 and HTTP/2 requests on the selected IPv6 route: both return HTTP 520.
  5. Test the static XML feed over HTTP/1.1, HTTP/2, IPv4 and IPv6: all return HTTP 200, with TLS verification successful.
  6. Run dscacheutil -flushcache and killall -HUP mDNSResponder successfully. DNS configuration remains unchanged.
  7. Repeat the diagnostics: dynamic IPv6 still returns 520; static feed remains 200 on both address families.
  8. Retry the actual in-app updater twice; native Sparkle logs confirm Code 2001 / HTTP 520.
  9. Repeat the address-family-specific, fully parameterized dynamic-feed comparison; IPv4 returns 200 after one redirect and IPv6 returns 520 without redirect.
  10. Final post-retry spot check: dynamic default IPv6 request 520 and static IPv6 request 200.

All completed HTTPS requests reported ssl_verify_result=0 (successful certificate verification). No router reset, VPN modification, DNS server change, network-service reset, or app-data deletion was performed.

Expected behavior

The dynamic update feed should return valid update information over both supported address families, or the updater should gracefully retry an alternate address family when one route returns an HTTP 5xx response. It should offer available updates or confirm the installed release is current instead of failing despite a working IPv4 path.

Technical assessment

The controlled test strongly points to an IPv6-specific issue in dynamic-feed serving, CDN configuration, or origin routing. The precise server-side cause is not yet confirmed. It does not indicate a general failure of the Mac's IPv6 connectivity, DNS resolution, or TLS trust. A potential additional improvement is client-side fallback after 5xx responses from the selected address family.

Privacy

Only a minimized technical summary is published. Raw diagnostic files are deliberately withheld, as they contain or may imply local configuration and unique identifiers. IP addresses, installation IDs, account-plan metadata, machine names, account names, local file paths, and UUIDs are omitted. Supporting sanitized excerpts can be supplied if maintainers identify a particular field they need.

Activity

  1. added
    bug
    app
    connectivity
    on Oct 18, 2026
  2. github-actions commented on Oct 18, 2026

    @github-actions
    Contributor
  3. changed the title [-][macOS 27.0.1] Desktop app update check fails: “An error occurred in retrieving update information”[/-] [+][macOS 27.0.1] Update information retrieval still fails on desktop 26.1013.40934 (Oct 18)[/+] on Oct 18, 2026
  4. changed the title [-][macOS 27.0.1] Update information retrieval still fails on desktop 26.1013.40934 (Oct 18)[/-] [+][macOS][ChatGPT/Codex app][Sparkle] Dynamic update feed HTTP 520 over IPv6, succeeds over IPv4[/+] on Oct 18, 2026
  5. mlcco commented on Oct 18, 2026

    @mlcco
    Author

    New verified diagnostic evidence (October 18, 2026)

    I updated the issue description with controlled IPv4/IPv6 comparisons and the actual Sparkle retry logs. The key finding is dynamic appcast: HTTP 520 over IPv6 versus HTTP 200 after one redirect over IPv4 for the equivalent fully parameterized request. The static appcast succeeds over both families. The failure persisted after a successful macOS DNS-cache flush; native updater logs confirm SUSparkleErrorDomain Code=2001 and HTTP 520 on the IPv6 path.

    This narrows the investigation to the dynamic-feed IPv6 serving/CDN/origin-routing path, with possible client fallback improvements. The origin cause is still unconfirmed. All user-specific identifiers and raw logs are withheld for privacy. The issue body contains the full controlled reproduction and expected behavior.

  6. ostrowr commented on Oct 21, 2026

    @ostrowr
    Contributor

    Duplicate of #53891

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

    appbugconnectivity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions