[BUG] Claude Code completely unusable: Failed to connect to api.anthropic.com: UNABLE_TO_GET_ISSUER_CERT_LOCALLY

Resolved 💬 3 comments Opened Jul 1, 2025 by didier Closed Jul 2, 2025

Environment

  • Platform (select one):
  • [X] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.38
  • Operating System: macOS 15.5
  • Terminal: Zed, Terminal App, Warp (everywhere!)

Bug Description

Since the Jul 1 API outage, Claude Code is entirely not working. This is happning for me and my team. I'm subscribed to the Max plan. I tried restarting, reinstalling, none worked.

Steps to Reproduce

  1. run claude
  2. Error

Expected Behavior

It should work. I'm subscribed to Claude Max and in a supported country.

Actual Behavior

╭──────────────────────────╮
│ ✻ Welcome to Claude Code │
╰──────────────────────────╯

 Unable to connect to Anthropic services

 Failed to connect to api.anthropic.com: UNABLE_TO_GET_ISSUER_CERT_LOCALLY

 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

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->

View original on GitHub ↗

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