FranzKafkaYu / x-ui

Lightweight Xray panel with multi-protocol and multi-user on the same port,supports English language and Telegram bot. Easy to use and easy to manage.
GNU General Public License v3.0
8.03k stars 1.64k forks source link

昨天配置好域名证书后可以用域名访问面板 今天无法访问 #464

Closed userfhy closed 1 year ago

userfhy commented 1 year ago

Welcome

Description of the problem,screencshot would be good

昨天配置好域名证书可以用域名访问面板 今天无法访问面板 chrome浏览器提示 无法访问此网站ERR_CONNECTION_RESET 用服务器IPV6地址可以访问面板 确定面板证书配置正确 已附上x-ui详细日志

Version of x-ui

```console ● x-ui.service - x-ui Service Loaded: loaded (/etc/systemd/system/x-ui.service; enabled; vendor preset: enabled) Active: active (running) since Sat 2023-07-29 09:52:00 CST; 51s ago Main PID: 12378 (x-ui) Tasks: 14 (limit: 1133) Memory: 43.5M CPU: 557ms CGroup: /system.slice/x-ui.service ├─12378 /usr/local/x-ui/x-ui └─12393 bin/xray-linux-amd64 -c bin/config.json Jul 29 09:52:01 racknerd-6dbd3b x-ui[12378]: Authorized on account userff_botcommand functions,Description:获取详细菜单内> Jul 29 09:52:01 racknerd-6dbd3b x-ui[12378]: command status,Description:获取系统状态 Jul 29 09:52:01 racknerd-6dbd3b x-ui[12378]: command restart,Description:重启xray服务 Jul 29 09:52:01 racknerd-6dbd3b x-ui[12378]: command clearall,Description:一键清除所有节点流量 Jul 29 09:52:01 racknerd-6dbd3b x-ui[12378]: command help,Description:获取更多帮助 Jul 29 09:52:01 racknerd-6dbd3b x-ui[12378]: ConstructPortReplyKeyBoardRow: 4 Jul 29 09:52:02 racknerd-6dbd3b x-ui[12378]: SSHLogin[2023-07-29 09:41:00] early than XUI start[2023-07-29 09:52:00],don'> Jul 29 09:52:02 racknerd-6dbd3b x-ui[12378]: 2023/07/29 09:52:02 INFO - get xray version from database: v1.7.5 Jul 29 09:52:02 racknerd-6dbd3b x-ui[12378]: 2023/07/29 09:52:02 INFO - xray Version from database is: v1.7.5 Jul 29 09:52:31 racknerd-6dbd3b x-ui[12378]: ConstructPortReplyKeyBoardRow: 4 ```

x-ui log or xray log

当我用域名https://xx..one:28888/SHaL/访问面板的时候日志: 敏感信息已经替换

```console Jul 29 09:53:57 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:53:57 http: TLS handshake error from 39.xx.xx.xx:31482: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31482: read: connection reset by peer Jul 29 09:53:57 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:53:57 http: TLS handshake error from 39.xx.xx.xx:31483: write tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31483: write: connection reset by peer Jul 29 09:53:57 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:53:57 http: TLS handshake error from 39.xx.xx.xx:31484: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31484: read: connection reset by peer Jul 29 09:53:57 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:53:57 http: TLS handshake error from 39.xx.xx.xx:31485: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31485: read: connection reset by peer Jul 29 09:53:57 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:53:57 http: TLS handshake error from 39.xx.xx.xx:31486: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31486: read: connection reset by peer Jul 29 09:53:57 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:53:57 http: TLS handshake error from 39.xx.xx.xx:31487: write tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31487: write: connection reset by peer Jul 29 09:53:58 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:53:58 http: TLS handshake error from 39.xx.xx.xx:31489: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31489: read: connection reset by peer Jul 29 09:53:58 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:53:58 http: TLS handshake error from 39.xx.xx.xx:31488: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31488: read: connection reset by peer Jul 29 09:53:59 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:53:59 http: TLS handshake error from 39.xx.xx.xx:31490: write tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31490: write: connection reset by peer Jul 29 09:53:59 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:53:59 http: TLS handshake error from 39.xx.xx.xx:31491: write tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31491: write: connection reset by peer Jul 29 09:53:59 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:53:59 http: TLS handshake error from 39.xx.xx.xx:31492: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31492: read: connection reset by peer Jul 29 09:53:59 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:53:59 http: TLS handshake error from 39.xx.xx.xx:31493: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31493: read: connection reset by peer Jul 29 09:54:01 racknerd-6xxxx x-ui[12378]: ConstructPortReplyKeyBoardRow: 4 Jul 29 09:54:04 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:54:04 http: TLS handshake error from 39.xx.xx.xx:31497: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31497: read: connection reset by peer Jul 29 09:54:04 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:54:04 http: TLS handshake error from 39.xx.xx.xx:31496: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31496: read: connection reset by peer Jul 29 09:54:04 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:54:04 http: TLS handshake error from 39.xx.xx.xx:31498: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31498: read: connection reset by peer Jul 29 09:54:04 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:54:04 http: TLS handshake error from 39.xx.xx.xx:31499: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31499: read: connection reset by peer Jul 29 09:54:04 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:54:04 http: TLS handshake error from 39.xx.xx.xx:31500: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31500: read: connection reset by peer Jul 29 09:54:04 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:54:04 http: TLS handshake error from 39.xx.xx.xx:31501: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31501: read: connection reset by peer Jul 29 09:54:31 racknerd-6xxxx x-ui[12378]: ConstructPortReplyKeyBoardRow: 4 Jul 29 09:54:34 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:54:34 http: TLS handshake error from 39.xx.xx.xx:31511: write tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31511: write: connection reset by peer Jul 29 09:54:34 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:54:34 http: TLS handshake error from 39.xx.xx.xx:31510: write tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31510: write: connection reset by peer Jul 29 09:54:34 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:54:34 http: TLS handshake error from 39.xx.xx.xx:31512: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31512: read: connection reset by peer Jul 29 09:54:34 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:54:34 http: TLS handshake error from 39.xx.xx.xx:31513: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31513: read: connection reset by peer Jul 29 09:54:34 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:54:34 http: TLS handshake error from 39.xx.xx.xx:31514: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31514: read: connection reset by peer Jul 29 09:54:35 racknerd-6xxxx x-ui[12378]: 2023/07/29 09:54:35 http: TLS handshake error from 39.xx.xx.xx:31515: read tcp 23.xx.xx.xx:28888->39.xx.xx.xx:31515: read: connection reset by peer ```
FranzKafkaYu commented 1 year ago

@fanhengyuan 是在开启代理的情况下登录面板么,可先行关闭代理进行登录

userfhy commented 1 year ago

@FranzKafkaYu 感谢您的回复 没有开启代理访问 昨天测试手机移动网络 电脑网络 通过域名都可以正常访问 今天就无法访问

FranzKafkaYu commented 1 year ago

@fanhengyuan 请进行如下尝试:
1.确认是否有正常的SSL证书配置(使用域名登录查看左上角安全锁信息)
2.清除浏览器缓存后再次进行登录
3.更换其他浏览器/网络环境进行尝试

userfhy commented 1 year ago

@FranzKafkaYu 感谢! chrome使用隐私模式也不行 更换edge浏览器后正常