Hysteria 2: Connection Established but Large Downloads Freeze — What to Check
If Hysteria 2 connects but large downloads stall, check for UDP packet loss, MTU/fragmentation issues, bandwidth settings, and the QUIC network path.
Content of the article
- 1) clarify symptoms and scope before making any changes
- 2) check the udp path: loss, instability, and "udp being cut under load"
- 3) mtu and fragmentation: why "small transfers work, large ones stall"
- 4) bandwidth up/down: how wrong values can "freeze" large transfers
- 5) quick checklist: what to check and when
- Faq
Quick answer: If Hysteria 2 shows "connected" but large downloads or uploads freeze, the usual suspects aren’t TLS or a "dead server" but rather UDP quality on the route (loss/jitter), incorrect bandwidth settings (up/down), and/or MTU/fragmentation issues along the QUIC path. Start by observing and measuring, then make one safe change at a time, rolling back if performance degrades.
1) Clarify Symptoms and Scope Before Making Any Changes
First, separate whether the protocol itself stalls or if it’s just a particular app or source causing the hang. This saves time and guides the right troubleshooting approach.
- Only large traffic freezes (e.g., files/videos) but web pages load fine — this typically points to a mix of UDP loss and incorrect MTU or aggressive bandwidth limits.
- Freezes only occur on one network (mobile/public Wi‑Fi) but work fine elsewhere — likely a network factor like UDP quality, NAT quirks, provider rules, or overloaded Wi‑Fi.
- Freezes happen in only one direction (upload or download) — this often signals incorrect bandwidth settings or asymmetric losses on the channel.
- The problem emerges after some time (10–60 seconds in) — suggesting accumulated loss/retransmissions in QUIC or channel degradation under load.
It helps to note: network type (Wi‑Fi/4G/5G), device and OS, what app and load type you’re testing, exactly when stalling begins, and whether the issue disappears when repeating the test on another network.
2) Check the UDP Path: Loss, Instability, and "UDP Being Cut Under Load"
Hysteria 2 runs over QUIC, which uses UDP. So, a successful handshake doesn't guarantee UDP will reliably carry heavy traffic long-term. Some networks allow UDP sporadically but start dropping packets during volume spikes or sustained loads.
What to Diagnose
- Compare TCP and UDP behavior on the same network: if large traffic passes via TCP but stalls with Hysteria 2, it strengthens the UDP path issues hypothesis.
- Test if behavior changes by switching networks: Use the same Hysteria 2 setup on different Wi‑Fi or mobile providers. This safe "hypothesis test" requires no config changes.
- Check for competing traffic (updates, cloud backups) during the test. QUIC is sensitive to bufferbloat and queues on overloaded uplinks.
- Examine client/server logs for retries/timeouts/speed drops. Don’t share full logs with sensitive info — just redacted excerpts without secrets.
Safe (Reversible) Actions if UDP Issues Are Suspected
- Try a different UDP port on both server and client (and open it in the firewall). Some networks treat specific ports differently. It’s a reversible change—simply revert to the old port if needed.
- Check for double NAT or unstable Wi‑Fi. For home Wi‑Fi, try connecting closer to the access point or use a cable temporarily. This won't fix the Internet itself but rules out local causes.
- For mobile networks, try toggling connection types (e.g., switch between 4G and 5G) as a diagnostic step rather than a permanent fix.
3) MTU and Fragmentation: Why "Small Transfers Work, Large Ones Stall"
One common cause of stalls under load is MTU mismatch along the path. If packets get too large somewhere and fragmentation or Path MTU Discovery (PMTUD) fails, the connection can degrade sharply: small requests pass fine, but large streams lose segments, trigger retransmissions, and jam.
Diagnostics (without guessing a universal MTU)
- Compare behavior across network types: mobile networks’ MTU and tunnel setups often differ from home ISPs.
- Look for PMTUD problem signs: stalling at a consistent transfer size, sudden speed drops after starting, improvement when load is reduced.
- Ensure you’re not adding extra tunnels (VPN-over-VPN, corporate agents, virtual adapters). Each layer reduces effective MTU.
Safe (Reversible) Actions
- Reduce MTU on the client tunnel side gradually, watching results carefully. Make one change at a time and be ready to roll back. Exact parameters depend on your OS and client, so consult Hysteria 2’s docs and client settings.
- If using a router/firewall, temporarily disable any “smart” MTU or fragmentation features (like custom accelerators or optimizers). Try temporarily and restore if no improvement.
For detailed parameter names and options, refer to the official documentation: Full Client Config (Hysteria 2).
4) Bandwidth Up/Down: How Wrong Values Can "Freeze" Large Transfers
Hysteria 2 clients (and servers) rely on set bandwidth values. Setting these too low, too high, or inaccurately for your actual connection can paradoxically cause buffering, losses, and instability—especially on large streams.
What to Check First
- Ensure bandwidth values are set intentionally, not just guessing from your plan’s maximum. Real available bandwidth fluctuates greatly, especially in public Wi‑Fi and mobile networks.
- Check for asymmetry: uplink speed & stability is often worse than downlink. If upload is limited or unstable, it can throttle confirmations and flow control.
- Compare behavior without fixed bandwidth (if your client allows) or with more conservative settings.
Safe (Reversible) Actions
- Set bandwidth values more conservatively (lower the declared speeds) and retest large transfers. If stability improves, you’re close to the cause. If worse, revert.
- Change one direction at a time: adjust downlink first, then uplink. It’s easier to pinpoint which side affects throughput.
Parameter names and formats (including bandwidth and related options) vary by client implementation; match your config to the full config section in Hysteria 2 docs linked above.
5) Quick Checklist: What to Check and When
Here’s a practical order that usually yields the most info with minimal disruption.
| Step | Action | What it Confirms/Rules Out | How to Roll Back |
|---|---|---|---|
| 1 | Repeat large download on another network (different Wi‑Fi/mobile) | Network factor vs config/server | Simply return to original network |
| 2 | Compare: small requests OK, large freeze | Suspect MTU, UDP loss, or bandwidth issues | No rollback needed |
| 3 | Check client/server logs for timeouts/retries (without sharing secrets) | Indirect signs of transport problems | No rollback needed |
| 4 | Temporarily change UDP port on server/client | Port filtering/handling quirks | Restore previous port |
| 5 | Adjust bandwidth conservatively (one direction at a time) | Wrong bandwidth estimates causing stalls | Revert to original values |
| 6 | Gradually reduce client MTU in small steps | PMTUD/fragmentation on QUIC path | Restore original MTU |
FAQ
Why does Hysteria 2 connect but large downloads then freeze?
Because establishing a connection and short requests don’t demand steady high-volume transfer. Under load, UDP loss, uplink queues, fragmentation, and bandwidth misconfigurations come into play.
Is this definitely a client-side problem and not server-side?
Not necessarily. A quick way to differentiate is to repeat the scenario on another network. If it works fine elsewhere, the server is likely OK and the issue lies in your route or local environment. If it fails everywhere, check server logs, ports/firewalls, and configs.
Can I fix this just by increasing bandwidth?
Sometimes the opposite is true: setting bandwidth too high on an unstable network causes more loss and retransmissions, degrading large flows. It’s better to find realistic, stable values gradually and verify results.
Should I disable certificate or TLS verification just for diagnosis?
No. That’s unsafe and usually unrelated to "large downloads freezing" symptoms. This guide focuses on UDP quality, MTU, and bandwidth settings.
Where can I find the full list of Hysteria 2 client configuration options?
Check the official documentation for parameter names and configuration examples: Full Client Config. For a broader overview of the protocol and setup differences, see this detailed guide: Hysteria 2 — Full Overview and Setup.
When a personal server can help: If you find that freezes are caused by congested shared servers, neighbors sharing the same IP, or insufficient server resources, switching to a personal server with a dedicated IP can offer more predictable load and easier tuning. When it won’t solve the problem: If your issues stem from UDP quality or MTU on your route (like public Wi‑Fi, mobile networks, or ISP quirks), changing the server alone won’t fix freezes — you’ll still need to adjust ports, bandwidth, and MTU and test within your own network. vpn.how provides personal VPN servers with dedicated IPs; see current locations, protocols, pricing, and limits on their website and user portal: https://vpn.how/ru/.
Configuration note: virtual TUN interface MTU and QUIC path MTU discovery are different settings; do not copy values between them. Hysteria documents that bandwidth settings affect the use of Brutal; otherwise another congestion controller applies. Check client version and server limits first: there is no universal value for every network.
Publisher: vpn.how