/bin/sh: 1: ../runtime/bin/openssl: Permission denied + NO PEERS FOUND Dashboard
slrslr opened this issue · 1 comments
Step 1: Please describe your environment
- ZeroNet version: 0.8.2 r4610, Python 3.9.2
- Operating system: Debian 11
- Web browser: More than one
- Tor status: enabled
- Opened port: yes
Step 2: Describe the problem:
Downloaded today from https://github.com/ZeroNetX/ZeroNet/releases/latest/download/ZeroNet-linux.zip
First and repeated zeronet start:
CONNECTING...
TRACKERS ANNOUNCING: 0, ERROR: 0, DONE: 2
NO PEERS FOUND
CONTENT.JSON DOWNLOAD FAILED
Suspection regarding this is no working "bootstrap" trackers supplied by ZNX. check this similar issue for idea how to workaround it.
# ./ZeroNet.sh
- Starting ZeroNet...
[22:32:30] - Libsecpk256k1 loaded: Lib in 0.009s
[22:32:30] - Version: 0.8.2 r4610, Python 3.9.2 (default, Feb 28 2021)
[GCC 10.2.1 20210110], Gevent: 22.10.2
[22:32:30] - Creating FileServer....
[22:32:30] - Creating UiServer....
[22:32:30] SiteManager Loading sites... (cleanup: True, startup: True)
[22:32:30] SiteManager Added 3 sites in 0.000s
[22:32:30] Site:1NAMEz..qDNv ContentDb not initialized, load files from filesystem...
[22:32:30] Site:1Sites..ZR1k ContentDb not initialized, load files from filesystem...
[22:32:30] - Removing old SSL certs...
[22:32:30] - Starting servers....
[22:32:30] Site:1HELLo..Ri9d ContentDb not initialized, load files from filesystem...
[22:32:30] Ui.UiServer --------------------------------------
[22:32:30] Ui.UiServer Web interface: http://*:80/
[22:32:30] Ui.UiServer --------------------------------------
[22:32:30] CryptConnectionManager RSA ECC SSL CAcert generation failed, CAcert or CAkey files not exist. (/bin/sh: 1: ../runtime/bin/openssl: Permission denied)
[22:32:30] Site:1NAMEz..qDNv Announce to 2 trackers in 0.015s, failed
[22:32:30] Site:1Sites..ZR1k Announce to 2 trackers in 0.015s, failed
[22:32:30] Site:1HELLo..Ri9d Announce to 2 trackers in 0.016s, failed
[22:32:30] PeerPortchecker Checked port porthereredacted (ipv4) using checkIpfingerprints result: {'ip': 'PublicIPHereRedacted', 'opened': True} in 0.401s
[22:32:30] Ui.UiServer Added PublicIPHereRedacted as allowed host
[22:32:32] PeerPortchecker Checked port porthereredacted (ipv6) using checkMyaddr result: {'ip': 'PublicIPHereRedacted', 'opened': False} in 2.208s
[22:32:32] ConnServer Server port opened ipv4: True, ipv6: False
^C[22:32:52] - Shutting down (reason: Keyboard interrupt)...
The permission line can be prevented by setting execute permission to that files: chmod +x zeronet/runtime/bin/*
(original was 644)
but the web browsers shows above mentioned. After that debug log looks like this (login: log).
What to try, anything can be done to fix this please?
OpenSSL bug is removed by this Linux command executed when being in zeronet root directory:
sed -i "s|../runtime/bin/openssl|openssl|" ./core/src/Crypt/CryptConnection.py
I wish canewsin apply this change on his end.
Possible workaround for the peers issue #210 (comment)