1. Identify what “ChatGPT is not working” actually means
When ChatGPT will not load through Clash, the visible symptom is only the starting point. A blank page, a login loop, a stalled response, and a browser timeout can come from different parts of the connection path. The likely causes include a rule sending traffic to the wrong policy, an unhealthy or overloaded proxy node, DNS resolving a destination inconsistently, or an application that is not using Clash at all. An account restriction or a temporary service incident can look similar, so changing several settings at once usually makes diagnosis harder.
First, note the exact failure and when it happens. Does chatgpt.com fail before the sign-in screen appears, or does the page load while a conversation never produces a response? Does the problem affect one browser, every browser, the ChatGPT desktop app, or also OpenAI’s API from a development tool? Record whether it began after changing a profile, switching nodes, enabling TUN, or updating the client. A short, timestamped note is more useful than “ChatGPT is slow,” especially if the problem comes and goes.
Test the same browser session with Clash turned off, then with the proxy enabled, without changing other network settings. If the site works only when Clash is off, focus on routing, DNS, or the selected exit. If it fails in both states, check the service status, account access, local browser extensions, and the network itself before editing the profile. A successful connection to an unrelated website is not proof that the ChatGPT path is healthy: different domains can match different rules and use different routes.
ChatGPT is a web application, not a single connection to one hostname. A page visit can involve the main site, sign-in flows, static assets, and separate endpoints for application features. The exact hostnames and requests can change as the service evolves. Treat any hostname examples in a profile as starting points, not a permanent allowlist, and use the browser’s Network panel or Clash connection log to see what your current session actually contacts.
2. Check proxy mode, rule order, and the selected node
Start with the active mode shown in your Clash client. In Rule mode, a request is assigned according to the profile’s ordered rules. In Global mode, traffic is generally directed through the selected proxy group, which can be a useful temporary comparison. In Direct mode, requests bypass the proxy. Names and controls vary between Clash Verge, Clash Verge Rev, mobile clients, and other Mihomo front ends, but the important question is the same: which policy handled the failing connection?
In Rule mode, open the connection log while loading ChatGPT and inspect the destination, matched rule, policy group, and selected node. If the request matches a broad DIRECT rule or a catch-all rule earlier than your ChatGPT-specific policy, changing the node will have no effect. Rule order matters: the first matching rule normally decides the route. A profile may also send the main site through one group while sign-in or asset hosts take a different path, producing a partially loaded page rather than a clear connection error.
Use Global mode only as a short diagnostic comparison, not as the permanent fix. If ChatGPT works in Global mode but fails in Rule mode, the selected node may be usable and the likely problem is rule coverage or ordering. If it fails in both modes, try a second known-working node and compare the connection logs. A node can establish a connection but still be unsuitable for a long response because of congestion, packet loss, or an unstable route. Pick a nearby, responsive exit that is permitted for your use, rather than assuming the fastest speed-test result will also provide the best streaming behavior.
The table below maps common symptoms to the first checks worth making. These are diagnostic clues, not guarantees: a timeout may originate at the client, proxy, destination, or local network, and a browser error alone rarely identifies which one.
| Symptom | First check | Useful comparison |
|---|---|---|
| ChatGPT page does not open | Matched rule and selected policy in the connection log | Compare Rule mode with a brief Global-mode test |
| Sign-in loops or assets are missing | Whether related sign-in and asset requests use inconsistent routes | Try a clean browser profile and inspect failed requests |
| Page loads, but answers stall | Node stability and long-lived connections | Retry with a second node; compare time to first response |
| Browser works, desktop app fails | Whether the app is captured by system proxy or TUN | Restart the app after changing proxy settings |
| Both direct and proxied access fail | Service status, account access, and local network | Test again later or from another permitted network |
3. Run a controlled test from the client logs
Make one change at a time so each result has diagnostic value. Before editing YAML, save a copy of the current profile or note which profile is active. Then use the same browser, account, and ChatGPT page for each comparison. Close and reopen the tab between tests if it has cached a failed connection; for a desktop app, fully quit and relaunch it after changing capture settings. Avoid simultaneously switching DNS mode, TUN, proxy mode, and node, because a successful result would not tell you which change mattered.
- Confirm the client is running. Check that Clash reports the profile as active and that the proxy listener is available. Confirm that the system proxy or TUN setting you intend to use is actually enabled, rather than merely selected in a menu.
- Open the connection log. Load ChatGPT in a fresh tab and locate requests that appear at the time of the failure. Record the matched rule and policy. If no relevant request appears, the browser or application may not be passing through the client you are inspecting.
- Compare routing modes briefly. In Rule mode, note the outcome. Then use Global mode for one controlled test with a known-good node. Return to the original mode afterward. A Global-mode success points toward rule matching; failure in both modes suggests testing another node, DNS, capture, or the service itself.
- Test another node in the same policy group. Keep the mode and rules unchanged. If one node works and another repeatedly times out, the difference is probably the route or node quality, not the browser’s general proxy configuration. Do not leave sensitive sessions open on a node you do not trust.
- Check the failure details in DevTools. Open the browser’s Network panel, reload, and inspect failed document, script, or fetch requests. Note the hostname and browser error without copying cookies, authorization headers, or account data into a public support post.
- Restore a known baseline. Return to the intended mode, verify the route in the log, and retest after each targeted change. Keep a small record of the profile version, node, matched rule, and result so you can revert a change that only appeared to help.
If your profile uses domain rules, a narrow rule for observed ChatGPT-related traffic can be easier to reason about than routing all traffic through one node. For example, the following is only a simplified illustration; integrate any rule into the correct section of your own profile and put it before broader rules that would otherwise match first:
rules:
- DOMAIN,chatgpt.com,AI-Proxy
- DOMAIN-SUFFIX,openai.com,AI-Proxy
- MATCH,Default
Do not assume that these examples cover every sign-in, asset, or application endpoint. Verify the actual destinations in your own logs, use only rules your profile format supports, and avoid broad suffix rules if they would unexpectedly route unrelated services. If the profile is subscription-managed, check whether local edits are overwritten during updates; use the client’s supported override or rule-provider mechanism instead of repeatedly patching a generated file.
4. Investigate DNS, TUN, and applications that bypass the proxy
DNS becomes a more likely suspect when the connection log shows unexpected IP addresses, requests fail immediately after a DNS change, or the browser alternates between working and failing without a node change. Mihomo profiles can use different DNS strategies, including fake-IP behavior. A browser may also cache a previous answer while Clash has already obtained a new one. For a controlled test, restart the browser after changing DNS settings, then compare a fresh request and its logged destination. Avoid changing several DNS options at once, and keep the profile’s DNS settings consistent with its routing design.
A DNS test should answer a specific question: does the failure follow the resolver, the route, or the application? Compare the same hostname under the existing configuration and one known-good configuration, then restore the original settings if there is no clear improvement. Do not paste private DNS responses or profile credentials into public forums. If DNS resolution succeeds but the connection still times out, move on to the node, routing decision, or network path rather than repeatedly flushing caches without evidence.
TUN is useful when an application ignores the operating system’s HTTP proxy settings, but it introduces its own capture and routing variables. If a browser works through the system proxy while the desktop app does not, verify whether TUN is enabled, whether the client has the required permissions, and whether the application’s traffic appears in the Clash log. On Windows, macOS, and Android, permissions and interface behavior differ; use the controls and diagnostics offered by your particular client rather than copying another platform’s instructions blindly.
Command-line tools are another separate case. Some applications honor environment variables such as HTTPS_PROXY; others use their own networking stack or ignore those variables. A successful browser test therefore does not prove that a script, IDE extension, or desktop app follows the same route. Conversely, if ChatGPT’s web page works but an API request fails, inspect that program’s proxy configuration and the exact API hostname separately. Never publish an API key, session token, subscription URL, or unredacted connection log while troubleshooting.
For WebSocket or streaming symptoms, look beyond whether the initial page request succeeds. A response that starts and then freezes can point to a weak node, an interrupted long-lived connection, a browser extension, or a network that drops idle sessions. Retry with extensions disabled in a clean profile and compare a second stable node. If the failure appears only after a long conversation or upload, record that pattern; it may distinguish a sustained-connection problem from a basic DNS or rule mismatch.
5. Confirm the cause and keep the fix maintainable
A useful fix should be repeatable. After making a targeted adjustment, test a fresh page load, sign-in if applicable, and a short response. Then repeat once with the same mode and node to make sure the result was not a temporary recovery. Check that unrelated sites still follow their expected routes, especially if you added a broad domain rule or changed the default policy. Keep a backup of the original profile and make a note of the rule order or DNS setting that solved the problem.
If requests are routed as expected and several reliable nodes all fail in the same way, stop editing the profile and look outside Clash. Check OpenAI’s service status, try a clean browser profile, verify account availability, and test again later. Some access errors can be related to account, organization, network, or regional availability rather than a client defect. Follow the service’s terms and your organization’s network policies; a proxy configuration cannot change an account’s eligibility or guarantee that a service will be available from every network.
When asking for help, share a concise, sanitized report: client and operating system, Mihomo or Clash version where known, proxy mode, the policy selected, the matched rule, the approximate time of failure, and the browser’s error text. Remove real IP addresses, credentials, subscription links, cookies, authorization headers, and personal account details. That evidence lets someone distinguish a bad rule from a failing node without exposing the contents of your profile or session.
If you are comparing approaches, a one-switch VPN can be simpler for basic browsing, but it offers fewer ways to inspect which policy handled a particular request; manually setting a proxy in every application can be tedious and does not cover programs that ignore those settings. Clash adds visible connection logs, selectable policy groups, and—when supported by the client—TUN capture for applications that do not use the system proxy. If those controls would make your ChatGPT troubleshooting and everyday routing easier, choose a maintained client for your platform and begin with a profile you can inspect and safely revert.
Ready to get started?
Choose a client for your platform, then use the connection log to verify how ChatGPT traffic is routed.