Why Claude can time out while Clash says it is connected

A green “connected” indicator in Clash Verge or Mihomo Party confirms only that the client and its core are running. It does not prove that Claude’s web app, sign-in flow, API requests, and streamed responses are all taking the route you expect. Claude can remain on a loading screen, fail to send a prompt, or stop partway through a response even while other websites appear normal. Each symptom points to a different part of the connection path, so changing several settings at once usually makes the real cause harder to identify.

Think of a Claude session as several related but separate connections. The browser first needs to load the interface and its assets. Authentication may involve additional pages and redirects. Sending a message then opens requests to Anthropic services, and the response may arrive over a long-lived streaming connection rather than one short download. If the interface loads but sending a prompt spins forever, the problem may be with the selected node, the route for an API hostname, or a connection that cannot stay open—not necessarily with the browser cache or your account.

Clash applies routing decisions to connections according to the rules in the active profile. A rule for a broad domain may match the main Claude website but not every service involved in signing in or generating a response. Conversely, a rule that catches a wider parent domain can send unrelated traffic through the same group. Configuration changes made in a profile may also be ineffective if the client is currently using a different profile, a rule provider has not refreshed, or a higher-priority rule matches first.

Start by separating the symptoms. A page that will not open at all suggests a basic connectivity, DNS, or browser-proxy issue. A page that opens but cannot sign in suggests a redirect, cookie, or authentication connection problem. A successful sign-in followed by a stalled prompt points more strongly toward the route used for message requests, an unhealthy node, or interruption of a streaming connection. This distinction is useful because it replaces “Claude is broken” with a testable question about which connection fails.

ℹ Scope: These checks are for diagnosing ordinary connectivity on an account and network you are authorized to use. Follow Anthropic’s terms, local requirements, and any school or workplace network policies.

Before editing rules, check that Claude itself is available to your account and that the browser is not displaying an account, verification, or service-status message. A proxy cannot fix an expired session, a service incident, an account restriction, or a request rejected by the application. If Claude works through the same browser without Clash but fails when Clash is active, that comparison is useful evidence about the local routing path; it is not a reason to bypass an access restriction.

Check the active profile, node, and proxy mode

First confirm that the client is using the profile you intend to troubleshoot. In Clash Verge, inspect the active profile and its update status before assuming that a rule edit is live. In Mihomo Party, check the selected configuration and the active proxy group. Menu labels differ between releases, but the important facts are the same: which configuration is loaded, whether the core is running, and which node or group receives Claude traffic. If you have more than one Clash-based client installed, close the others for this test so that competing system-proxy settings do not obscure the result.

Next, look at the mode. In Rule mode, domain and IP rules choose the outbound group. In Global mode, most traffic follows the selected global proxy, which can be a useful temporary comparison. In Direct mode, traffic does not use the proxy group. The names and controls can vary by client, but do not infer the mode from the selected node alone: a node may be selected while a matching rule sends Claude directly, or the active mode may not use that node at all.

Use a small, reversible test rather than changing the whole profile. Open the client’s connection or traffic log, reload Claude, and then send a short, non-sensitive test prompt. Look for entries that appear at the same time as those actions. If the log shows a Claude-related connection going to DIRECT when you expected a proxy, inspect rule order and the active mode. If it reaches the expected proxy group but fails repeatedly, test the group’s selected node. Do not paste prompts, cookies, authorization headers, or account tokens into logs or public support posts.

A node that passes a latency check is not automatically a good node for Claude. Many checks measure a brief request to a generic test address; they do not measure whether an application’s endpoints are reachable or whether a long response stream remains stable. Select one known-working node, keep it fixed during the comparison, and avoid relying on automatic selection while diagnosing. If one node works and another stalls under the same profile and mode, the problem is likely related to that node or its route rather than a general browser setting.

If a test requires Global mode, use it briefly and only as a diagnostic comparison. Restore the original mode afterward. If Global mode works while Rule mode fails, that points toward a routing-rule mismatch; it does not establish that Global mode is the best permanent configuration. Keeping a narrow, understandable rule set is easier to maintain and avoids sending unrelated traffic through a proxy unnecessarily.

A controlled test: identify which part of the route fails

The following sequence works in both Clash Verge and Mihomo Party, although the exact names of tabs and buttons depend on the version. Change one variable at a time and record the result. If you switch the node, mode, browser, and DNS settings together, a successful retry will not tell you which change mattered. A short note such as “Rule mode, node A, page loads, prompt stalls” is more useful than a screenshot of a green status icon.

  1. Establish a baseline. Keep the profile and mode you normally use. Confirm the core is running, note the selected group and node, and open Claude in the browser. Record whether the page, sign-in, and message response each work. Do not include private account details in your notes.
  2. Inspect live connections. Open the client’s connection view or logs, reload the page, and send one brief test prompt. Identify which relevant connections match the action and note the rule, outbound group, and result. A failed connection marked DIRECT may indicate a rule mismatch; a connection assigned to the intended group but ending in a timeout suggests a different line of investigation.
  3. Pin one alternate node. Change only the selected node in the group, then repeat the same page-load and prompt test. Prefer a node you have already used successfully for ordinary HTTPS traffic. If the response now completes, keep that observation and compare again later; do not immediately rewrite DNS settings or add multiple broad rules.
  4. Compare routing modes briefly. If policy permits, compare Rule mode with Global mode using the same browser and node. A success only in Global mode is a strong clue that a rule or rule order deserves attention. Return to Rule mode after the comparison so the test does not become an accidental permanent setting.
  5. Separate browser from core behavior. If the browser fails while other applications work, check whether the system proxy is enabled and whether the browser has its own proxy extension or profile. If several applications fail through the same client, investigate the core, node, DNS, or local port state rather than clearing Claude data first.
  6. Repeat once and compare. Retry with the same settings after a short pause. A single successful response can be misleading if a node is intermittently congested. Record whether the failure happens during page loading, authentication, prompt submission, or response streaming.

Use the results to narrow the next change. If the connection log shows the expected Claude traffic assigned to a proxy group but the selected node fails, test a different node without editing the profile. If Rule mode fails and Global mode succeeds, inspect the matching rule and its position relative to broader rules. If both modes fail on one client but the same account works in a separate browser setup, check that client’s system-proxy integration, local listener, or core status. If both clients and browsers fail in the same way, check service status, account messages, and the underlying network before treating the YAML as the only suspect.

Do not use repeated rapid retries as a diagnostic tool. They can create noisy logs, trigger temporary rate limits, or make an intermittent network look consistently broken. One carefully observed request is more informative than a queue of identical failures. When testing, use a harmless prompt and avoid sharing its contents or any session-related data with other people.

Adjust Claude rules without making the profile harder to maintain

When the evidence points to Rule mode, review how the active configuration handles Claude-related domains. The main site and service endpoints can differ, and service infrastructure may change over time. Do not assume that one hostname covers every page, login redirect, or message request. Use the client’s connection log to discover which domain was involved in the failed action, then compare that domain with the rules in the profile and the rule provider’s documentation.

A maintainable approach is to add only the narrow domain rules that your testing shows are needed, place them above broad catch-all rules, and direct them to an existing proxy group that you can select deliberately. Rule syntax varies by core and profile, so treat examples from old guides as illustrations rather than copy-and-paste instructions. Check the configuration format supported by your current Mihomo core, validate the profile after editing, and keep a backup so that a typo can be rolled back quickly.

DNS deserves attention, but it should not be the first setting changed without evidence. If the client resolves a hostname to an unexpected address, returns errors, or sends connections through an inconsistent resolver path, compare the active DNS settings with the profile’s intended design. Avoid mixing several resolver strategies during the same test. Also check whether another VPN, security product, or browser extension is intercepting DNS or proxy settings; two tools competing to own the same path can produce symptoms that look like a bad Claude rule.

Streaming failures need a slightly different interpretation from ordinary page-load failures. A short request can succeed, while a long response stops if the route is unstable, the node is congested, or an intermediary closes an idle connection. If a response repeatedly stops after a similar interval, compare a different node and observe whether the connection ends at the same stage. Do not treat a successful latency probe as proof that streaming is healthy, and do not change timeout values blindly: a longer timeout cannot repair a connection that is being reset or routed incorrectly.

⚠ Configuration caution: Avoid copying unknown rule sets or disabling security controls to “make Claude work.” Remote rule providers can change matching behavior, and broad rules may affect more applications than intended. Review the source, keep a known-good backup, and follow your organization’s network policy.

Once Claude works, remove temporary diagnostic changes that you no longer need. Keep the smallest rule adjustment supported by your connection logs, then test the rest of your usual applications to make sure the new routing behavior did not create a second problem. If the issue returns, compare the active profile version, selected node, and matching rule before rebuilding the configuration from scratch.

Different clients expose different trade-offs: a minimal menu-bar client may make group and connection details harder to inspect, while a heavily customized setup can leave you guessing which profile or rule is active. For this troubleshooting workflow, Clash V.CORE offers a practical starting point with visible proxy controls and a clearer path for checking the selected node and routing behavior. If you want to compare that workflow with your current setup, you can download Clash V.CORE and use the controlled checks above to see whether it makes the cause of Claude timeouts easier to pinpoint.