[GH-ISSUE #38] tls not work!!! #8

Closed
opened 2026-10-31 20:08:29 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @mohammadmahdizeynali on GitHub (Mar 19, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/38

hey, tnx for this panel, i use from this panel without problem before last update , but after last update (update that add dark theme) i have problem, all my config that based on tls dosent work, but config without tls its working, i try vaxilu panel on my server But this problem did not exist, I tested it on several different servers with your panel and Alireza, and this problem existed. Thank you for guiding me to fix this problem.
@alireza0

Originally created by @mohammadmahdizeynali on GitHub (Mar 19, 2023). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/38 hey, tnx for this panel, i use from this panel without problem before last update , but after last update (update that add dark theme) i have problem, all my config that based on tls dosent work, but config without tls its working, i try vaxilu panel on my server But this problem did not exist, I tested it on several different servers with your panel and Alireza, and this problem existed. Thank you for guiding me to fix this problem. @alireza0
Author
Owner

@alireza0 commented on GitHub (Mar 19, 2023):

Hello @mmzeynaligh ,
Thank you for your report.
You are right, we had some problem in creating links. Please update it to the latest version and check it again.
Did you scan/copy the link again after that update ?

<!-- gh-comment-id:1475382292 --> @alireza0 commented on GitHub (Mar 19, 2023): Hello @mmzeynaligh , Thank you for your report. You are right, we had some problem in creating links. Please update it to the latest version and check it again. Did you scan/copy the link again after that update ?
Author
Owner

@mohammadmahdizeynali commented on GitHub (Mar 19, 2023):

i try on new server, vultr/netherland & hetzner/germany this servers is new
server, i run script and try to create config but my config that used from
tls dosent work, I thought that when you install a new script it
automatically installs the latest version. If running the installation
script is not enough to get the latest version, I would be grateful if you
could guide me.

<!-- gh-comment-id:1475420352 --> @mohammadmahdizeynali commented on GitHub (Mar 19, 2023): i try on new server, vultr/netherland & hetzner/germany this servers is new server, i run script and try to create config but my config that used from tls dosent work, I thought that when you install a new script it automatically installs the latest version. If running the installation script is not enough to get the latest version, I would be grateful if you could guide me.
Author
Owner

@mohammadmahdizeynali commented on GitHub (Mar 19, 2023):

Some server logs to get a better view of my problem

-- Logs begin at Sun 2023-03-19 17:49:37 UTC. --
Mar 19 18:48:04 nancy.zainsoltan.cloud systemd[1]: Started x-ui Service.
Mar 19 18:48:04 nancy.zainsoltan.cloud x-ui[22062]: 2023/03/19 18:48:04
x-ui 0.3.2
Mar 19 18:48:04 nancy.zainsoltan.cloud x-ui[22062]: 2023/03/19 18:48:04
INFO - web server run http on [::]:54321
Mar 19 18:48:32 nancy.zainsoltan.cloud x-ui[22062]: 2023/03/19 18:48:32
[sessions] ERROR! securecookie: the value is not valid
Mar 19 18:48:52 nancy.zainsoltan.cloud x-ui[22062]: 2023/03/19 18:48:52
INFO - wrong username or password: "zainsoltan" "admin"
Mar 19 18:48:56 nancy.zainsoltan.cloud x-ui[22062]: 2023/03/19 18:48:56
INFO - wrong username or password: "zainsoltan" "admin"
Mar 19 18:49:05 nancy.zainsoltan.cloud systemd[1]: Stopping x-ui Service...
Mar 19 18:49:05 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Succeeded.
Mar 19 18:49:05 nancy.zainsoltan.cloud systemd[1]: Stopped x-ui Service.
Mar 19 18:49:18 nancy.zainsoltan.cloud systemd[1]: Started x-ui Service.
Mar 19 18:49:18 nancy.zainsoltan.cloud x-ui[22241]: 2023/03/19 18:49:18
x-ui 0.3.2
Mar 19 18:49:18 nancy.zainsoltan.cloud x-ui[22241]: 2023/03/19 18:49:18
INFO - web server run http on [::]:54321
Mar 19 18:49:22 nancy.zainsoltan.cloud x-ui[22241]: 2023/03/19 18:49:22
[sessions] ERROR! securecookie: the value is not valid
Mar 19 18:49:22 nancy.zainsoltan.cloud x-ui[22241]: 2023/03/19 18:49:22
INFO - user 1 login success
Mar 19 18:51:49 nancy.zainsoltan.cloud x-ui[22241]: 2023/03/19 18:51:49
[sessions] ERROR! securecookie: the value is not valid
Mar 19 18:51:54 nancy.zainsoltan.cloud x-ui[22241]: 2023/03/19 18:51:54
[sessions] ERROR! securecookie: the value is not valid
Mar 19 18:51:54 nancy.zainsoltan.cloud x-ui[22241]: 2023/03/19 18:51:54
INFO - user 1 login success
Mar 19 18:55:21 nancy.zainsoltan.cloud systemd[1]: Stopping x-ui Service...
Mar 19 18:55:21 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Killing
process 22300 (xray-linux-amd6) with signal SIGKILL.
Mar 19 18:55:21 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Succeeded.
Mar 19 18:55:21 nancy.zainsoltan.cloud systemd[1]: Stopped x-ui Service.
Mar 19 18:55:35 nancy.zainsoltan.cloud systemd[1]: Started x-ui Service.
Mar 19 18:55:35 nancy.zainsoltan.cloud x-ui[22461]: 2023/03/19 18:55:35
x-ui 0.4.1
Mar 19 18:55:35 nancy.zainsoltan.cloud x-ui[22461]: 2023/03/19 18:55:35
INFO - web server run http on [::]:54321
Mar 19 19:09:34 nancy.zainsoltan.cloud systemd[1]: Stopping x-ui Service...
Mar 19 19:09:34 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Succeeded.
Mar 19 19:09:34 nancy.zainsoltan.cloud systemd[1]: Stopped x-ui Service.
Mar 19 19:09:37 nancy.zainsoltan.cloud systemd[1]: Started x-ui Service.
Mar 19 19:09:37 nancy.zainsoltan.cloud x-ui[22797]: 2023/03/19 19:09:37
x-ui 0.3.2
Mar 19 19:09:37 nancy.zainsoltan.cloud x-ui[22797]: 2023/03/19 19:09:37
INFO - web server run http on [::]:54321
Mar 19 19:09:40 nancy.zainsoltan.cloud systemd[1]: Stopping x-ui Service...
Mar 19 19:09:40 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Killing
process 22832 (xray-linux-amd6) with signal SIGKILL.
Mar 19 19:09:40 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Succeeded.
Mar 19 19:09:40 nancy.zainsoltan.cloud systemd[1]: Stopped x-ui Service.
Mar 19 19:10:05 nancy.zainsoltan.cloud systemd[1]: Started x-ui Service.
Mar 19 19:10:05 nancy.zainsoltan.cloud x-ui[22948]: 2023/03/19 19:10:05
x-ui 0.3.2
Mar 19 19:10:05 nancy.zainsoltan.cloud x-ui[22948]: 2023/03/19 19:10:05
INFO - web server run http on [::]:54321
Mar 19 19:17:35 nancy.zainsoltan.cloud x-ui[22948]: 2023/03/19 19:17:35
INFO - wrong username or password: "admin" "admin"
Mar 19 19:21:46 nancy.zainsoltan.cloud systemd[1]: Stopping x-ui Service...
Mar 19 19:21:46 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Killing
process 23051 (xray-linux-amd6) with signal SIGKILL.
Mar 19 19:21:46 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Succeeded.
Mar 19 19:21:46 nancy.zainsoltan.cloud systemd[1]: Stopped x-ui Service.
Mar 19 19:22:19 nancy.zainsoltan.cloud systemd[1]: Started x-ui Service.
Mar 19 19:22:19 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:22:19
x-ui 1.1.1
Mar 19 19:22:19 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:22:19
INFO - web server run http on [::]:54321
Mar 19 19:22:33 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:22:33
WARNING - oqzk5f
Mar 19 19:22:37 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:22:37
WARNING - coh7kk0
Mar 19 19:22:40 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:22:40
WARNING - 8esiok
Mar 19 19:22:43 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:22:43
WARNING -
Mar 19 19:25:46 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:25:46
WARNING - stop server err: multierr: close tcp [::]:54321: use of closed
network connection |
Mar 19 19:25:46 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:25:46
INFO - web server run https on [::]:54321
Mar 19 19:25:49 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:25:49
http: TLS handshake error from 151.241.148.160:8105: read tcp
91.107.196.184:54321->151.241.148.160:8105: use of closed network connection
Mar 19 19:26:53 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:26:53
http: TLS handshake error from 151.241.148.160:8106: EOF
Mar 19 19:28:05 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:28:05
WARNING - stop server err: multierr: close tcp [::]:54321: use of closed
network connection |
Mar 19 19:28:05 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:28:05
INFO - web server run https on [::]:54321
Mar 19 20:07:31 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 20:07:31
http: TLS handshake error from 5.253.25.241:54874: read tcp
91.107.196.184:54321->5.253.25.241:54874: use of closed network connection
Mar 19 21:02:43 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 21:02:43
http: TLS handshake error from 5.253.25.241:1354: read tcp
91.107.196.184:54321->5.253.25.241:1354: use of closed network connection

<!-- gh-comment-id:1475427982 --> @mohammadmahdizeynali commented on GitHub (Mar 19, 2023): Some server logs to get a better view of my problem -- Logs begin at Sun 2023-03-19 17:49:37 UTC. -- Mar 19 18:48:04 nancy.zainsoltan.cloud systemd[1]: Started x-ui Service. Mar 19 18:48:04 nancy.zainsoltan.cloud x-ui[22062]: 2023/03/19 18:48:04 x-ui 0.3.2 Mar 19 18:48:04 nancy.zainsoltan.cloud x-ui[22062]: 2023/03/19 18:48:04 INFO - web server run http on [::]:54321 Mar 19 18:48:32 nancy.zainsoltan.cloud x-ui[22062]: 2023/03/19 18:48:32 [sessions] ERROR! securecookie: the value is not valid Mar 19 18:48:52 nancy.zainsoltan.cloud x-ui[22062]: 2023/03/19 18:48:52 INFO - wrong username or password: "zainsoltan" "admin" Mar 19 18:48:56 nancy.zainsoltan.cloud x-ui[22062]: 2023/03/19 18:48:56 INFO - wrong username or password: "zainsoltan" "admin" Mar 19 18:49:05 nancy.zainsoltan.cloud systemd[1]: Stopping x-ui Service... Mar 19 18:49:05 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Succeeded. Mar 19 18:49:05 nancy.zainsoltan.cloud systemd[1]: Stopped x-ui Service. Mar 19 18:49:18 nancy.zainsoltan.cloud systemd[1]: Started x-ui Service. Mar 19 18:49:18 nancy.zainsoltan.cloud x-ui[22241]: 2023/03/19 18:49:18 x-ui 0.3.2 Mar 19 18:49:18 nancy.zainsoltan.cloud x-ui[22241]: 2023/03/19 18:49:18 INFO - web server run http on [::]:54321 Mar 19 18:49:22 nancy.zainsoltan.cloud x-ui[22241]: 2023/03/19 18:49:22 [sessions] ERROR! securecookie: the value is not valid Mar 19 18:49:22 nancy.zainsoltan.cloud x-ui[22241]: 2023/03/19 18:49:22 INFO - user 1 login success Mar 19 18:51:49 nancy.zainsoltan.cloud x-ui[22241]: 2023/03/19 18:51:49 [sessions] ERROR! securecookie: the value is not valid Mar 19 18:51:54 nancy.zainsoltan.cloud x-ui[22241]: 2023/03/19 18:51:54 [sessions] ERROR! securecookie: the value is not valid Mar 19 18:51:54 nancy.zainsoltan.cloud x-ui[22241]: 2023/03/19 18:51:54 INFO - user 1 login success Mar 19 18:55:21 nancy.zainsoltan.cloud systemd[1]: Stopping x-ui Service... Mar 19 18:55:21 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Killing process 22300 (xray-linux-amd6) with signal SIGKILL. Mar 19 18:55:21 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Succeeded. Mar 19 18:55:21 nancy.zainsoltan.cloud systemd[1]: Stopped x-ui Service. Mar 19 18:55:35 nancy.zainsoltan.cloud systemd[1]: Started x-ui Service. Mar 19 18:55:35 nancy.zainsoltan.cloud x-ui[22461]: 2023/03/19 18:55:35 x-ui 0.4.1 Mar 19 18:55:35 nancy.zainsoltan.cloud x-ui[22461]: 2023/03/19 18:55:35 INFO - web server run http on [::]:54321 Mar 19 19:09:34 nancy.zainsoltan.cloud systemd[1]: Stopping x-ui Service... Mar 19 19:09:34 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Succeeded. Mar 19 19:09:34 nancy.zainsoltan.cloud systemd[1]: Stopped x-ui Service. Mar 19 19:09:37 nancy.zainsoltan.cloud systemd[1]: Started x-ui Service. Mar 19 19:09:37 nancy.zainsoltan.cloud x-ui[22797]: 2023/03/19 19:09:37 x-ui 0.3.2 Mar 19 19:09:37 nancy.zainsoltan.cloud x-ui[22797]: 2023/03/19 19:09:37 INFO - web server run http on [::]:54321 Mar 19 19:09:40 nancy.zainsoltan.cloud systemd[1]: Stopping x-ui Service... Mar 19 19:09:40 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Killing process 22832 (xray-linux-amd6) with signal SIGKILL. Mar 19 19:09:40 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Succeeded. Mar 19 19:09:40 nancy.zainsoltan.cloud systemd[1]: Stopped x-ui Service. Mar 19 19:10:05 nancy.zainsoltan.cloud systemd[1]: Started x-ui Service. Mar 19 19:10:05 nancy.zainsoltan.cloud x-ui[22948]: 2023/03/19 19:10:05 x-ui 0.3.2 Mar 19 19:10:05 nancy.zainsoltan.cloud x-ui[22948]: 2023/03/19 19:10:05 INFO - web server run http on [::]:54321 Mar 19 19:17:35 nancy.zainsoltan.cloud x-ui[22948]: 2023/03/19 19:17:35 INFO - wrong username or password: "admin" "admin" Mar 19 19:21:46 nancy.zainsoltan.cloud systemd[1]: Stopping x-ui Service... Mar 19 19:21:46 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Killing process 23051 (xray-linux-amd6) with signal SIGKILL. Mar 19 19:21:46 nancy.zainsoltan.cloud systemd[1]: x-ui.service: Succeeded. Mar 19 19:21:46 nancy.zainsoltan.cloud systemd[1]: Stopped x-ui Service. Mar 19 19:22:19 nancy.zainsoltan.cloud systemd[1]: Started x-ui Service. Mar 19 19:22:19 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:22:19 x-ui 1.1.1 Mar 19 19:22:19 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:22:19 INFO - web server run http on [::]:54321 Mar 19 19:22:33 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:22:33 WARNING - oqzk5f Mar 19 19:22:37 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:22:37 WARNING - coh7kk0 Mar 19 19:22:40 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:22:40 WARNING - 8esiok Mar 19 19:22:43 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:22:43 WARNING - Mar 19 19:25:46 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:25:46 WARNING - stop server err: multierr: close tcp [::]:54321: use of closed network connection | Mar 19 19:25:46 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:25:46 INFO - web server run https on [::]:54321 Mar 19 19:25:49 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:25:49 http: TLS handshake error from 151.241.148.160:8105: read tcp 91.107.196.184:54321->151.241.148.160:8105: use of closed network connection Mar 19 19:26:53 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:26:53 http: TLS handshake error from 151.241.148.160:8106: EOF Mar 19 19:28:05 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:28:05 WARNING - stop server err: multierr: close tcp [::]:54321: use of closed network connection | Mar 19 19:28:05 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 19:28:05 INFO - web server run https on [::]:54321 Mar 19 20:07:31 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 20:07:31 http: TLS handshake error from 5.253.25.241:54874: read tcp 91.107.196.184:54321->5.253.25.241:54874: use of closed network connection Mar 19 21:02:43 nancy.zainsoltan.cloud x-ui[23199]: 2023/03/19 21:02:43 http: TLS handshake error from 5.253.25.241:1354: read tcp 91.107.196.184:54321->5.253.25.241:1354: use of closed network connection
Author
Owner

@MHSanaei commented on GitHub (Mar 20, 2023):

use these two command lines in your server and show us the logs thanks
x-ui log
x-ui status

<!-- gh-comment-id:1475733350 --> @MHSanaei commented on GitHub (Mar 20, 2023): use these two command lines in your server and show us the logs thanks x-ui log x-ui status
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#8
No description provided.