AnyTLS unstable in Hiddify app when subscription link is added without /sub/ (stable with /sub/ and in other apps)

Open
#5,680 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
53/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend

Research direction

Compare the AnyTLS outbound generated for the Hiddify app format (without /sub/) with the /sub/ share-link output; the issue does not name the generating files or tests. Start by tracing how each subscription path builds its AnyTLS configuration, then check the relevant outputs for differences. Done when the two paths produce equivalent AnyTLS behavior and the Hiddify app connection is stable with either link.

Written by the indexing model from the issue text.

Description

bug useful

Summary

AnyTLS configs from a Hiddify Manager subscription are unstable in the Hiddify app when the subscription link is added without /sub/: the connection only works sometimes. The same configs are always stable:

  • in other client apps (with the same link), and
  • in the Hiddify app when the link is added with /sub/.

Details

  • Protocol: AnyTLS.
  • Link without /sub/ (auto-detected format for the Hiddify app): connects only occasionally / unstable.
  • Link with /sub/ (plain share-link subscription): always stable in Hiddify.
  • Other apps: always fine.

Likely cause (unverified)

Without /sub/, the panel serves a format generated specifically for the Hiddify app (sing-box JSON / auto). The AnyTLS outbound generated in that format probably differs from the share link (e.g. TLS/SNI, ALPN, fingerprint, padding or idle-session settings), which would explain why the same server is stable via /sub/ and in other apps.

Expected

AnyTLS should behave the same whichever subscription path is used. Please compare the AnyTLS outbound produced for the Hiddify app (link without /sub/) with the one produced from the /sub/ share link and fix the difference.

Dominant language
Python
Stars
9.5k
Forks
1.1k
Avg merge
1d 2h
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hiddify/Hiddify-Manager

All issues in hiddify/Hiddify-Manager

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.