[BUG] Account & Usage panel stuck on "Loading usage data..." in VS Code extension when behind HTTP proxy on Remote SSH

Resolved 💬 3 comments Opened Feb 28, 2026 by chgwan Closed Mar 1, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Environment

  • VS Code with official Claude Code extension
  • Connected via Remote SSH to a restricted server
  • HTTP proxy: 127.0.0.1:50808 (required for all outbound traffic)
  • Claude Code CLI has HTTP proxy configured

Description

The Account & Usage panel shows account info correctly (auth method, email, plan) but the Usage section is permanently stuck on "Loading usage data...". This only happens in the VS Code extension on the remote SSH environment.

What works

  • ✅ Claude Code CLI (claude) shows usage data correctly (Session % and Weekly %)
  • ✅ Main extension functionality works fine (chat, code edits, etc.)
  • ✅ CLI respects the HTTP proxy

What doesn't work

  • ❌ Usage data in the VS Code extension's Account & Usage panel never loads

Root cause hypothesis

The usage data fetch in the VS Code extension appears to bypass the HTTP proxy setting, while all other extension requests correctly route through it. Since the server restricts all direct outbound traffic, the usage endpoint request silently fails/hangs.

Expected behavior

Usage data should load through the same HTTP proxy used by the rest of the extension.

What Should Happen?

<img width="888" height="506" alt="Image" src="https://github.com/user-attachments/assets/62bb86ad-6566-4304-a5af-9c77abc3ca4a" />

<img width="1908" height="652" alt="Image" src="https://github.com/user-attachments/assets/b4500d34-a68b-42bf-82fb-c0a87627b42f" />

Error Messages/Logs

Steps to Reproduce

  1. Set up a restricted remote server that requires all outbound traffic to go through an HTTP proxy
  2. Connect to the remote server via VS Code Remote SSH
  3. Configure Claude Code CLI with the HTTP proxy (e.g. 127.0.0.1:50808)
  4. Open the Claude Code extension panel in VS Code
  5. Run the command "Claude Code: Show Account & Usage"
  6. Observe that account info (auth method, email, plan) loads correctly, but the Usage section is permanently stuck on "Loading usage data..."
  7. For comparison, run claude in the remote terminal — usage data (Session % and Weekly %) displays correctly

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.63 of vsc extension, 2.1.63 of claude

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗