mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4552] [Bug]: Ignoring balancer's member and bad ping values #3120
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#3120
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 @gomanuke on GitHub (May 25, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4552
Describe the bug
3 1 0 looks as good and hard work. Appreciate You!
When balancer has three members in Round Robin just first two of them is using. I observed it long time and lot of reconnecting made to initiate Round Robin to work.
Also least ping also can't work because of wrong ping values for hysteria2 outbounds.
How to reproduce the problem
Create balancer with one xvless and two hysteria2 outbouns in Round Robin mode.
"balancers": [
{
"tag": "ALL",
"selector": [
"host1.xvless",
"host2.hy2",
"host3.hy2"
],
"fallbackTag": "direct",
"strategy": {
"type": "roundRobin"
}
}
]
Make a routing as
{
"type": "field",
"network": "TCP,UDP",
"balancerTag": "ALL"
}
Use hiddify or happ client to connect that host and reconnect again several times to initiate Round Robin logic.
Just first two hosts of balancers are using.
And ping for hy2 host looks (in comparison with 2 9 4 version) abnormal so balancer with least ping option can't be used.
Expected behavior
Balancer should use all hosts in Round Robin.
Ping must shows normal values as 2 9 4 did it for balancer in least ping mode.
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.1.0
Xray-core version
No response
How did you install 3x-ui?
install.sh script
Operating system
Debia 13
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
@gomanuke commented on GitHub (May 25, 2026):
It's a definitely a problem of outbound's accessibility determining.
I noted that 3 1 0 determine a accessibility of host as follows:
TCP
HTTP
But 2 9 4 doesn't have that ptoblem in determining of accessibility of outbound...
Host 2 and host 3 is reachable by hysteria 2 from clients withou any problem... But 3 1 0 thinks that host 2 is not accessible and remove it from balancer...
@gomanuke commented on GitHub (May 25, 2026):
I'd investigate it if understand what does it mean...