[GH-ISSUE #4736] [Bug]: request body failed validation #3277

Closed
opened 2026-10-31 20:31:18 +07:00 by bsakaguchi · 5 comments
Owner

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

Describe the bug

When I try to add ann apply new inbound with TUN protocol - request body failed validation (with any settings)

How to reproduce the problem

When I try to add ann apply new inbound with TUN protocol - request body failed validation (with any settings)

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

Image

3x-ui version

3.2.0

Xray-core version

26.5.9

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 22.04.5 LTS

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?

No — direct access

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 @ski0x0 on GitHub (May 31, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4736 ### Describe the bug When I try to add ann apply new inbound with TUN protocol - request body failed validation (with any settings) ### How to reproduce the problem When I try to add ann apply new inbound with TUN protocol - request body failed validation (with any settings) ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots <img width="806" height="750" alt="Image" src="https://github.com/user-attachments/assets/c829bc14-84b2-42d9-939d-3b55c7211954" /> ### 3x-ui version 3.2.0 ### Xray-core version 26.5.9 ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 22.04.5 LTS ### 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? No — direct access ### 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:18 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@noobaivideocretor commented on GitHub (Jun 1, 2026):

it's same even if you try to change anything in panel settings section

<!-- gh-comment-id:4588645199 --> @noobaivideocretor commented on GitHub (Jun 1, 2026): it's same even if you try to change anything in panel settings section
Author
Owner

@MHSanaei commented on GitHub (Jun 1, 2026):

Fixed: the Inbound protocol validator was missing "tun" in its allowlist, so creating a TUN inbound returned "request body failed validation". The validator now accepts "tun".

<!-- gh-comment-id:4588691068 --> @MHSanaei commented on GitHub (Jun 1, 2026): Fixed: the Inbound protocol validator was missing "tun" in its allowlist, so creating a TUN inbound returned "request body failed validation". The validator now accepts "tun".
Author
Owner

@noobaivideocretor commented on GitHub (Jun 1, 2026):

Fixed: the Inbound protocol validator was missing "tun" in its allowlist, so creating a TUN inbound returned "request body failed validation". The validator now accepts "tun".

why I can't save anything in panel settings
Image

<!-- gh-comment-id:4588702554 --> @noobaivideocretor commented on GitHub (Jun 1, 2026): > Fixed: the Inbound protocol validator was missing "tun" in its allowlist, so creating a TUN inbound returned "request body failed validation". The validator now accepts "tun". why I can't save anything in panel settings <img width="1311" height="355" alt="Image" src="https://github.com/user-attachments/assets/791a2265-d9e2-498c-b0f9-54bb24a04b5f" />
Author
Owner

@ski0x0 commented on GitHub (Jun 1, 2026):

it's same even if you try to change anything in panel settings section

Yes

<!-- gh-comment-id:4589812311 --> @ski0x0 commented on GitHub (Jun 1, 2026): > it's same even if you try to change anything in panel settings section Yes
Author
Owner

@ski0x0 commented on GitHub (Jun 1, 2026):

Fixed: the Inbound protocol validator was missing "tun" in its allowlist, so creating a TUN inbound returned "request body failed validation". The validator now accepts "tun".

Thanks for the reply. What version of the control panel should I expect this to work in? In version 3.2.0, the TUN isn't created and works (

<!-- gh-comment-id:4589827351 --> @ski0x0 commented on GitHub (Jun 1, 2026): > Fixed: the Inbound protocol validator was missing "tun" in its allowlist, so creating a TUN inbound returned "request body failed validation". The validator now accepts "tun". Thanks for the reply. What version of the control panel should I expect this to work in? In version 3.2.0, the TUN isn't created and works (
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#3277
No description provided.