ssr-command-client icon indicating copy to clipboard operation
ssr-command-client copied to clipboard

tcprelay.py[line:272] - [_create_encryptor] - ERROR: create encryptor fail at port 60000

Open luoolu opened this issue 2 years ago • 5 comments

followed below: apt-get install build-essential -y wget https://download.libsodium.org/libsodium/releases/LATEST.tar.gz tar xzvf LATEST.tar.gz cd libsodium* ./configure && make -j8 && make install echo /usr/local/lib > /etc/ld.so.conf.d/usr_local_lib.conf ldconfig

but also create encryptor fail at port 60000

luoolu avatar Apr 26 '22 08:04 luoolu

Please use this command ldconfig -p | grep libcrypto to check the libsodium whether you had installed successfully. If yes, please offer more details that in your log files in comment.

TyrantLucifer avatar Apr 26 '22 08:04 TyrantLucifer

got this result:

libcrypto.so.1.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libcrypto.so.1.1 libcrypto.so.1.1 (libc6) => /lib/i386-linux-gnu/libcrypto.so.1.1 libcrypto.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libcrypto.so libcrypto++.so.8 (libc6,x86-64) => /lib/x86_64-linux-gnu/libcrypto++.so.8 libcrypto++.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libcrypto++.so

luoolu avatar Apr 26 '22 09:04 luoolu

It seems no problem. Is any other information in error logs?

TyrantLucifer avatar Apr 26 '22 12:04 TyrantLucifer

Got same error, and fixed with:

# cent os 7
yum install epel-release -y
yum install libsodium -y

# macOS
brew install libsodium

then restart with

python3 main.py -S

V01dZer0 avatar Sep 30 '22 07:09 V01dZer0

And another problem is when call start script with content ( named start.sh):

#!/bin/sh
# this is start.sh
python3 main.py -s channel -p port

in python:

subprocess.check_output(["sh", "start.sh"])

I got the same error:

tcprelay.py[line:272] - [_create_encryptor] - ERROR: create encryptor fail at port

V01dZer0 avatar Sep 30 '22 13:09 V01dZer0