Shadowrocket Timeout and Connection Issues: Check Latency Tests, Protocol Settings, and System Time

When a server times out or won’t connect, troubleshoot in order: check the latency test, verify protocol settings, then check your device’s date, time, and time zone.

At a glance

This guide is for users who have imported their own connection details but are experiencing timeouts on an iPhone or iPad. Start by keeping test conditions consistent. Compare results to determine whether the problem affects one server, the current network, or just one website. Then use those results to decide whether to check the port, authentication details, or system clock. Keep the original configuration and change only one setting at a time.

Step 1: Use Connectivity Test to identify the scope of the timeout

In Home, confirm which entry is selected, then run Connectivity Test. Note whether you’re using Wi-Fi or cellular data, whether the connection toggle is on, and whether the result shows a latency in milliseconds or a timeout. Use the same test method when comparing results. If you change the test target, the results are no longer directly comparable.

  1. Retest the same entry on the same network. Keep the server, network, and connection state unchanged, then run the test again. A single timeout doesn’t mean the service has stopped working. If it times out repeatedly, run the two comparisons below.
  2. Try another existing entry on the same network. If only the original entry keeps timing out, first check its address, port, and service status. If you don’t have a second entry, skip this comparison; there’s no need to obtain additional test details.
  3. Try the same entry on another network. For example, if cellular data is available, switch from Wi-Fi to cellular and test again once the network has connected. If it fails only on a particular Wi-Fi network, first check whether you need to sign in through a captive portal and whether ordinary websites load on that network. Don’t change protocol settings yet.
ms
Latency is measured in milliseconds; it is not download speed
443
The default HTTPS port isn’t the default port for every server
TCP / UDP
The same port number used with two different transport protocols doesn’t mean it’s the same service

How to assess the results: first check which entries and networks are affected

For example, if the same entry times out repeatedly on Wi-Fi but returns 180 ms on cellular data, troubleshoot that Wi-Fi network first; don’t change the entry’s authentication details. The 180 ms figure is only an example of how to compare results, not a threshold for normal or abnormal latency. Even a successful latency test only confirms that this test succeeded; it doesn’t prove that traffic from every website or app can get through.

Step 2: Check the protocol, address, and port one by one

Open the failed entry’s edit screen in Home and compare it with your existing service details. Don’t guess the protocol from the entry name, and don’t enable TLS just because the port is 443. The entry name is for identification; the protocol, server address, port, authentication details, and transport settings determine whether it can connect.

  1. Check the address and port first. Make sure the domain or IP address was entered correctly and confirm whether the port has changed. If your service details list the address and port separately, enter each in its corresponding field. Don’t replace a domain in the address field with an IP address on your own: this may change how the address resolves or affect TLS verification that relies on the hostname.
  2. Next, check the authentication details. For Shadowsocks, verify the encryption method and password. For VMess and VLESS, verify the UUID and make sure the correct protocol is selected. For Trojan, verify the password. Don’t swap credentials between entries or include them in troubleshooting notes or screenshots.
  3. Finally, check the transport and TLS settings. If your details specify WebSocket, verify the path and the specified Host. If they specify TLS, check the provided fields, such as SNI. The server address, Host, and SNI serve different purposes and may not have the same value.
  4. Check whether the protocol relies on UDP. Hysteria2 uses UDP-based QUIC, and WireGuard also uses UDP. Being able to open regular HTTPS websites doesn’t prove that the UDP path required by the server is available. If the same configuration fails on only one network, leave its settings unchanged and compare networks as described in Step 1.

If the problem started after importing or updating, compare the currently selected entry with the latest details before changing the entire Config file. A timeout when updating a subscription and a timeout when connecting with an imported entry are separate issues: the first concerns access to the subscription URL; the second concerns the server and its configuration. One result doesn’t tell you what’s happening with the other.

Step 3: Check the system time and time zone

On your iPhone or iPad, go to system Settings → General → Date & Time and check the date, time, and time zone. If available, enable Set Automatically. These are system settings, not Settings in Shadowrocket. After correcting them, rerun the test with the original network and entry so you don’t mistake the effect of a network change for a clock fix.

Use the error message to distinguish a timeout, a refused connection, and a certificate error

These are common English messages for system network errors. Whether the original text appears, and exactly how it’s displayed, depends on the stage of the failure and the system language. If the interface shows only a brief message, record the text you actually see rather than substituting one of the examples below.

Error: The request timed out.

Cause: The request didn’t complete within the allotted time. This message alone doesn’t identify whether the issue occurred during name resolution, connection, or response. What to do: Keep the settings unchanged, test the same entry on another network, then compare it with other existing entries on the original network.

Error: Connection refused

Cause: The connection attempt was explicitly rejected by the destination or an intermediary device. A common reason is that no service is listening on the destination TCP port. What to do: Check the address, port, and transport against your service details. If they’re correct, ask your service provider to confirm that a service is running on that port.

Error: NSURLErrorDomain (-1202)

Cause: The system reports that the server certificate isn’t trusted. The error code alone doesn’t tell you whether the issue is the clock, hostname, or certificate chain. What to do: Check the device time first, then verify the hostname and SNI against your original details. If the error persists, give your service provider the error code and the time it occurred.

Connected but websites still won’t load: check Global Routing

The connection status in Home only indicates that the local proxy configuration is running; it doesn’t prove that every request was successfully sent through the selected server. If the connection is on but websites won’t load, note the current Global Routing option, then try the same affected domain on the same device and network.

Why won’t websites load even though the latency test shows a result?

If Global Routing is set to Direct, requests usually don’t go through the selected server. If it’s set to Config, the route depends on the active configuration. Note the original setting, then try the same website once with Proxy as a comparison. Restore the original setting afterward. If the problem occurs only with Config, check the active rules in Config and its FINAL fallback rule.

Should I reimport the server if only one website won’t load?

First, use the same entry to visit another website that normally works. If it loads, note the failed domain and the browser message, then check whether the website itself is unavailable, DNS resolution is failing, or a different rule applies to that domain. Don’t replace all entries when only one website is affected.

It works on cellular data. Should I change the original settings?

Not yet. Check whether the original Wi-Fi network requires a captive portal sign-in or whether regular websites are also having trouble. If the entry works on every network except that Wi-Fi, record the results from both networks; this is more useful for diagnosing the issue than repeatedly changing the port.

I’ve checked all three steps. What information should I include when reporting the issue?

Record the device type, time of failure and time zone, network type, protocol, test results, full error text, and whether one or multiple entries are affected. If the issue occurs only with a particular routing option, include that too. Before sending, redact passwords, UUIDs, private keys, and subscription URLs that contain tokens.

Download Shadowrocket