Getting StartedClaude CodeCommon ErrorsSlow or Frozen Response

What to Do When Requests Are Very Slow or Stuck?

If you encounter requests that take more than 1 minute, or even hang completely (the timer keeps running but tokens do not move), refer to the following cause analysis and solutions.

Cause 1: Occasional Network Hiccup (90% probability)

This is the most common situation — occasional network fluctuations cause request timeouts.

Solution: Press ESC to cancel the current request, then retry.

Cause 2: ISP International Bandwidth Congestion (5% probability)

Some domestic broadband providers have very limited international bandwidth, leading to congestion and high packet loss.

How to Test Network Quality?

1. Ping Test (Check for Packet Loss)

Use the ping command to test basic connectivity and packet loss to the proxy servers:

# Test the default node (send 20 packets)
ping -c 20 claude-code.club
 
# Test the Japan node
ping -c 20 jp.claude-code.club
 
# Test the Hong Kong node
ping -c 20 hk.claude-code.club
 

Observe the packet loss rate: above 5% indicates an unstable network — consider switching nodes.

⚠️

Note: Ping only measures latency from you to the proxy server — it does not include the path from the proxy server to the Anthropic API. To test the true end-to-end latency, use the curl command.

# Test real end-to-end latency
time curl -s https://claude-code.club/api/health
time curl -s https://jp.claude-code.club/api/health
time curl -s https://hk.claude-code.club/api/health

Sample output:

{"status":"healthy","service":"claude-relay-service",...}
curl -s https://claude-code.club/api/health  0.01s user 0.01s system 6% cpu 0.243 total

                                                            Real end-to-end latency (243ms)

Choose the node with the shortest total time (ideally < 500ms).

Solutions

Option A: Switch Proxy Address

Change the ANTHROPIC_BASE_URL environment variable to a different proxy address based on your network conditions:

Proxy AddressServer LocationNotes
https://claude-code.club/apiJapan (Tokyo)Default address; fastest when direct connection latency is < 100ms
https://jp.claude-code.club/apiJapanAlibaba Cloud, optimized routing
https://hk.claude-code.club/apiHong KongAlibaba Cloud, optimized routing

Selection Tips:

  • If your ping to claude-code.club is under 100ms, your outbound network is clear — use the default address
  • If outbound latency is high or packet loss is severe, try the jp or hk nodes (eastern/northern China users generally prefer jp; southern China users prefer hk, though this may vary by ISP — test both)

How to Change:

Modify the ANTHROPIC_BASE_URL environment variable. Refer to the environment variable setup guide for your operating system:

For example, change ANTHROPIC_BASE_URL from https://claude-code.club/api to https://jp.claude-code.club/api or https://hk.claude-code.club/api.

Option B: Use a VPN or Proxy Tool

Install a VPN or proxy tool for your network environment, then select a node close to the proxy address (e.g., Japan, Hong Kong, Singapore).


MIT 2026 © Nextra.
加入社群CC Club返回官网