[GH-ISSUE #4399] Balancer bug v3.0.2 #2999

Closed
opened 2026-10-31 20:29:25 +07:00 by bsakaguchi · 7 comments
Owner

Originally created by @rezakhosh78 on GitHub (May 15, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4399

Describe the bug

When you select more than one configuration in the balancer section or add a fallback to the balancer, the X-Ray core stops. It was correct in versions below 3. I will post the log.

Failed to start: main: failed to create server > core: not all dependencies are resolved.

How to repeat the problem?

May 12 00:12:59 r4 /usr/local/x-ui/x-ui[270342]: ERROR - XRAY: Failed to start: main: failed to create server > core: not all dependencies are resolved.
May 12 00:12:59 r4 /usr/local/x-ui/x-ui[270342]: ERROR - Failure in running xray-core: exit status 23
May 12 00:13:00 r4 /usr/local/x-ui/x-ui[270342]: ERROR - stop xray failed: xray is not running

Expected action

No response

Received action

No response

3x-ui Version

3.0.2

Xray-core Version

v26.4.25

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @rezakhosh78 on GitHub (May 15, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4399 ### Describe the bug When you select more than one configuration in the balancer section or add a fallback to the balancer, the X-Ray core stops. It was correct in versions below 3. I will post the log. Failed to start: main: failed to create server > core: not all dependencies are resolved. ### How to repeat the problem? May 12 00:12:59 r4 /usr/local/x-ui/x-ui[270342]: ERROR - XRAY: Failed to start: main: failed to create server > core: not all dependencies are resolved. May 12 00:12:59 r4 /usr/local/x-ui/x-ui[270342]: ERROR - Failure in running xray-core: exit status 23 May 12 00:13:00 r4 /usr/local/x-ui/x-ui[270342]: ERROR - stop xray failed: xray is not running ### Expected action _No response_ ### Received action _No response_ ### 3x-ui Version 3.0.2 ### Xray-core Version v26.4.25 ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:29:25 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MHSanaei commented on GitHub (May 15, 2026):

I'll check it again

<!-- gh-comment-id:4458092584 --> @MHSanaei commented on GitHub (May 15, 2026): I'll check it again
Author
Owner

@itbaz2010 commented on GitHub (May 15, 2026):

منم همین مشکل رو دارم
به محض اینکه فالبک اضافه میکنم هسته ارور میخوره
فالبک رو برمیدارم اوکی میشه

<!-- gh-comment-id:4458150417 --> @itbaz2010 commented on GitHub (May 15, 2026): منم همین مشکل رو دارم به محض اینکه فالبک اضافه میکنم هسته ارور میخوره فالبک رو برمیدارم اوکی میشه
Author
Owner

@MHSanaei commented on GitHub (May 15, 2026):

this happen in Round robin when you have fallback - just remove the fallback you will be okay

<!-- gh-comment-id:4458568783 --> @MHSanaei commented on GitHub (May 15, 2026): this happen in Round robin when you have fallback - just remove the fallback you will be okay
Author
Owner

@rezakhosh78 commented on GitHub (May 15, 2026):

This happens even in random mode. In general, when fallback is set, the xray core stops. This problem did not exist in versions lower than 3. Thanks.

<!-- gh-comment-id:4459458147 --> @rezakhosh78 commented on GitHub (May 15, 2026): This happens even in random mode. In general, when fallback is set, the xray core stops. This problem did not exist in versions lower than 3. Thanks.
Author
Owner

@MHSanaei commented on GitHub (May 15, 2026):

yes and random just remove fallback

<!-- gh-comment-id:4459507778 --> @MHSanaei commented on GitHub (May 15, 2026): yes and random just remove fallback
Author
Owner

@rezakhosh78 commented on GitHub (May 16, 2026):

Until version 2.9.4, you could set both a selector and a fallback at the same time. So you can't fix it?!

<!-- gh-comment-id:4466011526 --> @rezakhosh78 commented on GitHub (May 16, 2026): Until version 2.9.4, you could set both a selector and a fallback at the same time. So you can't fix it?!
Author
Owner

@MHSanaei commented on GitHub (May 16, 2026):

Ok @rezakhosh78

<!-- gh-comment-id:4466199988 --> @MHSanaei commented on GitHub (May 16, 2026): Ok @rezakhosh78
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#2999
No description provided.