[GH-ISSUE #4853] [Bug]: incorrect work with nodes #3382

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

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

Describe the bug

  1. Unable to add/edit node
  2. Incoming connections with TLS masquerading are added incorrectly

How to reproduce the problem

  1. Add or edit an existing node - invalid input error
  2. Create a connection on the remote node, click Install Panel Certificate - enter the path to the current panel's certificate, not the remote one

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.2.6

Xray-core version

No response

How did you install 3x-ui?

install.sh script

Operating system

ubuntu 22.04

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 @Kenaed on GitHub (Jun 3, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4853 ### Describe the bug 1. Unable to add/edit node 2. Incoming connections with TLS masquerading are added incorrectly ### How to reproduce the problem 1. Add or edit an existing node - invalid input error 2. Create a connection on the remote node, click Install Panel Certificate - enter the path to the current panel's certificate, not the remote one ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.2.6 ### Xray-core version _No response_ ### How did you install 3x-ui? install.sh script ### Operating system ubuntu 22.04 ### 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:32:03 +07:00
Author
Owner

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

Thank you for the report. Both parts have been identified:

Bug 1 — "Invalid input" on add/edit node is a known issue already tracked in #4794. The root cause: the pinnedCertSha256 form field is only rendered in pin TLS mode. When any other mode is selected (e.g. the default verify), Ant Design unmounts the field and drops it from the form submission, causing the Zod schema to reject the missing string and surface "invalid input" even though the connection test passes. This was fixed in commit 02043a43 (after the v3.2.6 release), so it will be included in the next release.

Bug 2 — "Set Default Certificate" button inserts the local panel's cert paths, not the remote node's is a separate issue from what is tracked in #4794. Looking at the source (frontend/src/pages/inbounds/form/useSecurityActions.ts, line 112–134), the button calls /panel/setting/all to retrieve webCertFile/webKeyFile from the local panel's settings and injects those file paths into the inbound form. If the inbound is assigned to a remote node whose certificate files live at different paths on that server, the inserted paths will be wrong. Please open a separate issue for this with details about your node setup (local vs. remote cert paths) so it can be tracked independently.

Closing as a duplicate of #4794 for now. Watch that issue for the upcoming release that includes the fix.

<!-- gh-comment-id:4611177466 --> @github-actions[bot] commented on GitHub (Jun 3, 2026): Thank you for the report. Both parts have been identified: **Bug 1 — "Invalid input" on add/edit node** is a known issue already tracked in #4794. The root cause: the `pinnedCertSha256` form field is only rendered in `pin` TLS mode. When any other mode is selected (e.g. the default `verify`), Ant Design unmounts the field and drops it from the form submission, causing the Zod schema to reject the missing string and surface "invalid input" even though the connection test passes. This was fixed in commit [`02043a43`](https://github.com/MHSanaei/3x-ui/commit/02043a43) (after the v3.2.6 release), so it will be included in the next release. **Bug 2 — "Set Default Certificate" button inserts the local panel's cert paths, not the remote node's** is a separate issue from what is tracked in #4794. Looking at the source (`frontend/src/pages/inbounds/form/useSecurityActions.ts`, line 112–134), the button calls `/panel/setting/all` to retrieve `webCertFile`/`webKeyFile` from the **local** panel's settings and injects those file paths into the inbound form. If the inbound is assigned to a remote node whose certificate files live at different paths on that server, the inserted paths will be wrong. Please open a separate issue for this with details about your node setup (local vs. remote cert paths) so it can be tracked independently. Closing as a duplicate of #4794 for now. Watch that issue for the upcoming release that includes the fix.
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#3382
No description provided.