You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Route Claude usage polling through HTTP proxy (or add a real off switch) #800
The usage bar in the bottom-left polls Anthropic's servers to fetch Claude usage. Two problems in my network environment:
The poll bypasses my HTTP proxy. On my machine the claude CLI and Claude Code are configured to go through a proxy (required for stable Anthropic access in my region). Orca's usage fetch appears to hit Anthropic directly, which risks triggering anti-abuse / IP-based rate limits on my Anthropic account — a hard-to-reverse consequence for what is a cosmetic feature.
No real way to disable it. Per [Bug]: Auto usage check does not disable #683 the Settings toggle that looks usage-related actually controls a separate token statistic; hiding the usage bar via right-click is the only workaround, and it's unclear whether hiding the UI also stops the underlying polling.
A first-class toggle that fully disables the usage poll (not just hides the bar), so users who don't want any background calls to Anthropic from the app can opt out.
TL;DR: Node's fetch (undici) doesn't honor HTTP_PROXY envvars without an explicit dispatcher. The PR wires a ProxyAgent into fetchViaOAuth keyed off HTTPS_PROXY / ALL_PROXY / HTTP_PROXY.
Phase 2 follow-up (not in this PR): a Settings UI field so users whose proxy lives in a GUI proxy app (Shadowrocket, Clash, system-level) can configure it without exporting shell envvars — a GUI-launched Orca won't inherit envvars set only in .zshrc. Happy to send that as a separate PR once this lands.
Activity
fix(rate-limits): route Claude OAuth usage fetch through HTTP proxy
nengqi commentedon Apr 18, 2026
Submitted a fix: #803.
TL;DR: Node's
fetch(undici) doesn't honorHTTP_PROXYenvvars without an explicitdispatcher. The PR wires aProxyAgentintofetchViaOAuthkeyed offHTTPS_PROXY/ALL_PROXY/HTTP_PROXY.Phase 2 follow-up (not in this PR): a Settings UI field so users whose proxy lives in a GUI proxy app (Shadowrocket, Clash, system-level) can configure it without exporting shell envvars — a GUI-launched Orca won't inherit envvars set only in
.zshrc. Happy to send that as a separate PR once this lands.