[GH-ISSUE #4831] [Bug]: Unable to add node #3363

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

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

Describe the bug

When I enter correct data to the "Add node" dialog and press "Save" then form rejects me and toast "Invalid input" happens.

Image

How to reproduce the problem

  1. Open "Nodes" page
  2. Click "Add nodes"
  3. Fill fields in popup dialog
  4. Click Save

Expected behavior

Node added to the list of nodes

Actual behavior

Validation error happens

Relevant logs


Screenshots

No response

3x-ui version

3.2.6

Xray-core version

26.6.1

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 24.04

Which parts of the panel are affected?

Frontend (UI / panel pages)

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 @DarkFIxED on GitHub (Jun 2, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4831 ### Describe the bug When I enter correct data to the "Add node" dialog and press "Save" then form rejects me and toast "Invalid input" happens. <img width="611" height="906" alt="Image" src="https://github.com/user-attachments/assets/f4c1f462-fde2-467b-a860-0b7f09430b5a" /> ### How to reproduce the problem 1. Open "Nodes" page 2. Click "Add nodes" 3. Fill fields in popup dialog 4. Click Save ### Expected behavior Node added to the list of nodes ### Actual behavior Validation error happens ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.2.6 ### Xray-core version 26.6.1 ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 24.04 ### Which parts of the panel are affected? Frontend (UI / panel pages) ### 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:31:55 +07:00
Author
Owner

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

This is a duplicate of #4794.

The root cause has been identified and fixed by @MHSanaei in commit 02043a43:

The node form's pinnedCertSha256 field is only rendered for the pin TLS mode. With any other mode (the default verify), Ant Design unmounted the field and dropped it from the submitted values, so the Zod form schema rejected the missing string — surfacing as "invalid input" even though the connection test passed. The field is now optional with a default, so saving works in every TLS mode.

The fix is not yet in a released version. You can either wait for the next release, or build from the commit that includes the fix.

<!-- gh-comment-id:4606747283 --> @github-actions[bot] commented on GitHub (Jun 2, 2026): This is a duplicate of #4794. The root cause has been identified and fixed by @MHSanaei in commit 02043a43: > The node form's `pinnedCertSha256` field is only rendered for the `pin` TLS mode. With any other mode (the default `verify`), Ant Design unmounted the field and dropped it from the submitted values, so the Zod form schema rejected the missing string — surfacing as "invalid input" even though the connection test passed. The field is now optional with a default, so saving works in every TLS mode. The fix is not yet in a released version. You can either wait for the next release, or build from the commit 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#3363
No description provided.