[GH-ISSUE #5355] [Bug]: Test All ignores outbounds from subscriptions #3753

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

Originally created by @ilya-practicum on GitHub (Jun 15, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5355

Describe the bug

If you press Test All on Outbound page, then outbounds from subscriptions will be ignored (untested)

How to reproduce the problem

  1. Create outbounds with subscription function
  2. Run Outbounds latency test

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.3.1

Xray-core version

No response

How did you install 3x-ui?

install.sh script

Operating system

Debian 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 @ilya-practicum on GitHub (Jun 15, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5355 ### Describe the bug If you press Test All on Outbound page, then outbounds from subscriptions will be ignored (untested) ### How to reproduce the problem 1. Create outbounds with subscription function 2. Run Outbounds latency test ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.3.1 ### Xray-core version _No response_ ### How did you install 3x-ui? install.sh script ### Operating system Debian 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:34:42 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@github-actions[bot] commented on GitHub (Jun 15, 2026):

This bug is confirmed and already fixed on main — the fix has not yet shipped in a release.

Root cause. The batched outbound tester introduced in the same cycle as v3.3.1 (feat(outbound): batched connection tester, 2026-06-12) implemented testAllOutbounds in frontend/src/hooks/useXraySetting.ts to iterate only templateSettings.outbounds — the editable template list — and never consulted subscriptionOutboundsRef.current, so the read-only "From subscriptions" table rows were silently skipped.

Fix. Commit 1c0fdb4 ("fix(outbounds): test subscriptions in Test All, skip direct/dns", 2026-06-13) corrects this:

  • testAllOutbounds now builds two queues — one for template outbounds (results keyed by index in outboundTestStates) and one for subscription outbounds (results keyed by tag in subscriptionTestStates).
  • TCP probes for both sets run concurrently; HTTP batches run serially (template lane first, subscription lane second) to respect the backend's single-concurrent-batch lock.
  • As a side fix, freedom ("direct") and dns outbounds are now skipped in Test All and have their per-row test button disabled, since probing them only measures the host's own connectivity, not a tunnel.

The fix is on main at the commit above and will be included in the next release. No configuration change or workaround is needed on your side; per-row testing of individual subscription outbounds via the bolt button in the "From subscriptions" table already works in v3.3.1 as a stopgap.

This reply was generated automatically; a maintainer may follow up.

<!-- gh-comment-id:4710328493 --> @github-actions[bot] commented on GitHub (Jun 15, 2026): This bug is confirmed and already fixed on `main` — the fix has not yet shipped in a release. **Root cause.** The batched outbound tester introduced in the same cycle as v3.3.1 (`feat(outbound): batched connection tester`, 2026-06-12) implemented `testAllOutbounds` in `frontend/src/hooks/useXraySetting.ts` to iterate only `templateSettings.outbounds` — the editable template list — and never consulted `subscriptionOutboundsRef.current`, so the read-only "From subscriptions" table rows were silently skipped. **Fix.** Commit `1c0fdb4` ("fix(outbounds): test subscriptions in Test All, skip direct/dns", 2026-06-13) corrects this: - `testAllOutbounds` now builds two queues — one for template outbounds (results keyed by index in `outboundTestStates`) and one for subscription outbounds (results keyed by tag in `subscriptionTestStates`). - TCP probes for both sets run concurrently; HTTP batches run serially (template lane first, subscription lane second) to respect the backend's single-concurrent-batch lock. - As a side fix, `freedom` ("direct") and `dns` outbounds are now skipped in Test All and have their per-row test button disabled, since probing them only measures the host's own connectivity, not a tunnel. The fix is on `main` at the commit above and will be included in the next release. No configuration change or workaround is needed on your side; per-row testing of individual subscription outbounds via the bolt button in the "From subscriptions" table already works in v3.3.1 as a stopgap. *This reply was generated automatically; a maintainer may follow up.*
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#3753
No description provided.