[BUG] Claude Code not connecting to api.anthropic.com

Resolved 💬 3 comments Opened Apr 30, 2025 by wheattoast11 Closed Apr 30, 2025

Environment

  • Platform (select one):
  • [x ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 0.2.90 (Claude Code)
  • Operating System: Windows 11
  • Terminal: Terminal Git Bash

Bug Description

I have been unable to connect to api.anthropic.com

Steps to Reproduce

  1. Go to any directory in WSL as first command
  2. Type in "claude" to open the Claude CLI from the directory
  3. See message imaged below that shows api is unavailable. Connecting via browser also does the same.

!Image

-->

Expected Behavior

Claude Code will open and work and connect to api.anthropic.com

Actual Behavior

Claude Code provided the message

!Image

-->

Additional Context

I may have been consistently hitting your interpretability checks due to some testing of esoteric concepts that are part of the research I'm doing :D

View original on GitHub ↗

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