Hi, I'm opening a new bug report because this still appears reproducible on the latest version, and the previous discussion/closed reports did not resolve the actual issue.
Related:
Observed behavior:
- Normal Codex usage works when using the proxy configured in the Auth File
- Token refresh fails with
403 unsupported_country_region_territory
- If I enable a system-wide/global proxy, the same token refresh succeeds immediately
Why this seems to be a bug:
- Normal request flow respects the Auth File proxy
- Refresh flow appears to use a different HTTP client or different proxy source
- The 403 is therefore a symptom of the refresh request not using the configured per-auth proxy
Expected behavior:
Token refresh should use the same per-auth/Auth File proxy settings as normal Codex requests.
Please treat this as a bug in proxy inheritance for the refresh path, not just a region-support question.
Environment:
- CLIProxyAPI version: v6.9.28-0-plus
- Auth method: Codex auth file
- Proxy works for normal requests: yes
- Refresh works only with system/global proxy: yes
Minimal repro:
- Configure proxy only in Auth File / per-auth settings
- Start Codex and confirm normal requests succeed
- Wait for token refresh
- Refresh fails with
403 unsupported_country_region_territory
- Enable system/global proxy
- Retry refresh
- Refresh succeeds
Hi, I'm opening a new bug report because this still appears reproducible on the latest version, and the previous discussion/closed reports did not resolve the actual issue.
Related:
Observed behavior:
403 unsupported_country_region_territoryWhy this seems to be a bug:
Expected behavior:
Token refresh should use the same per-auth/Auth File proxy settings as normal Codex requests.
Please treat this as a bug in proxy inheritance for the refresh path, not just a region-support question.
Environment:
Minimal repro:
403 unsupported_country_region_territory