[GH-ISSUE #2724] Balancer fallbackTag - not all dependencies are resolved #1814

Closed
opened 2026-10-31 20:21:17 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @alexsalex on GitHub (Mar 6, 2025).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2724

Describe the bug
My docker container updated to latest version and X-ray stop running with error. It use to work on x-ray version 1.

Expected behavior
X-ray running and accepting connections.

Version (please complete the following information):

  • 3X-UI Version : 2.5.4
  • Xray Version : 25.3.3

Additional context

2025/03/06 08:37:41 ERROR - X-UI: Failure in running xray-core:exit status 23
2025/03/06 08:37:41 DEBUG - XRAY: Failed to start: main: failed to create server > core: not all dependencies are resolved.
2025/03/06 08:37:41 DEBUG - XRAY: 2025/03/06 08:37:41.011085 [Info] infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
2025/03/06 08:37:41 DEBUG - XRAY: A unified platform for anti-censorship.
2025/03/06 08:37:41 DEBUG - XRAY: Xray 25.3.3 (Xray, Penetrates Everything.) e15dff9 (go1.24.0 linux/amd64)
2025/03/06 08:37:41 DEBUG - X-UI: restart xray, force:false
2025/03/06 08:37:39 ERROR - X-UI: Failure in running xray-core:exit status 23
2025/03/06 08:37:39 DEBUG - XRAY: Failed to start: main: failed to create server > core: not all dependencies are resolved.
2025/03/06 08:37:39 DEBUG - XRAY: 2025/03/06 08:37:39.009998 [Info] infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}

Originally created by @alexsalex on GitHub (Mar 6, 2025). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2724 **Describe the bug** My docker container updated to latest version and X-ray stop running with error. It use to work on x-ray version 1. **Expected behavior** X-ray running and accepting connections. **Version (please complete the following information):** - 3X-UI Version : 2.5.4 - Xray Version : 25.3.3 **Additional context** > 2025/03/06 08:37:41 ERROR - X-UI: Failure in running xray-core:exit status 23 > 2025/03/06 08:37:41 DEBUG - XRAY: Failed to start: main: failed to create server > core: not all dependencies are resolved. > 2025/03/06 08:37:41 DEBUG - XRAY: 2025/03/06 08:37:41.011085 [Info] infra/conf/serial: Reading config: &{Name:bin/config.json Format:json} > 2025/03/06 08:37:41 DEBUG - XRAY: A unified platform for anti-censorship. > 2025/03/06 08:37:41 DEBUG - XRAY: Xray 25.3.3 (Xray, Penetrates Everything.) e15dff9 (go1.24.0 linux/amd64) > 2025/03/06 08:37:41 DEBUG - X-UI: restart xray, force:false > 2025/03/06 08:37:39 ERROR - X-UI: Failure in running xray-core:exit status 23 > 2025/03/06 08:37:39 DEBUG - XRAY: Failed to start: main: failed to create server > core: not all dependencies are resolved. > 2025/03/06 08:37:39 DEBUG - XRAY: 2025/03/06 08:37:39.009998 [Info] infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
bsakaguchi 2026-10-31 20:21:17 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@alexsalex commented on GitHub (Mar 6, 2025):

https://github.com/XTLS/Xray-core/pull/4206#issuecomment-2564678435

Issue related to X-Ray core.

“I looked at the code, and it seems that maybe the RoundRobinStrategy and RandomStrategy should not require observatory. I don’t understand why, in the code, having a fallbackTag makes it require observatory. The original code did the same thing, introduced by #4095, but it used RequireFeaturesAsync, which might not have caused an error.

In short, I think the logic that RoundRobinStrategy and RandomStrategy ‘require observatory if there is a fallbackTag’ is problematic. Let’s try removing that requirement and see what happens.”

<!-- gh-comment-id:2702920919 --> @alexsalex commented on GitHub (Mar 6, 2025): https://github.com/XTLS/Xray-core/pull/4206#issuecomment-2564678435 Issue related to X-Ray core. “I looked at the code, and it seems that maybe the RoundRobinStrategy and RandomStrategy should not require observatory. I don’t understand why, in the code, having a fallbackTag makes it require observatory. The original code did the same thing, introduced by #4095, but it used RequireFeaturesAsync, which might not have caused an error. In short, I think the logic that RoundRobinStrategy and RandomStrategy ‘require observatory if there is a fallbackTag’ is problematic. Let’s try removing that requirement and see what happens.”
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#1814
No description provided.