Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Shadowsocks problem with encryption 2022-blake3-aes-128-gcm #1209

Closed
Arhkeis opened this issue Mar 2, 2024 · 1 comment
Closed

BUG: Shadowsocks problem with encryption 2022-blake3-aes-128-gcm #1209

Arhkeis opened this issue Mar 2, 2024 · 1 comment

Comments

@Arhkeis
Copy link

Arhkeis commented Mar 2, 2024

Describe the problem

Actual behavior:

I have one X-Ray based server and 2 Win10 PCs. I connect using 2022-blake3-aes-128-gcm encryption. Everything is fine with one system, but the second system fails to connect with an error. Change the encryption to xchacha20-ietf-poly1305 and the system connects to the server.

How to reproduce

X-Ray based server. iOS and Android mobile phones work well. As mentioned above, only one computer has a connection problem. And it only occurs when using encryption only 2022-blake3-aes-128-gcm. When changing the encryption to any other, everything works well.

{
      "listen": "127.0.0.1",
      "port": 22,
      "protocol": "shadowsocks",
      "settings": {
        "clients": [
          {
            "email": "test",
            "method": "",
            "password": "lcqliuiagUL1h2W9HFlTqA=="
          }
],
        "method": "2022-blake3-aes-128-gcm",
        "network": "tcp,udp",
        "password": "wpXc+PaUMv5rV73+zfIYWg=="
},
"streamSettings": {
        "network": "tcp",
        "security": "none",
        "tcpSettings": {
          "acceptProxyProtocol": false,
          "header": {
            "type": "none"
          }
        }
      },

Screenshot_1

log

INFO[0000] sing-box started (0.00s)
INFO[0000] outbound/shadowsocks[proxy]: outbound connection to cp.cloudflare.com:80
[[Shadowsocks] Test] ошибка теста: Get "http://cp.cloudflare.com/": read tcp xxx.xxx.xxx.xxx:50772->xxx.xxx.xxx.xxx:22: wsarecv: An existing connection was forcibly closed by the remote host.

@kiyan9
Copy link

kiyan9 commented Mar 28, 2024

Had the same problem, It was because my system's date and time was not set correctly.
I just synced it with Microsoft's time server and started working!
you can do this in Windows settings =>Time & Language =>Date & Time => click on "sync now"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants