Decryption failure error occurred when sending data: shadowsocks::relay::tcprelay::utils: copy bidirection ends with error: decrypt data failed
Linux server, Linux client (Windows client has no problem sending small amount of data, but this error will still appear when uploading more data) The outbound data flow is purely problematic. I have been looking for the problem for a long time. Today, I opened the debug log and checked in verbose mode: tokio-runtime-worker ThreadId(02) shadowsocks::relay::tcprelay::utils: copy bidirection ends with error: decrypt data failed, a_to_b: Running(CopyBuffer { read_done: false, pos: 0, cap: 0, amt: 0, .. }), b_to_a: Running(CopyBuffer { read_done: false, pos: 173, cap: 173, amt: 173, .. }) It can receive data normally, but it only appears when sending data. I am not sure if it is a problem with my client operating system or some other reason.
Here is the full log:
2025-02-13T01:16:45.732149927Z DEBUG tokio-runtime-worker ThreadId(02) shadowsocks::relay::tcprelay::utils: copy bidirection ends with error: decrypt data failed, a_to_b: Running(CopyBuffer { read_done: false, pos: 769, cap: 769, amt: 833, .. }), b_to_a: Running(CopyBuffer { read_done: false, pos: 239, cap: 239, amt: 480, .. })
2025-02-13T01:16:45.732224694Z TRACE tokio-runtime-worker ThreadId(02) shadowsocks_service::server::tcprelay: tcp tunnel 127.0.0.1:34134 <-> speedtest-mad.melbicom.net:8080 closed with error: decrypt data failed
2025/02/13 01:16:45 [Info] [3787293549] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > proxy: failed to process response > read tcp 127.0.0.1:34134->127.0.0.1:37923: read: connection reset by peer
2025/02/13 01:16:45 [Info] [3787293549] app/proxyman/inbound: connection ends > proxy/dokodemo: connection ends > proxy/dokodemo: failed to transport response > io: read/write on closed pipe
2025-02-13T01:16:46.033050414Z DEBUG tokio-runtime-worker ThreadId(02) shadowsocks::relay::tcprelay::utils: copy bidirection ends with error: decrypt data failed, a_to_b: Running(CopyBuffer { read_done: false, pos: 64, cap: 64, amt: 64, .. }), b_to_a: Running(CopyBuffer { read_done: false, pos: 478, cap: 478, amt: 2943, .. })
Did you try sslocal from this project?