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

Getting a timeout or can’t connect? Test latency first, check the port, password, transport, and other protocol settings, then verify your device’s system time.

At a glance

For users who have imported their own configuration but see tests time out or can’t access sites after connecting in Shadowrocket. Retest the same entry on two networks, compare its protocol settings with the original configuration, then check your device’s time. Examples use the iPhone / iPad interface and explain when to check routing rules instead of changing the node again.

Test latency first: Is one node timing out, or the whole group?

timeout means the test didn’t receive the expected result within the allotted time. It doesn’t necessarily mean the password is wrong or the server is down. Check three things separately: whether Connectivity Test returns a result, whether the switch at the top of Home stays on, and whether an actual request succeeds. These checks aren’t interchangeable.

  1. Select the entry to test

    Open Home, select the entry you want to troubleshoot under SERVER, and check that it’s marked as selected. If the list contains duplicate names, especially after refreshing a subscription, make sure the test and the actual connection use the same entry.

  2. Retest on the current network

    On Home, tap Connectivity Test and note whether you get a latency in milliseconds or timeout. Wait a moment and test again. If another entry is already working, test it on the same network for comparison. There’s no need to add a new configuration just to troubleshoot.

  3. Switch networks

    Test the same entry the same way after switching from Wi-Fi to cellular data. If cellular data isn’t available, try another Wi-Fi network that can access the internet. For Wi-Fi networks that require sign-in through a web page, make sure you’ve completed authentication first. Don’t change the port, protocol, or test target at the same time, or you won’t know what caused the difference.

  4. Check an actual request

    Return to Home, turn on the switch at the top, and confirm the system VPN connection is established. Then try opening a page you can normally access without signing in. If the switch turns off immediately, check whether the system allows VPN configurations and whether another VPN is taking over the connection. If the switch stays on but the page won’t load, check the outbound connection and routing rules.

2 types
Compare networks: Wi-Fi and cellular data
443/TCP
HTTPS’s default port—not the port for every node
UDP
The transport protocol used by Hysteria2’s QUIC

If switching networks fixes the same entry, keep its original settings for now

If the entry times out repeatedly on Wi-Fi but both the test and actual requests work on cellular data, first check Wi-Fi authentication or network restrictions. For entries that use UDP, a regular HTTPS page loading on the same Wi-Fi doesn’t rule out a problem with the UDP path.

Understand the error: timeout, connection refused, or certificate verification failure

The test list may show abbreviated errors. If connection details provide the full message, use that and note whether the error occurs during a test, subscription refresh, or actual browsing. For example, a certificate error during subscription refresh may involve the subscription URL’s HTTPS connection, not the node itself.

timeout

Cause: The test didn’t finish in time. The issue may be with name resolution, establishing the connection, or waiting for a response to the test request. Fix: Retest the same entry on another network, then check whether other existing entries can pass the same test on the original network.

Connection refused

Cause: The connection attempt was explicitly refused. This often means no service is listening on the target TCP port, though a network device may also be refusing the connection. Fix: Compare the address and port with the original configuration. If they match and the error keeps occurring, ask your service provider to confirm that the endpoint is still listening.

The certificate for this server is invalid.

Cause: Certificate verification failed. This can happen if the server name doesn’t match, the certificate is outside its validity period, or the trust chain has an issue. Fix: Check the target name in the error and your device’s date. If the error occurs during the proxy handshake, compare SNI with the original configuration. Don’t disable certificate verification to bypass the warning.

Check protocol settings: address, port, credentials, transport, and TLS

If the same entry fails on two networks while other existing entries work, return to the SERVER list on Home, open the entry details, and compare each setting with your original configuration. For entries managed by a subscription, first confirm that the refresh succeeded. After a failed refresh, the list may still contain an old entry—don’t assume its settings are current.

ProtocolAddress and portCredentialsTransport settingsSecurity settings
  • Address and port: Make sure the server domain or IP address is correct and the port matches the original configuration. Some configurations use 443, but don’t change another port to 443 without a reason. Don’t replace a domain with its resolved IP as a quick fix: the server may select an endpoint based on the domain, and certificate verification may depend on that name.
  • Credentials: For Shadowsocks, check the encryption method and password. For VMess and VLESS, check the UUID. For Trojan, check the password. When copying, watch for leading or trailing spaces, line breaks, and full-width characters. Entries with the same name don’t necessarily use the same credentials.
  • Transport settings: For entries using WebSocket, check the Path specified in the original configuration and, if explicitly set, the Host. Preserve the leading slash in the path. For Hysteria2, check the port and authentication details, and use the results from switching networks to determine whether the UDP path is working.
  • Security settings: Check whether TLS is enabled and whether SNI is specified. The server address identifies the connection target; SNI is the server name sent during the handshake; and Host in WebSocket is part of the HTTP request. These values may or may not match, so keep them as specified in the original configuration.

Check system time: certificate validity and VMess authentication

If your device’s date or time is inaccurate, a certificate may appear not yet valid or expired. VMess authentication may also fail if the client and server clocks differ. The time zone and the actual clock are different: changing the time zone won’t fix an incorrect clock.

  • On your iPhone / iPad, open Settings → General → Date & Time. Check that Set Automatically is on and that the date and local time are correct. These are your device’s system settings, not Settings in Shadowrocket.
  • After correcting the time, return to Home and run Connectivity Test again with the same entry. Then reconnect and try an actual request. Don’t rely on test results from before the correction.
  • If the certificate error persists with the correct time, check SNI. If the settings match too, ask your service provider to check the server certificate’s validity and chain. If VMess authentication still fails despite matching credentials and a correct device clock, ask them to check the server clock as well.

Latency is normal but pages won’t load: check Global Routing

A latency result only means the selected test received a response. It doesn’t mean every app’s requests use the same proxy. If only one domain fails, check Home → Global Routing first instead of entering the password again.

  • Under Config, check the first matching rule for the domain in the current configuration, starting from the top, and the policy assigned to that rule. For example, if an earlier DOMAIN-SUFFIX rule matches DIRECT or REJECT, later rules and FINAL won’t select a different outbound route for that request.
  • On a regular test page that allows proxy access, note the current mode, temporarily switch to Proxy, and try the same address again. If it loads with Proxy but not with Config, switch back and check the matching rule and the outbound route selected by its policy. Don’t leave the temporary test mode in place as a permanent fix.
  • If the issue starts after waking the screen or switching between Wi-Fi and cellular data, and the switch at the top changes state, check the conditions under Shadowrocket’s Settings → On Demand. First determine whether the system connection state changed or the connection is still active but requests are failing.
Download Shadowrocket for free