Environment
- Platform (select one): Anthropic API
- Claude CLI version: 0.2.45
- Operating System: Ubuntu 24.04.2
- Terminal: Konsole
Bug Description
Despite PIA VPN IPs not being blocked for general purpose API usage, the Anthropic Console prompt workbench, or claude.ai, trying to use Claude Code while connected to PIA (PrivateInternetAccess) VPN results in connection errors.
Steps to Reproduce
- Connect to any PIA VPN node
- Attempt to use Claude Code
Expected Behavior
I expected that the API would work.
Actual Behavior
The API did not work.
Additional Context
hello claude
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/2)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 2/2)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 2/10)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 2/10)
⎿ API Error (Connection error.) · Retrying in 2 seconds… (attempt 3/10)
⎿ API Error (Connection error.) · Retrying in 2 seconds… (attempt 3/10)
Environment
Bug Description
Despite PIA VPN IPs not being blocked for general purpose API usage, the Anthropic Console prompt workbench, or claude.ai, trying to use Claude Code while connected to PIA (PrivateInternetAccess) VPN results in connection errors.
Steps to Reproduce
Expected Behavior
I expected that the API would work.
Actual Behavior
The API did not work.
Additional Context