[GH-ISSUE #878] Problem with ShadowSocks on 3X-UI 1.7.5 #587

Closed
opened 2026-10-31 20:13:05 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @igori81 on GitHub (Aug 8, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/878

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

Protocol - ShadowSocks
Encryption - 2022-blake3-aes-256-gcm
Version 3X-UI - 1.7.5
The problem is the connection is not working.
On version 1.7.1 installed from scratch, there is no such problem.
If you upgrade from 1.7.1 to 1.7.5, old clients (which I added from the link generated on 1.7.1) do not have such a problem. If the old client generates a new link - the problem appears and is clearly visible - the key (Password) is different.

If the encryption is replaced with aes-256-gcm and the keys are recreated, there is no problem.

Version of 3x-ui

1.7.5

x-ui log reports or xray log

Aug 08 09:18:51 testSS.ip-ptr.tech x-ui[516]: [Tue Aug  8 09:18:51 +03 2023] ERROR Retrying to get updates in 8s
Aug 08 09:18:53 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[516]: INFO - Stop Telegram receiver ...
Aug 08 09:18:53 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[516]: WARNING - stop server err: multierr: close tcp [::]:63499: use of closed network connection |
Aug 08 09:18:53 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[516]: INFO - web server run http on [::]:63499
Aug 08 09:18:53 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[516]: INFO - Tg notify enabled,run at @daily
Aug 08 09:18:53 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[516]: INFO - Starting Telegram receiver ...
Aug 08 10:06:49 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[516]: INFO - Stop Telegram receiver ...
Aug 08 10:06:49 testSS.ip-ptr.tech systemd[1]: Stopping x-ui Service...
Aug 08 10:06:49 testSS.ip-ptr.tech systemd[1]: x-ui.service: Succeeded.
Aug 08 10:06:49 testSS.ip-ptr.tech systemd[1]: Stopped x-ui Service.
Aug 08 10:06:49 testSS.ip-ptr.tech systemd[1]: x-ui.service: Consumed 59.933s CPU time.
Aug 08 10:06:49 testSS.ip-ptr.tech systemd[1]: Started x-ui Service.
Aug 08 10:06:49 testSS.ip-ptr.tech x-ui[4958]: 2023/08/08 10:06:49 x-ui 1.7.5
Aug 08 10:06:49 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[4958]: INFO - web server run http on [::]:63499
Aug 08 10:06:49 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[4958]: INFO - Tg notify enabled,run at @daily
Aug 08 10:06:49 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[4958]: INFO - Starting Telegram receiver ...
Aug 08 10:20:36 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[4958]: INFO - Stop Telegram receiver ...
Aug 08 10:20:36 testSS.ip-ptr.tech systemd[1]: Stopping x-ui Service...
Aug 08 10:20:36 testSS.ip-ptr.tech systemd[1]: x-ui.service: Succeeded.
Aug 08 10:20:36 testSS.ip-ptr.tech systemd[1]: Stopped x-ui Service.
Aug 08 10:20:36 testSS.ip-ptr.tech systemd[1]: x-ui.service: Consumed 2.725s CPU time.
Aug 08 10:24:02 testSS.ip-ptr.tech systemd[1]: Started x-ui Service.
Aug 08 10:24:02 testSS.ip-ptr.tech x-ui[5178]: 2023/08/08 10:24:02 x-ui 1.7.1
Aug 08 10:24:02 testSS.ip-ptr.tech x-ui[5178]: 2023/08/08 10:24:02 INFO - web server run http on [::]:63499
Aug 08 10:25:05 testSS.ip-ptr.tech x-ui[5178]: 2023/08/08 10:25:05 INFO - LYS5RDpG1b105kNa0Pyg3d login success, Ip Address: 178.20.42.213
Aug 08 10:25:05 testSS.ip-ptr.tech x-ui[5178]: 2023/08/08 10:25:05 INFO - user 1 login success
Aug 08 11:06:16 testSS.ip-ptr.tech systemd[1]: Stopping x-ui Service...
Aug 08 11:06:16 testSS.ip-ptr.tech systemd[1]: x-ui.service: Succeeded.
Aug 08 11:06:16 testSS.ip-ptr.tech systemd[1]: Stopped x-ui Service.
Aug 08 11:06:16 testSS.ip-ptr.tech systemd[1]: x-ui.service: Consumed 13.633s CPU time.
Aug 08 11:06:30 testSS.ip-ptr.tech systemd[1]: Started x-ui Service.
Aug 08 11:06:30 testSS.ip-ptr.tech x-ui[5320]: 2023/08/08 11:06:30 x-ui 1.7.5
Aug 08 11:06:30 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[5320]: INFO - web server run http on [::]:63499

Originally created by @igori81 on GitHub (Aug 8, 2023). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/878 ### 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 Protocol - ShadowSocks Encryption - 2022-blake3-aes-256-gcm Version 3X-UI - 1.7.5 The problem is the connection is not working. On version 1.7.1 installed from scratch, there is no such problem. If you upgrade from 1.7.1 to 1.7.5, old clients (which I added from the link generated on 1.7.1) do not have such a problem. If the old client generates a new link - the problem appears and is clearly visible - the key (Password) is different. If the encryption is replaced with aes-256-gcm and the keys are recreated, there is no problem. ### Version of 3x-ui 1.7.5 ### x-ui log reports or xray log <details> ```console Aug 08 09:18:51 testSS.ip-ptr.tech x-ui[516]: [Tue Aug 8 09:18:51 +03 2023] ERROR Retrying to get updates in 8s Aug 08 09:18:53 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[516]: INFO - Stop Telegram receiver ... Aug 08 09:18:53 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[516]: WARNING - stop server err: multierr: close tcp [::]:63499: use of closed network connection | Aug 08 09:18:53 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[516]: INFO - web server run http on [::]:63499 Aug 08 09:18:53 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[516]: INFO - Tg notify enabled,run at @daily Aug 08 09:18:53 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[516]: INFO - Starting Telegram receiver ... Aug 08 10:06:49 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[516]: INFO - Stop Telegram receiver ... Aug 08 10:06:49 testSS.ip-ptr.tech systemd[1]: Stopping x-ui Service... Aug 08 10:06:49 testSS.ip-ptr.tech systemd[1]: x-ui.service: Succeeded. Aug 08 10:06:49 testSS.ip-ptr.tech systemd[1]: Stopped x-ui Service. Aug 08 10:06:49 testSS.ip-ptr.tech systemd[1]: x-ui.service: Consumed 59.933s CPU time. Aug 08 10:06:49 testSS.ip-ptr.tech systemd[1]: Started x-ui Service. Aug 08 10:06:49 testSS.ip-ptr.tech x-ui[4958]: 2023/08/08 10:06:49 x-ui 1.7.5 Aug 08 10:06:49 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[4958]: INFO - web server run http on [::]:63499 Aug 08 10:06:49 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[4958]: INFO - Tg notify enabled,run at @daily Aug 08 10:06:49 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[4958]: INFO - Starting Telegram receiver ... Aug 08 10:20:36 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[4958]: INFO - Stop Telegram receiver ... Aug 08 10:20:36 testSS.ip-ptr.tech systemd[1]: Stopping x-ui Service... Aug 08 10:20:36 testSS.ip-ptr.tech systemd[1]: x-ui.service: Succeeded. Aug 08 10:20:36 testSS.ip-ptr.tech systemd[1]: Stopped x-ui Service. Aug 08 10:20:36 testSS.ip-ptr.tech systemd[1]: x-ui.service: Consumed 2.725s CPU time. Aug 08 10:24:02 testSS.ip-ptr.tech systemd[1]: Started x-ui Service. Aug 08 10:24:02 testSS.ip-ptr.tech x-ui[5178]: 2023/08/08 10:24:02 x-ui 1.7.1 Aug 08 10:24:02 testSS.ip-ptr.tech x-ui[5178]: 2023/08/08 10:24:02 INFO - web server run http on [::]:63499 Aug 08 10:25:05 testSS.ip-ptr.tech x-ui[5178]: 2023/08/08 10:25:05 INFO - LYS5RDpG1b105kNa0Pyg3d login success, Ip Address: 178.20.42.213 Aug 08 10:25:05 testSS.ip-ptr.tech x-ui[5178]: 2023/08/08 10:25:05 INFO - user 1 login success Aug 08 11:06:16 testSS.ip-ptr.tech systemd[1]: Stopping x-ui Service... Aug 08 11:06:16 testSS.ip-ptr.tech systemd[1]: x-ui.service: Succeeded. Aug 08 11:06:16 testSS.ip-ptr.tech systemd[1]: Stopped x-ui Service. Aug 08 11:06:16 testSS.ip-ptr.tech systemd[1]: x-ui.service: Consumed 13.633s CPU time. Aug 08 11:06:30 testSS.ip-ptr.tech systemd[1]: Started x-ui Service. Aug 08 11:06:30 testSS.ip-ptr.tech x-ui[5320]: 2023/08/08 11:06:30 x-ui 1.7.5 Aug 08 11:06:30 testSS.ip-ptr.tech /usr/local/x-ui/x-ui[5320]: INFO - web server run http on [::]:63499 ``` </details>
Author
Owner

@alireza0 commented on GitHub (Aug 8, 2023):

Thank you for reporting this bug. I have committed a bugfix for it. It will be soon in 3x-ui.
@MHSanaei please change the order of client and server password in xray.js for the next version.

<!-- gh-comment-id:1670067689 --> @alireza0 commented on GitHub (Aug 8, 2023): Thank you for reporting this bug. I have committed a bugfix for it. It will be soon in 3x-ui. @MHSanaei please change the order of client and server password in xray.js for the next version.
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#587
No description provided.