mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5790] [Bug]: #4026
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#4026
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 @bastor78 on GitHub (Jul 4, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5790
Describe the bug
Panel version v3.4.2 does not set the Flow field to xtls-rprx-vision in client accounts when creating a client via the Telegram bot.
How to reproduce the problem
Create a client in the Telegram bot.
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.4.2
Xray-core version
26.6.27
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 24.04.4 LTS
Which parts of the panel are affected?
No response
Browser (only if it is a UI bug)
No response
Is the panel behind a reverse proxy or CDN?
None
Before submitting
@github-actions[bot] commented on GitHub (Jul 4, 2026):
This matches a previously reported, still-unresolved gap: #3700 (and the related feature requests #3881, #3908) — the Telegram bot's client-creation flow does not set or let you choose the
Flowfield for VLESS clients. A patch to add flow selection to the bot's client-creation menu was proposed in #3882 but was closed unmerged, so this remains unimplemented as of v3.4.2 (current latest release).Confirmed in the source:
SubmitAddClient(internal/web/service/tgbot/tgbot_client.go) builds themodel.Clientpassed toClientService.Createfrom onlyEmail, Enable, LimitIP, TotalGB, ExpiryTime, SubID, Comment, Reset, TgID—Flowis never set.fillProtocolDefaults(internal/web/service/client_crud.go) auto-generatesID/Password/Authper protocol on submit, but never touchesFlow.clientWithInboundFlow(same file) only clears an existingFlowvalue when the attached inbound can't use TLS flow (not TCP+TLS/REALITY, and not XHTTP with VLESS encryption); it never assigns a default.This isn't specific to the bot: in the web panel's client form (
frontend/src/pages/clients/ClientFormModal.tsx),flowalso defaults to an empty string and has to be picked manually from the Flow dropdown whenever the attached inbound is flow-capable. The Telegram bot's client-creation menu simply has no equivalent step yet, so clients created through it are always left with an empty flow, regardless of the inbound's transport/security settings.Workaround until this is implemented: after creating the client via the bot, open it in the web panel (Clients page) and set Flow to
xtls-rprx-vision, or callPOST /panel/api/clients/update/:emailwith"flow": "xtls-rprx-vision"in the request body.Marking this as a duplicate of #3700 since it is the same underlying limitation; further discussion should continue there.
This reply was generated automatically; a maintainer may follow up.