[GH-ISSUE #1957] The "dns":{"hosts":{"examplewebsite.com": "1.1.1.1"}} json config #1338

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

Originally created by @yhd12138 on GitHub (Mar 1, 2024).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1957

Welcome

  • Yes, I'm using the latest major release. Only such installations are supported.
  • Yes, I'm using the supported system. Only such systems are supported.
  • Yes, I have read all WIKI document,nothing can help me in my problem.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, log, etc).

Description of the problem,screencshot would be good

When there is some code like

"dns": {
"hosts": {
"examplewebsite.com": "1.1.1.1"
}
},

in the Advanced Xray Configuration Template, it will stuck at "Loading...".

I just upgrade 3x-ui from v2.1.3 to v2.2.1 and then have this issue.
The "dns":{"hosts":{"examplewebsite.com": "1.1.1.1"}} json config works fine with v2.1.3.

Version of 3x-ui

2.2.1

x-ui log reports or xray log

Mar 01 04:09:29  /usr/local/x-ui/x-ui[1246210]: INFO - user 1 login success
Mar 01 04:14:02  /usr/local/x-ui/x-ui[1246210]: INFO - XRAY: infra/conf/serial: Reading config: bin/config.json
Mar 01 04:21:18  /usr/local/x-ui/x-ui[1246210]: INFO - XRAY: infra/conf/serial: Reading config: bin/config.json
Originally created by @yhd12138 on GitHub (Mar 1, 2024). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1957 ### Welcome - [X] Yes, I'm using the latest major release. Only such installations are supported. - [X] Yes, I'm using the supported system. Only such systems are supported. - [X] Yes, I have read all WIKI document,nothing can help me in my problem. - [X] Yes, I've searched similar issues on GitHub and didn't find any. - [X] Yes, I've included all information below (version, config, log, etc). ### Description of the problem,screencshot would be good When there is some code like "dns": { "hosts": { "examplewebsite.com": "1.1.1.1" } }, in the Advanced Xray Configuration Template, it will stuck at "Loading...". I just upgrade 3x-ui from v2.1.3 to v2.2.1 and then have this issue. The "dns":{"hosts":{"examplewebsite.com": "1.1.1.1"}} json config works fine with v2.1.3. ### Version of 3x-ui <details> ```console 2.2.1 ``` </details> ### x-ui log reports or xray log <details> ```console Mar 01 04:09:29 /usr/local/x-ui/x-ui[1246210]: INFO - user 1 login success Mar 01 04:14:02 /usr/local/x-ui/x-ui[1246210]: INFO - XRAY: infra/conf/serial: Reading config: bin/config.json Mar 01 04:21:18 /usr/local/x-ui/x-ui[1246210]: INFO - XRAY: infra/conf/serial: Reading config: bin/config.json ``` </details>
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#1338
No description provided.