hiddify-next icon indicating copy to clipboard operation
hiddify-next copied to clipboard

Regression: VLESS + REALITY (Vision) works in 2.0.5 but fails on Russian mobile networks in 4.0.4

Open CypBrah opened this issue 9 months ago • 12 comments

Search first

  • [x] I searched and no similar issues were found

Platform/OS

Android

OS version

HyperOs 2.0

Hiddify Version

v4.0.4

What Happened?

Hello,

I have a reproducible regression between Hiddify 2.0.5 and Hiddify 4.0.4.

Environment

Protocol: VLESS + REALITY + Vision

Transport: TCP

No xHTTP

Same server

Same profile

Same TLS-tricks settings

Russian mobile networks (LTE/5G)

Behavior

Hiddify 2.0.5 → works perfectly on Russian mobile networks.

Hiddify 4.0.4 → connection establishes but traffic stalls or fails on the same mobile networks.

Wi-Fi works normally.

Nothing changed on the server side. Only the client version changed.

This strongly suggests a client-side regression in 4.0.4.

Observed pattern

On Russian mobile networks, TLS connections to certain foreign IPs are frozen after ~15–20 KB of server→client traffic.

In 2.0.5, VLESS + REALITY (Vision) bypasses this successfully.

In 4.0.4, the connection stalls in a way that matches this DPI behavior.

This suggests that in 4.0.4 the TLS shaping (fragmentation, padding, mixed SNI case) may not be applied correctly.

What I suspect

It appears that in 4.0.4, TLS tricks may:

Not be applied to the REALITY outbound,

Be overridden internally,

Be canceled due to fragment + padding interaction,

Or not be parsed correctly (range values like "10-30" and "2-8").

If fragmentation is not actually applied, Russian mobile DPI sees a normal TLS handshake and freezes the connection.

In 2.0.5, this worked reliably. In 4.0.4, it behaves as if fragmentation is missing or applied differently.

Important technical possibility

In sing-box / Hiddify architecture, traffic flows through outbounds.

For VLESS + REALITY, traffic uses the "type": "vless" outbound.

Fragmentation must be applied to that outbound.

If fragmentation is instead attached to:

"type": "direct"

then it only affects direct (non-proxy) traffic.

VLESS REALITY traffic does not use the direct outbound.

So the situation could be:

UI shows fragment = enabled

Config contains tls_fragment

But it is attached to the wrong outbound

REALITY connection remains clean TLS

Russian DPI detects it

Traffic freezes after ~15–20 KB

This would fully explain why 2.0.5 works and 4.0.4 does not.

Parsing issue possibility

In 4.0.4, fragment values are defined as ranges:

"fragment-size": "10-30"

"fragment-sleep": "2-8"

If the new core does not correctly parse range values, fragmentation may not be applied at all, even if enabled in UI.

I will test using single numeric values (e.g. "5" instead of "2-8") to see if parsing is the issue.

What I already tested in 4.0.4

Switched tun-implementation back to "mixed" → no change

Disabled padding, kept only fragment → no change

Forced Xray core → no change

The issue persists only in 4.0.4.

What I kindly ask you to verify

Are TLS trick parameters actually forwarded to the core in 4.0.4?

Is tls_fragment applied to the VLESS REALITY outbound, not only to direct?

Did the core interface redesign change how tls-tricks are handled?

Does enabling padding disable fragment internally?

Are range values like "10-30" and "2-8" parsed correctly in 4.0.4?

Conclusion

This appears to be a regression introduced in 4.0.4.

Version 2.0.5 is currently the most stable for my use case and bypasses Russian mobile DPI reliably with VLESS REALITY (Vision).

Thank you for your work and for looking into this.

Minimal Reproducible Example (MRE)

.

Expected Behavior

No response

Additional Context

No response

Application Config Options

No response

Relevant log output

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • [ ] I'm willing to submit a PR (Thank you!)

CypBrah avatar Feb 21 '26 20:02 CypBrah

من هم در نسخه 2.5.7 مشکلی نداشتم بعد از به روزرسانی مشکل ریلود ناقص در صفحات و تصاویر رو دارم حذفش کردم و به نسخه 2.5.7 برگشتم مشکل رفع گردید

Shellgate avatar Feb 21 '26 21:02 Shellgate

To work in Russia, I had to roll back to 2.5.7. When connecting with version 4.0.4, the connection is established, but DPI doesn't allow traffic.

osinpaul avatar Feb 22 '26 09:02 osinpaul

Try change DNS (remote and direct) from UDP to dns-query: 8.8.8.8 -> https://8.8.8.8/dns-query

FlexIDK avatar Feb 22 '26 12:02 FlexIDK

Try change DNS (remote and direct) from UDP to dns-query: 8.8.8.8 -> https://8.8.8.8/dns-query

i ll also give it a try.. but why ? can you explain further? thanks!

CypBrah avatar Feb 22 '26 15:02 CypBrah

i ll also give it a try.. but why ? can you explain further? thanks!

Mobile carriers in Russia began blocking free public DNS servers starting in January. At minimum, Google and Cloudflare are confirmed to be affected. They still can’t block DNS‑over‑HTTPS, because the basic filtering setup allows the first 16 KB of traffic through, and a DoH request is smaller than 16 KB, so it gets past the block.

FlexIDK avatar Feb 22 '26 17:02 FlexIDK

i ll also give it a try.. but why ? can you explain further? thanks!

Mobile carriers in Russia began blocking free public DNS servers starting in January. At minimum, Google and Cloudflare are confirmed to be affected. They still can’t block DNS‑over‑HTTPS, because the basic filtering setup allows the first 16 KB of traffic through, and a DoH request is smaller than 16 KB, so it gets past the block.

Thanks for your reply. Tried it but it did not fix the problem. Thanks for the suggestion. We might have a discovery here, vless reality vision (TLC) works perfectly on Russian mobile carriers with version 2.0.5 yet doesn't work on latest hiddify version. I am not sure what the developers did right on the old version or what they did wrong on this newer version 🤔

CypBrah avatar Feb 22 '26 18:02 CypBrah

Thanks for your reply. Tried it but it did not fix the problem. Thanks for the suggestion. We might have a discovery here, vless reality vision (TLC) works perfectly on Russian mobile carriers with version 2.0.5 yet doesn't work on latest hiddify version. I am not sure what the developers did right on the old version or what they did wrong on this newer version 🤔

After the update, app stopped working on four of my devices (Megafon/Yota/Tele2). The logs showed a DNS connection error. After switching the DNS to DNS over HTTPS, everything started working again. Current app version: 4.0.5. VPN: vless

FlexIDK avatar Feb 22 '26 18:02 FlexIDK

i ll check again everything on version 4.0.5. and see how it goes - for megafon wifi it works too, the problem is with mobile connections. Anyway thanks for your reply once again.

CypBrah avatar Feb 22 '26 19:02 CypBrah

Had to also roll back to latest 2.* release Same issue on 4G, H+ and stationary (optic fiber, pair) connections in Russia

ceiling8cat avatar Feb 23 '26 06:02 ceiling8cat

Как пофиксил? Обновился на версию последнюю тоже пишет App not supported. Неизвестный IP Vless

benblendin avatar Feb 24 '26 13:02 benblendin

Я? Откатился на 2.5.7, но у меня чего-то сегодня Троян лагает

ceiling8cat avatar Feb 24 '26 14:02 ceiling8cat

Тоже ничего не помогло. На МТС не работает. Пришлось откатиться на 2.5.7 (все настройки по-умолчанию), там все ок.

OSZloyMuh avatar Feb 27 '26 06:02 OSZloyMuh