If your provider has supplied a Hysteria2 connection, first check that your current network can reach the server’s UDP port, then verify the authentication and TLS settings. Once connected, compare page loads and sustained downloads on the same network. A single Connectivity Test result cannot tell you which connection is more stable.
Why Hysteria2 uses QUIC and UDP
Hysteria2 uses QUIC to carry data between the client and proxy server, with QUIC packets transported over UDP. UDP itself does not provide retransmission or ordered delivery. QUIC adds loss recovery for reliable streams, flow control, and congestion control, and integrates TLS 1.3. Choosing Hysteria2 changes the connection between your device and the proxy server; it does not mean the connection between the server and the destination website also uses QUIC, nor does it turn ordinary web requests into unreliable UDP datagrams.
Speed differences mainly come from handshakes, multiplexed streams, and congestion control—not from UDP being inherently faster. QUIC combines the cryptographic handshake with connection establishment. Compared with a connection that first establishes TCP and then completes a TLS handshake, the initial connection can save a round trip. However, resolving the server address, validating it, and proxy authentication can still take time. Reused connections also should not be compared directly with a cold start.
- Data is still delivered in order within each stream: If a reliable stream is missing a piece of data, later data must wait until the missing piece is recovered. A large file on that stream cannot skip missing data just because it uses QUIC.
- Streams can progress independently: If stream A is missing data but stream B has everything it needs, stream B does not have to wait for A. If a lost packet carried data for both streams, however, both may be affected. They also share the connection’s congestion control and available link capacity.
Choosing for packet loss, UDP restrictions, and stable networks
Packet loss does not always mean congestion at the network exit. Wireless interference can cause occasional loss while capacity remains available. A congested shared exit can also cause loss, but increasing the sending rate in that case can add queueing delay. Hysteria2 supports Brutal congestion control, which targets a configured bandwidth and can increase the sending rate to compensate when it detects loss. Whether to use this mode depends on the implementation and configuration; the protocol name alone is not enough to decide. Setting a target above available link capacity can increase latency, retransmissions, or reduce effective throughput.
UDP reachable, occasional packet loss
RecommendedInclude your existing Hysteria2 connection in a side-by-side test first. Check whether sustained transfers repeatedly pause and whether pages still start loading promptly while a download is running.
Good fit: occasional wireless packet loss, with the provider’s UDP port reachable
UDP reachable, stable link
When packet loss is low, destination-site throttling, the server’s outbound capacity, or DNS response times may affect performance more than the transport protocol. If your current connection completes tasks reliably, there is no need to switch based on the protocol name alone.
Good fit: stable wired or strong Wi-Fi connections; compare based on your actual tasks
UDP restricted, handshake times out
A network allowing access to TCP port 443 does not necessarily allow access to UDP port 443 at the same address. If network rules prevent access to the required UDP port, use another connection method your provider offers that complies with those rules.
Good for identifying network access restrictions—not repeatedly changing authentication fields
Bottom line: distinguish reachability issues from unstable transfer
If the same profile connects over cellular but repeatedly times out on a particular Wi-Fi network, first check that network’s authentication, DNS, and UDP access requirements. If it connects on both networks but transfers are unstable, test latency when idle and under load, and note which network sees the pauses.
Hysteria2 settings in Shadowrocket
The steps below use the English interface on iPhone / iPad. Before adding a connection manually, get the server address, port, and authentication value from your provider, along with any TLS settings they specify. If you use a subscription, get it from your provider. If the connection is already imported, check its type and settings in Home instead of adding a duplicate. Do not use a subscription URL as the server address for a single connection.
Choose the connection type
In
Home, tap “+” in the upper-right corner to openAdd Server. OpenTypeand selectHysteria2. The selected type must match the protocol specified by your provider.Enter the address and port
Enter the domain name or IP address specified by your provider in the address field, and their specified number in the port field. Even if 443 is a common example, use the port your provider gave you. If the app has separate address and port fields, do not combine them in the address field.
Enter the authentication value
Enter the Hysteria2 authentication value from your provider in
Password, exactly as given. If it contains a colon, enter the entire value without splitting it. Do not substitute parameters from a subscription URL for the authentication value.Check the TLS settings
Enter the
SNIspecified by your provider and leave certificate verification enabled. The server address and the domain on the certificate may differ, especially when the address is an IP. If the certificate name does not match, ask your provider to verify theSNIand certificate configuration rather than disabling verification.Save and test the connection
If your provider explicitly requires
Obfs, enter the specified type and matching obfuscation password. This password is not the connection’s authentication value. After saving, return toHome, select the profile, and runConnectivity Test. Then connect and check performance using the destinations you normally access.
Troubleshooting timeouts and unstable speeds
First note whether the failure happens before the connection is established or after data transfer begins. When testing the same profile, change one condition at a time—for example, keep all settings unchanged and switch between Wi-Fi and cellular. Before making changes, record the address type, port, and error text. Do not send your authentication value or full subscription URL when contacting your provider.
| Issue | Check first | How to tell |
|---|---|---|
| Handshake timeout | Server address, actual UDP port, and current network access requirements | If the address is a domain name, first confirm that it resolves on this network. Then test the same profile on another network where access is permitted. A single timeout is not enough to conclude that UDP is blocked. |
| Certificate or authentication error | For certificate errors, check SNI and the system clock; for authentication errors, check Password | Use the error message to distinguish certificate verification failures from authentication failures. If Obfs is enabled, also confirm with your provider that the type and settings match on both ends. |
| Test succeeds, but a specific website will not open | Home → Global Routing, and the rules currently enabled in Config | In Config mode, the test destination and the website you are trying to reach may match different rules. First check whether traffic to that website is routed through the selected connection; do not assume a rule issue is a protocol failure. |
| Connects, but stalls during sustained downloads | Data downloaded, transfer pauses, and latency before and during load | If latency rises noticeably only during downloads, first check whether the link is queued or saturated. Then ask your provider whether the target bandwidth is set higher than the capacity actually available. |
Compare latency and sustained throughput using the same task
The millisecond result from Connectivity Test shows the response for that test; it is not a pure measurement of link round-trip time and does not represent sustained download throughput. Page load times also depend on DNS, connection reuse, the number of resources, and the destination server’s response. File downloads are more likely to reveal persistent packet loss, queueing delays, and server throttling.
- Keep test conditions consistent. Use the same device, network, destination, and a similar time of day. Keep
Global Routingmode and its rules unchanged. If the two profiles use servers in different locations or have different exits, the results only show how those profiles perform under the current conditions; they cannot isolate Hysteria2 as the cause. - Test short requests separately from sustained transfers. For short requests, note when the page starts displaying and when its main content finishes loading. For sustained transfers, use the same file you are authorized to access and record the effective download amount and any pauses over the same observation period. Do not count results served from the browser cache without a new request.
- Alternate tests and keep anomalous results. Test each connection at least three times, alternating between them to reduce the effect of changing network conditions. Keep records of timeouts and mid-transfer pauses; do not select only the fastest run. If short-request results are similar but one profile often stalls during sustained downloads, choose based on your actual use rather than ranking by milliseconds alone.
Get Shadowrocket
The iPhone / iPad app costs $2.99 as a one-time App Store purchase. Check the App Store listing for system requirements. Verify the developer is Shadow Launch Technology Limited and the app ID is 932747118. The Mac (Apple silicon and Intel), Windows, Android, and Linux versions are free; get installers from this site’s download page.