Claude opens in your browser, but a prompt in the terminal times out. Keep your current SSNLY connection selected, open your proxy client’s connection log, and ask Claude Code to “Reply with just OK.” Look for three things: whether the request appears, which rule it matches, and what response comes back.
1. Check which exit IP Claude Code uses
After connecting to SSNLY, use IP Lookup to check your browser’s exit address. Then send a prompt from the terminal and look for api.anthropic.com in the proxy log. If you connect directly to Anthropic with a Claude account or API key, this entry shows which route carried the model request.
Residential, data center, and shared proxy addresses describe different network setups. Treat third-party IP reputation scores as background information. When diagnosing a timeout, the matched route and the actual error are more useful.
2. Keep one connection selected while testing
A home broadband provider may periodically reassign a dynamic address. With an SSNLY dedicated static residential IP, you can repeat tests through the same exit. Change one setting at a time. For example, test the terminal proxy setting before changing the routing rules. This makes intermittent failures easier to investigate.
3. Check the terminal’s proxy settings
Your browser and terminal can use different proxy settings. If the connection log stays empty when you send a prompt, check the local HTTP proxy port.
If your client’s HTTP or mixed port is 7890, run these commands in the same macOS or Linux terminal:
export HTTPS_PROXY="http://127.0.0.1:7890"
claude
In Windows PowerShell, use:
$env:HTTPS_PROXY = "http://127.0.0.1:7890"
claude
Replace 7890 with the port shown in your app. Exit any existing Claude Code session and start a new one. A WebRTC test shows addresses exposed by the browser. Use the proxy log to verify the terminal connection. Official Claude Code proxy configuration
4. Read the certificate error if TLS fails
If certificate validation fails, save the exact error. On a corporate network that inspects HTTPS, check whether Claude Code trusts the root certificate used by the company proxy. A Chrome fingerprint setting changes handshake characteristics. It cannot supply a missing root certificate. Claude Code certificate configuration
5. Find out what handles DNS
For a hostname lookup failure, check whether the operating system, local proxy client, or remote proxy resolves the hostname. DNS over HTTPS (DoH) encrypts DNS queries. The client’s DNS and routing settings still determine the path those queries take.
The DNS Leak Test shows the resolvers observed during a browser test. Check the client’s DNS log when investigating a terminal request.
6. Check IPv4 and IPv6 separately
If the client captures only IPv4 and your computer has a working direct IPv6 route, connections to the same service can take different exits. Keep the same node selected, temporarily restrict the proxy client to IPv4, and repeat the request. A reproducible difference is a reason to investigate IPv6 routing. Troubleshooting IPv6 with Claude Code
7. Route sign-in and API traffic deliberately
Signing in and sending a prompt use different services. If sign-in works but prompts time out, check the matched rules for claude.ai, platform.claude.com, and api.anthropic.com separately. Features such as plugin downloads and single sign-on have additional dependencies. Claude Code domain routing guide
8. Put specific rules before general ones
In a client that evaluates rules in order, a broad proxy or direct rule can match before the Claude-specific rule. After changing the order, start a fresh connection. Check both the matched rule and the selected outbound in the log.
9. Check timeouts when long replies stop at a repeatable interval
If short prompts work but long replies repeatedly stop after about the same amount of time, record that interval. Check idle timeouts in the proxy client, corporate gateway, and any upstream proxy. Where supported, connection reuse can also reduce the cost of repeated TCP and TLS handshakes.
10. Read the error when concurrent tasks return 429
When several tasks use the Anthropic API, the organization can reach a limit on requests, input tokens, or output tokens per minute. Read the full error. For a rate limit, stagger task starts. If the response includes retry-after, wait the specified number of seconds before trying again.
Sustainable concurrency depends on the organization’s limits and the workload. Switching exit IPs does not increase the organization’s API quota. Anthropic API rate limits
11. Compare routes with actual prompts
To compare two routes, use the same device, model, and short prompt. Repeat each test a few times. Record how long the first response takes and whether a longer reply finishes. A global ping test measures network latency to its test nodes. A Claude Code request also depends on the route beyond your proxy and the service’s response time.
Five details to save when a connection fails
- The time and exact error message.
- The selected SSNLY connection.
- The hostname involved.
- The matched rule and outbound shown in the client log.
- Whether the same request fails again on the same route.
Related guides: Domain routing · IPv6 troubleshooting