shadowsocks / shadowsocks-qt5

A cross-platform shadowsocks GUI client
GNU Lesser General Public License v3.0
7.97k stars 2.33k forks source link

Connection closed unexpectedly using AEAD ciphers #737

Open RyanBernX opened 6 years ago

RyanBernX commented 6 years ago

Hi,

I am using ss-qt5 on Linux but it seems not working properly with AEAD ciphers (such as aes-256-gcm). Connections are closed soon after they are established.

Steps to reproduce

However, it seems that I can still access the websites using proxy, but cannot download files.

Debugging information

After checking the output of ss-qt5 I find many error messages like:

AEAD data chunk is incomplete (too small for payload)
AEAD data chunk is incomplete (too small for length)
Remote: Integrity failure: GCM tag check failed

On the server side, the ss-server throws this error:

2018-06-29 08:28:23 ERROR: server recv: Connection reset by peer

Other Notes

Any idea on this issue?

librehat commented 6 years ago

I'm not sure why this would happen. It was firstly reported here https://github.com/shadowsocks/libQtShadowsocks/issues/165

RyanBernX commented 6 years ago

Thanks. Look forward to the updates.