mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4641] [Bug]: Version 3.2.0: Clash Verge subscription groups disappear after refreshing again. Only version 2.9.4 works correctly with x-ui #3195
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#3195
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LORD07Sson on GitHub (May 29, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4641
Describe the bug
I added my subscription to Clash Verge, and when I click "Update Profile" it immediately disappears and becomes invisible, as if there is no profile name at all. The only workaround is switching to Global Mode, but Rule Mode does not work
How to reproduce the problem
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.2.0
Xray-core version
26.5.3
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 24.04
Which parts of the panel are affected?
Subscription (share links / Clash / JSON)
Browser (only if it is a UI bug)
No response
Is the panel behind a reverse proxy or CDN?
No — direct access
Before submitting
@MHSanaei commented on GitHub (Jun 1, 2026):
Fixed in commit
d29a17d3.Root cause: the Clash generator could emit proxies with an empty or duplicate
name.genRemarkreturns an empty string for an inbound with no remark (or when the remark model depends on the email, which the Clash path drops), and that empty string was used as the proxy name.Verified against
mihomo -t(the engine Clash Verge Rev uses):proxy is the duplicate name), so the profile disappears/becomes invisible on refresh.PROXYgroup, which collapses to[DIRECT]→ Rule mode routes everything direct ("Rule Mode does not work") while Global still works via the auto-builtGLOBALgroup.Fix:
ensureUniqueProxyNamesnow guarantees every proxy has a non-empty, unique name before the config is assembled (empty names fall back totype-server-port; collisions get a numeric suffix). Confirmed the previously-rejected config now passesmihomo -t. Added a regression test.This will be in the next release.