[GH-ISSUE #4289] Add support for nginx basic_auth for Nodes #2926

Closed
opened 2026-10-31 20:28:56 +07:00 by bsakaguchi · 2 comments
Owner

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

Describe the bug

I have placed all my 3x-ui panel instances behind an Nginx reverse proxy with basic_auth enabled. When I try to add these secondary 3x-ui instances as "Nodes" to my primary 3x-ui panel, the connection fails with an HTTP 401 Unauthorized error. This happens because the current "Add Node" interface does not support passing HTTP Basic Authentication credentials to access the remote 3x-ui instance.

How to repeat the problem?

1.Set up at least two separate instances of the 3x-ui panel and place them behind Nginx with basic_auth.
2.Go to the primary 3x-ui panel and try to add the second 3x-ui instance as a "Node".
3. Observe the HTTP 401 error because the primary panel's script cannot authorize through the remote Nginx basic_auth prompt.

Expected action

There should be "extra" fields or options in the "Add Node" menu where we can input HTTP Basic Auth credentials (username and password) so the primary panel can successfully authenticate with the remote 3x-ui node.

Received action

The connection is rejected with an HTTP 401 Error, making it impossible to add the node.

3x-ui Version

3.0.1

Xray-core Version

26.5.9

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @chmod755666 on GitHub (May 12, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4289 ### Describe the bug I have placed all my 3x-ui panel instances behind an Nginx reverse proxy with basic_auth enabled. When I try to add these secondary 3x-ui instances as "Nodes" to my primary 3x-ui panel, the connection fails with an HTTP 401 Unauthorized error. This happens because the current "Add Node" interface does not support passing HTTP Basic Authentication credentials to access the remote 3x-ui instance. ### How to repeat the problem? 1.Set up at least two separate instances of the 3x-ui panel and place them behind Nginx with basic_auth. 2.Go to the primary 3x-ui panel and try to add the second 3x-ui instance as a "Node". 3. Observe the HTTP 401 error because the primary panel's script cannot authorize through the remote Nginx basic_auth prompt. ### Expected action There should be "extra" fields or options in the "Add Node" menu where we can input HTTP Basic Auth credentials (username and password) so the primary panel can successfully authenticate with the remote 3x-ui node. ### Received action The connection is rejected with an HTTP 401 Error, making it impossible to add the node. ### 3x-ui Version 3.0.1 ### Xray-core Version 26.5.9 ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:28:56 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@chmod755666 commented on GitHub (Jun 4, 2026):

wtf

<!-- gh-comment-id:4621941840 --> @chmod755666 commented on GitHub (Jun 4, 2026): wtf
Author
Owner

@chmod755666 commented on GitHub (Jun 4, 2026):

3.2.7 still no support

<!-- gh-comment-id:4621943079 --> @chmod755666 commented on GitHub (Jun 4, 2026): 3.2.7 still no support
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#2926
No description provided.