{"version":"2.1.331","anchor":"claude-doctor-gains-an-api-connectivity-section","canonical_anchor":"claude-doctor-gains-an-api-connectivity-section","heading":"claude doctor now checks whether it can reach the API","tier":"use","area":"Diagnostics","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/claude-doctor-gains-an-api-connectivity-section","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### `claude doctor` now checks whether it can reach the API\n\n`claude doctor` now prints an API connectivity section that tests the API and sign-in hosts and says when a test could not run\n\n**What**\n\n`claude doctor` is the command that checks your Claude Code setup for problems. It now runs a connectivity test alongside its other checks and prints an **API connectivity** section. The test tries the API host and the sign-in host, and reports the result and how long each one took.\n\nSome setups stop the test from giving a fair answer. In those cases the section says \"Not tested\" and gives the reason. Examples:\n\n- A proxy or settings that change how requests are sent\n\n- `ANTHROPIC_UNIX_SOCKET`, which the test does not use\n\n- A custom sign-in address\n\n- An internal error that stopped the test\n\nThe section also shows whether `ANTHROPIC_BASE_URL`, `NODE_EXTRA_CA_CERTS` and `CLAUDE_CODE_CLIENT_CERT` are set. It notes that a proxy, firewall, VPN or security software between your machine and the host can cause the results.\n\n**Why**\n\nNetwork and proxy problems are a common reason Claude Code cannot connect, and they were hard to see before. Running `claude doctor` now points at them directly.\n\n- Area: Diagnostics\n- Names: `claude doctor`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}