ssr-command-client
ssr-command-client copied to clipboard
tcprelay.py[line:272] - [_create_encryptor] - ERROR: create encryptor fail at port 60000
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
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.
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
It seems no problem. Is any other information in error logs?
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
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