[GH-ISSUE #4552] [Bug]: Ignoring balancer's member and bad ping values #3120

Closed
opened 2026-10-31 20:30:12 +07:00 by bsakaguchi · 2 comments
Owner

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.

Image

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

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
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. <img width="662" height="333" alt="Image" src="https://github.com/user-attachments/assets/218ceb81-f960-45c6-af4e-ae4a525b4cfe" /> ### 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 ```shell ``` ### 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 - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:30:12 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@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

Image

HTTP

Image

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...

<!-- gh-comment-id:4532265799 --> @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 <img width="407" height="317" alt="Image" src="https://github.com/user-attachments/assets/c1bb5da6-1b81-43f6-8274-ba329684f766" /> HTTP <img width="422" height="353" alt="Image" src="https://github.com/user-attachments/assets/ca5fdd10-12af-4f89-98f8-aa7d2d47d89c" /> 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...
Author
Owner

@gomanuke commented on GitHub (May 25, 2026):

I'd investigate it if understand what does it mean...

Image
<!-- gh-comment-id:4532332048 --> @gomanuke commented on GitHub (May 25, 2026): I'd investigate it if understand what does it mean... <img width="892" height="570" alt="Image" src="https://github.com/user-attachments/assets/90fd3658-5437-49a0-8777-05e27e0b1465" />
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#3120
No description provided.