Official Guide · Troubleshooting
Shadowrocket Troubleshooting Guide
First determine whether the issue is with the connection switch, network, or server, then check rules and DNS. Change one setting at a time and retest the same destination. Keep a change only if it resolves the issue.
For your first import, connection, and verification, follow the Getting Started guide. If you can reproduce the issue, choose a symptom below. For specific questions about purchase restoration or where to install the app, see FAQs.
01 Connection switch
Connection switch won't turn on: Check VPN configuration permissions
Tell apart no response, immediate shutdown, and inability to disconnect manually
In Home, check that SERVER contains a selectable server. Choose a record with complete, verified details and try the connection switch once. Note whether a system confirmation appears, whether the switch changes briefly, and whether an error appears afterward. If you have not imported a server, or the selected entry disappeared after a subscription update, use your existing details to restore a selectable entry before testing. An empty selection and a system refusal to establish a connection are different issues.
The first time you connect, your iPhone or iPad may ask to add a VPN configuration and verify the device. Keep Home in the foreground and read the system prompt before choosing an option. If you previously canceled, return to Home and try again. If the prompt does not appear, search for “VPN” in system settings and check whether a Shadowrocket entry is listed. An entry means the system has saved a configuration; it does not confirm that this connection attempt started. See First launch and VPN configuration permissions for help identifying each section.
Check auto-connect and other VPN connections
If the switch turns itself back on after disconnecting, note the current On Demand settings, then temporarily turn it off and test a manual connect and disconnect. Stay on the same network throughout; do not switch between Wi-Fi and cellular. If manual switching works with it off, restore the original conditions one at a time. If auto-reconnect happens only on a particular Wi-Fi network, check whether that network meets the trigger conditions rather than changing server details. A reconnect after manual disconnection is different from the switch immediately turning off after you tap it.
Check the system VPN page to see which connection is actually active. If another VPN you configured is running, disconnect it and test Shadowrocket on its own. Note whether another app also reconnects automatically, so you can rule out two connections taking turns. If the device is managed by a school or employer and a VPN entry cannot be edited, a connection is restricted, or a configuration must remain enabled, ask the administrator to check the policy. Do not remove a management profile for testing. If the behavior is the same before and after restarting, record the exact error instead of repeatedly resetting network settings.
Recreate only the connection entry that has a problem
Consider removing the personal VPN entry only if the system prompt points to Shadowrocket's VPN configuration, manual connection consistently fails, and network issues and management restrictions have been ruled out. Then return to the app, start a new connection, and allow it to add the configuration. Before doing so, make sure you can restore the required Config, subscription details, and manually added server records. If not, do not clear anything yet. Recreate only the entry confirmed to be faulty; there is no need to delete all in-app data or reset the device to factory settings.
Afterward, make sure the switch stays on, then visit a site that normally works. If the switch is stable but no pages load, go to No internet after connecting and check your network and routing. If the switch still turns off, note whether a system confirmation appeared, whether the VPN entry is listed in system settings, whether the device is managed, and what changed before and after connecting. These details help pinpoint whether the failure is at the permissions or startup stage, rather than simply reporting that it “won't turn on.”
02 Access problems
No internet after connecting: Compare three routing modes
First check whether the network works with the connection off
Temporarily disconnect Shadowrocket. In a browser, open two unrelated sites that normally work, then try the app that showed an error. Choose pages that do not require sign-in and have worked before, so an expired login or site outage is not mistaken for a network problem. If they still do not load with the client disconnected, troubleshoot Wi-Fi or cellular data first. Public Wi-Fi may require a web sign-in; being connected to Wi-Fi does not necessarily mean you have internet access.
If the basic network works, connect and keep the server, test destination, and network fixed while changing only Global Routing. Reload the destination after each change, opening a new browser tab if needed; existing sessions, cached pages, and background connections can make results lag behind. If only one app is affected, check whether it can load new content rather than relying on cached content on its home screen.
| Interface label | What it means | What to check |
|---|---|---|
| Direct | Direct: send the test request without routing it through the selected server. | Compare with the connection off to see whether the issue starts only after connecting. |
| Proxy | Proxy: route the test request through the selected server. | Check whether an existing server route can reach the test destination. |
| Config | Config: choose a policy according to the active configuration rules. | Compare with the other two modes to see whether rule order or the fallback policy needs checking. |
Use the differences to narrow down the cause; do not treat a temporary mode as a permanent fix
If Direct works but Proxy does not, check the selected server first, then see whether that server fails only for a particular destination. If both work but Config does not, check the active configuration file, rule order, and final FINAL rule. If access works while disconnected but all three modes fail when connected, check VPN status, auto-connect, system network settings, and DNS. These results alone do not prove the server is faulty. Direct is a diagnostic mode with the connection on; it is not the same as testing with the client disconnected.
Start with the first rule that could match
First confirm which file is active so you do not edit a same-named backup. Rules are evaluated from top to bottom, and the first matching policy applies. If a broad rule above already matches, adding another rule for the same destination later will not change that match. The example below uses the reserved domain example.com. It is a rule snippet, not a complete configuration to replace your existing file with:
[Rule]
DOMAIN-SUFFIX,example.com,PROXY
GEOIP,CN,DIRECT
FINAL,PROXY
Trace the domain used by the failed request, then check whether it matched a domain rule, an IP-based rule, or no earlier rule and fell through to FINAL. A page may also request other domains for sign-in, images, or APIs. If the homepage loads but images are blank, do not change the policy for only the homepage domain. Keep the original file and adjust one related rule at a time, retesting the original issue and checking that previously working sites still work. See Rule order and FINAL for more examples.
Once testing is complete, restore your usual routing mode. If you switched to Proxy for troubleshooting, remember to switch back to your original Config; otherwise, requests that normally use different policies will continue using the test mode. If the issue occurs only on a first visit, with a new domain, or after changing networks, but goes away on retry, compare the results in the DNS section before treating a one-off lookup delay as a persistent rule error.
03 Server testing
Server timeout: Check tests, settings, and timing separately
Test a small number of known servers at a time
In Home, open Connectivity Test and test the current server and one existing comparison entry. Note the network and test method, and stay within Wi-Fi range so the device does not switch to cellular during the test. If every entry times out on the same network, compare once on another network you can use. If only one fails, focus on that entry and the status of its service. Do not delete the entire SERVER list based on a single result.
A successful test means only that the probe received a response at that moment. It does not guarantee that browsing, downloads, or sustained transfers will work. A timeout does not necessarily mean the server is completely unavailable: the test destination may not respond, or the first probe packet may be lost while the actual destination remains accessible. If the result conflicts with what you see in a page, retry the same destination that normally works. Note whether the probe failed, the connection failed, or the page stalled after receiving a response. If you see a clear authentication or certificate error, follow that message rather than rerunning the test repeatedly.
Check the server details field by field against your existing records
Open the failed entry and check its type, address, and port first, then verify the authentication and transport fields required by that protocol. Use your own valid records or ask the original provider whether the entry has changed. Do not add a protocol prefix, path, or trailing spaces to the address unless the field specifically requires a full URL. If you imported it from a subscription, keep the original entry and, if needed, create a separate comparison entry. This helps determine whether the subscription updated the parameters or a manual edit introduced a difference.
| Protocol | Check first | Common misconception |
|---|---|---|
| Shadowsocks | Address, port, encryption method, and password. | The same server name does not mean its encryption method and password are unchanged. |
| VMess / VLESS | Protocol type, UUID, transport, and any required Host, path, or SNI. | Do not substitute a field with the same name but a different purpose, or guess values for a transport that is not in use. |
| Trojan / Hysteria2 | Authentication details and TLS settings; if SNI is required, use the value in your existing records. | For a certificate error, check the name, time, and server configuration instead of disabling verification. |
| WireGuard | Endpoint, peer public key, and interface address; also check the allowed address range. | A reachable endpoint does not mean the handshake completed, and a completed handshake does not mean the destination address is in the allowed range. |
Tell system time, certificates, and network differences apart
In system settings, check the date, time, and time zone, and make sure automatic settings have not been turned off by mistake. After a long period offline, a manual date change, or a time zone change, the clock may look only slightly off while still showing the wrong absolute time for certificate validation. Correct it, disconnect and reconnect, then test the same server and destination. If the certificate error persists, check that the name in your server details matches the name entered in the client, and ask the provider to check the certificate. Do not disable verification just to make the connection appear to work.
If the same entry fails on only one network, note which network, test, and protocol were involved. For example, if servers using different transports give different results, test whether the difference follows the network, but do not present a guess as a conclusion. If the entry fails across networks and devices while other known-good entries work, ask the original provider to check it. Include the time of the issue and a redacted error, not authentication details. See Server timeout troubleshooting steps for a review.
04 Importing data
Subscription update failed: Separate fetching, parsing, and connecting
First identify which stage failed
A subscription update retrieves content from a URL you already have and updates local entries. Connecting uses one of those updated entries to establish a session. These are separate steps. If an update reports an error but an older entry still works, keep it and note when the error occurred. Check whether the Subscribe action received a response. If it reports success but the list is empty, check the returned content and import format. If new entries appear but cannot connect, check their settings in Server timeout instead of repeatedly refreshing the subscription.
Copy the full URL again from the information provided by the original service. Check for leading or trailing spaces, line breaks introduced by messaging apps, and full-width characters substituted in the address. Do not remove parameters after the question mark or use an account sign-in webpage as a subscription URL. When scanning a QR code, check whether it represents one server entry or subscription data, then choose the matching option in Add Server and compare the preview with your existing details. If the content is not what you expect, exit without importing; do not try entering a password.
Choose the next step based on the error message
For a timeout or an address that cannot be resolved, check the device's basic network first, then try updating in the app using the same URL on another network you can use. Some services have access requirements; if a request fails, ask the original provider what conditions to expect instead of switching several settings back and forth. If the error includes an HTTP status, 401 or 403 may point to validity, permissions, or server-side requirements; 404 may mean the path has changed; 429 means too many requests, so stop refreshing and wait before retrying. These codes describe the server's response and do not, on their own, tell you the status of an account.
If the server responds but the content cannot be parsed, check whether the provider supplies a format supported by Shadowrocket. The response may be a sign-in page, an information page, or empty content rather than subscription data the app can parse. A page that displays in a browser is not necessarily suitable for subscription import. Do not paste the full URL into online testing tools or chat groups. To ask the provider for help, share only the error text, time of occurrence, and any necessary information without parameters. If your subscription URL has been exposed, ask the original provider to replace it, then remove the old URL wherever it was saved.
After updating, check the list, selected entry, and recovery options
After a successful update, confirm that the new entries appear in the expected group and check which server is selected in Home. The same display name may refer to a different address or protocol, so the name alone cannot confirm that the new entry is selected. If you still need manually added servers, do not delete the entire group as if it were an old subscription. Before cleaning up entries in bulk, check what your existing backups can restore and whether they contain credentials that need to be stored securely.
To confirm recovery, update the same subscription successfully once, verify that the expected entries are in the right group, then select one and connect using the original test destination. Do not keep updating to prove the fix. If you are unsure which change worked, record the last action and its result, then repeat the same steps if the issue returns. See the user guide for the full first-import process. The Shadowrocket Official Site & User Guide does not provide, sell, or recommend servers or subscriptions; this section covers data you already have. A one-time app purchase is not a service plan; assess them separately.
05 Performance
Slow speeds: Find out where the delay occurs
Tell a slow first load from a slow download or intermittent performance
Slow access does not always mean a long server round-trip time. A page that shows no response for a while and then loads quickly may be delayed by DNS lookup, connection setup, encryption handshake, or an unresponsive destination. If a download starts but stays slow, check throughput, network congestion, and server load. Periodic video pauses may also result from fluctuating Wi-Fi or an unstable source server. Choose a repeatable task and note whether the delay happens before or after it starts. Do not combine subjective experiences across different apps into a single “slow” result.
For comparisons, use the same device, network, and destination, ideally within a short time. Pause photo sync, large downloads, and app updates to avoid competing for bandwidth. For a webpage test, remember that caching can make the second load seem faster. For a file test, use the same reasonably sized file that you are authorized to access. Do not change the device's location or power mode during the comparison, or you will not know whether the difference came from the connection or the device.
Check the network, individual servers, and destination service in turn
First check the basic network with the client disconnected. If both direct access and the connected mode are slow, retest near the access point or switch to another network you can use. A normal-looking signal icon does not rule out wireless retransmissions. If speeds drop only in a particular room, on one access point, or when a shared network is busy, note those conditions. Compare servers only after the basic network is stable; otherwise each entry may be tested under different network conditions.
Once the basic network is working normally, keep the destination fixed and compare two existing entries. If one stays slow, check its protocol and transport, whether the original provider has posted a notice, and whether the issue occurs only at certain times. If several entries are slow for the same destination, try another destination that normally works to see whether the problem is with the service or a shared policy. These comparisons narrow down the cause; a single result cannot prove that one protocol is always faster.
Check whether routing rules send requests for the same task along different paths
If the issue occurs only in Config, check whether domains involved in the slow request use a different policy from the main page. A page may load its content from one domain, static assets from another, and its sign-in API from a third. Loading the main page does not prove that all components use the same route. Use a few controlled comparisons to distinguish a rule issue from a destination service issue, then make one change in a copy of the configuration. Do not change a large number of unrelated rules to the same policy just to fix one page.
If only the first request is slow and later requests on the same connection work normally, compare new and previously visited domains in DNS issues. For ongoing packet loss or interrupted downloads, note whether the issue occurs on another network and whether it follows a network change or the device waking from sleep. After a fix, repeat the original task under the same conditions and check a destination that worked before. A good result immediately after the network recovers shows only that this visit worked. For intermittent problems, record the conditions when it slows down and recovers across multiple tests.
06 Name resolution
DNS issues: Check the resolution path actually used by requests
First confirm that the symptoms point to name resolution
DNS translates domain names into addresses used to connect. An app reporting that it cannot find a server, first visits to several new domains that get no response, or a group of domains failing only after a network change are reasons to check DNS, but they do not prove a DNS problem. The destination service may not respond, or the server address itself may be wrong. A rule matching REJECT can also make an app appear unreachable. First note whether the failed name belongs to a server address, subscription URL, or domain requested by a webpage, then identify which layer to check.
Choose one domain that works and one that fails, then retry each on the same device and network with the connection off and on. If only corporate intranet names, home device names, or local short names fail, check whether they rely on DNS or local discovery on the current network. Do not use public-domain results to draw conclusions about local names. Replacing a webpage's domain with a numeric address is not a reliable test either: the service may require the correct hostname and certificate, so a numeric address failing does not prove the network is down.
Check DNS settings in the configuration and the conditions for accessing them
In Config, confirm which file is active, then review its existing DNS settings. Note whether it uses a custom resolver and whether system settings include a separate DNS configuration or network management policy. A resolver restricted to a particular network may not respond after you switch networks. If the resolver uses HTTPS and is specified by domain name, the device must first be able to resolve and reach that resolver. Correct settings and access to the resolver on the current network are two separate things to verify.
| Rule keyword | What it matches | Troubleshooting tip |
|---|---|---|
DOMAIN / DOMAIN-SUFFIX | A full domain name or domain suffix. | Check the name used by the actual request, including additional domains requested by the page. |
IP-CIDR / IP-CIDR6 / GEOIP | The destination address's range or network. | Check the resolved address and address family; different results may match different rules. |
FINAL | Requests that did not match any earlier rule. | Confirm that the request actually reaches the fallback; it cannot explain requests already handled by an earlier rule. |
Account for cache differences before changing settings
After a network change, existing connections and DNS cache entries may still be active. The same page might work on a second attempt while a new page fails. End the current session, disconnect and reconnect, then test a destination you have not visited before but know normally works. If results differ across devices, check whether the browser or app uses its own DNS settings. Temporary improvement after clearing a cache does not prove the issue is fixed. Repeat the test after the next network change or cold start to see whether it recurs under the same conditions.
If you have narrowed the problem down to a custom resolver, revert only that setting in a copy of the configuration and test again. Preserve administrator-required settings on managed networks, especially for intranet domains; do not casually replace them with a public resolver. If reverting makes no difference, restore the original value and check the policy that actually matches the domain and the resolver's access requirements. If it helps, note the network, domain type, and setting involved before deciding whether to keep the change. Do not change DNS, servers, and rules at the same time.
07 Background activity
Unexpected battery drain: Compare charging, screen-lock, and network-change conditions
First distinguish battery usage share from actual battery drain
The battery usage percentage in system settings shows an app's share of usage during a selected period. It does not mean the battery level fell by the same number of percentage points. The share can be high when the device is idle and other apps use very little power. Check the actual battery-level change for the period in the graph, whether the screen was on, whether the device was charging, and whether the main activity was downloading or running with the screen off. A screenshot of the usage ranking alone rarely explains the problem; use it to identify a time period to investigate.
Choose two periods with similar conditions and enough difference to compare: same location and network, similar screen use, charging status, and background activity, with the connection on for one period and off for the other. Record the starting and ending battery levels and any network changes. Use the same device rather than comparing against another device with a different battery condition. If a task depends on the VPN, pause it while disconnected so automatic retries do not skew the baseline. If the difference is small, observe longer instead of changing several settings.
Check whether battery drain coincides with reconnects, tests, or logging activity
Repeated connection attempts can increase activity when Wi-Fi reception is weak, the device switches between networks, or the server connection is unstable. If battery use rises when leaving Wi-Fi, entering sleep, or reconnecting, test on one stable network first without changing servers. If the issue stops, check whether the On Demand trigger conditions match your usual use. Save the original settings and try manual connection briefly for comparison. If your organization requires on-demand connection, ask the administrator whether changes are allowed.
Troubleshooting may involve repeated Connectivity Test runs or checking detailed logs, but those diagnostic actions create extra network activity. After reproducing the issue, stop repeated tests and turn off any detailed logging enabled temporarily for troubleshooting, then compare normal usage. If battery drain occurs only while running tests, do not assume the same pattern applies during extended standby. Conversely, if the battery continues to drain while the device is idle, compare the time period in the system graph with app sync, system updates, and other background tasks.
Compare server behavior before deciding whether to restore settings
If you can reliably reproduce the issue and it seems limited to one entry, briefly test another known-good entry you already have while keeping the network and task unchanged. If things improve, briefly retest the original entry to make sure Wi-Fi conditions did not simply recover. If both entries show the same problem under the same conditions, broaden the investigation to system activity and the network instead of changing protocol settings one by one. If the device gets noticeably warm even while disconnected, first check normal system load, charging conditions, and battery health.
When finished, restore non-problem settings in the order you changed them, especially any On Demand setting that is required. Record the connection switch state, wireless conditions, foreground or background use, whether data was syncing, and the time period shown in the battery graph. Do not turn a brief, unverified drop into an “hourly battery use” estimate. Observe again under similar conditions to decide whether a change is worth keeping.
08 Updates and recovery
Problems after an update: Check data, permissions, and active configuration
Record what changed; timing alone does not prove cause
“It broke after an update” could mean an app update, system update, subscription refresh, or replacement of a configuration file. Note exactly which one happened and whether the error occurs on launch, while connecting, or when accessing a particular destination. If several changes happened the same evening, record only the sequence you can confirm. For example, “The app opens, but the selected entry disappeared after the subscription refresh” is more useful than “The new version does not work.” Check the current configuration list and file source if needed, but do not edit files to try to recreate the update.
Start with checks that do not change data: can the app open, are the original entries still visible in Home, is Config still using the expected file, and does system VPN access need confirmation? If the issue occurs only on the first launch after an update, close and reopen the app, then try a cold start on the original network. A delay after launch does not mean the entries are corrupted. Do not delete the app, clear data, or repeatedly overwrite imports until you have confirmed that a backup can restore them.
Choose what to restore based on the symptoms
If the app opens normally but the switch immediately turns off, follow Connection switch and check permissions and whether another VPN is running. If the switch stays on but only some sites fail, first check the active Config and selected entry instead of rebuilding system permissions. If you confirm that a subscription update made the selected entry disappear, select another known-good entry to test the connection. If a configuration file was updated, compare it with your saved original copy, then check rules or DNS settings that actually changed.
If the configuration comparison resolves the issue, keep both the original and current versions and compare them one change at a time. Check manually added rules, required resources, and whether the correct file was selected after reimporting. Restoring the original configuration is a diagnostic step, not a rollback of the app. If the only change was a system update and multiple VPN or network apps show similar issues, record the system-level behavior and check network permissions and device management status. Do not rush to replace every server entry.
Protect local data before reinstalling
If you decide to reinstall, first preserve configurations and server details you can restore, then check the appropriate device option on the Download for all platforms page. Get the iPhone / iPad version from the App Store product page for a one-time purchase of $2.99; check the App Store listing for system requirements. The Mac (Apple Silicon and Intel), Windows, Android, and Linux versions are free; installers are available only from this site's /dl/shadowrocket/ paths. If an installation prompt appears on a computer or Android device, verify the source and platform, then read the installation guidance for your system. Follow your organization's installation policy on managed devices.
Before reinstalling on iPhone / iPad, check Restore Purchases for the original purchase account and eligibility. Restoring a purchase applies to app access; it does not restore your Config or server details. On first launch, run a minimal check: restore one entry you know works, test the switch, status, and access, then restore rules and other data. If the issue persists, note which step brought it back. An error reproduced with a minimal configuration is easier to verify than one that appears only after restoring everything.
09 Tablet setup
iPad-specific troubleshooting: Separate network changes, background behavior, and management restrictions
Confirm which network path the iPad is actually using
If an iPhone connects but an iPad does not, first check whether both devices are really on the same network. The iPad may be connected to guest Wi-Fi or using the iPhone's Personal Hotspot. A cellular iPad may also switch networks after leaving Wi-Fi. For comparison, keep both devices on the same Wi-Fi network you can use, leave them in the same location, and test ordinary webpages with the connection off. If the iPad cannot load pages while disconnected, troubleshoot its network access first.
If the issue happens only with a hotspot, test it as a separate network: first confirm the iPad is connected and can browse ordinary pages, then open Shadowrocket on the iPad. Do not infer how downstream hotspot traffic is routed from the VPN switch on the iPhone. Note whether VPN is enabled on both the phone providing the hotspot and the iPad using it; avoid changing settings on both devices at once. A Wi-Fi-only iPad needs a working Wi-Fi network or hotspot before you can tell whether a server is at fault.
Test foreground use, Split View, and recovery after locking separately
Keep Shadowrocket in the foreground with the full Home screen visible. Check the selected entry and Global Routing, then open a browser and visit two test destinations in sequence. If the issue occurs only in Split View, after switching apps, or after unlocking, note the trigger and what happened: did the connection switch change, did the system VPN status change, or did only an existing session in another app fail to resume? Test one action at a time. Locking the screen, leaving network coverage, and switching apps all at once makes the trigger hard to identify.
If an old page stalls after waking, repeat the same test in a new tab to see whether only the old session failed. If the new request also fails, check whether the network changed from Wi-Fi to a hotspot or cellular. Note the original settings, then temporarily turn off On Demand and compare with a manual connection to see whether the issue coincides with an automatic trigger. If it still happens, restore the original settings and focus on network switching or session recovery. If Split View hides part of the interface, exit Split View before testing; do not infer a disconnection from a status icon moving on screen.
Check each device's configuration and management status separately
Even when using the same purchase account, the two devices may have different local configurations, selected server entries, and system VPN permissions. Check the actual values shown on each device. For comparison, copy only configurations and server details you are authorized to use; do not overwrite a file that is working on the other device. If the iPad is managed by a school or employer, configuration restrictions, mandatory connections, or a VPN limited to specific apps may explain why it behaves differently from a personal device. Record the system prompt and affected apps, then ask the administrator to check the policy. Do not remove the management configuration.
After troubleshooting, check three scenarios: foreground access on the original Wi-Fi, access after locking and waking on that same network, and the first access after switching to another network that actually works. If only the third fails, check that network's access and DNS, then see whether the connection needs to be restored manually. If the issue occurs only in managed apps, give the administrator the comparison results from a regular browser. Focus the final record on which device, network, and action preceded the failure, rather than attributing everything to the iPad or server.