[BUG] Unable to connect Anthropic services
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.6 (Claude Code)
- Operating System: Windows 10 Pro - using ubuntu WSL 2 in terminal
- Terminal: WSL 2
Bug Description
After following the -Guide, at the very end when trying to run command claude
im getting:
╭──────────────────────────╮
│ ✻ Welcome to Claude Code │
╰──────────────────────────╯
Unable to connect to Anthropic services
Failed to connect to api.anthropic.com:
Please check your internet connection and network settings.
Note: Claude Code might not be available in your country. Check supported countries at https://anthropic.com/supported-countries
Note I'm located in Poland, doesn't have any network issues, claude doctor says my npm is fine.
Steps to Reproduce
- Follow Getting started from Guide
- run 'claude' command
Expected Behavior
Claude opens as expected
Actual Behavior
Error is being shown
Additional Context
``ping api.anthropic.com Pinging api.anthropic.com [160.79.104.10] with 32 bytes of data: Reply from 160.79.104.10: bytes=32 time=11ms TTL=56 Reply from 160.79.104.10: bytes=32 time=11ms TTL=56 Reply from 160.79.104.10: bytes=32 time=11ms TTL=56 Ping statistics for 160.79.104.10: Packets: Sent = 3, Received = 3, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 11ms, Maximum = 11ms, Average = 11ms Control-C PS C:\Users\laxyt> nslookup api.anthropic.com Server: UnKnown Address: 192.168.100.1 Non-authoritative answer: Name: api.anthropic.com Addresses: 2607:6bc0::10 160.79.104.10 ``
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗