mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4746] [Bug]: Unable to access the panel login through the domain name #3288
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#3288
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @290906666 on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4746
Describe the bug
Unable to log in to the panel using domain name listening. Logging in with IP works normally. As long as the domain name is set for accessing the TG bot, it shows that the panel is logged in, but the panel is blank and cannot be refreshed. Hope to fix this critical bug as soon as possible.
How to reproduce the problem
As long as you set it to use the specified domain name to access, after entering the account and password for verification, it is 100% a blank page and cannot enter the panel normally.
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.2.5
Xray-core version
No response
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 24.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
@github-actions[bot] commented on GitHub (Jun 1, 2026):
Thank you for the report.
The blank page after login when accessing via domain name is likely related to the Web Domain (
webDomain) setting in the panel. When a domain is configured, a domain-validation middleware is activated that blocks any request whoseHostheader does not exactly match the configured value. A mismatch (e.g.example.comvswww.example.com, or the panel redirecting internally to the IP after login) would cause all subsequent API calls to return HTTP 403, leaving the SPA with nothing to render.To help narrow this down, could you please provide:
www., a port, or a trailing slash?http://yourdomain:portorhttps://yourdomain:port?x-ui logorjournalctl -u x-uiimmediately after reproducing the issue.Temporary workaround: If you clear the Web Domain field in the panel settings and restart, access via domain should work again (at the cost of disabling domain restriction). This can confirm whether the
webDomainsetting is indeed the trigger.