Closed jimthedj65 closed 2 years ago
stdout to a log is
06/03/2022 09:15:43 INFO Diode Client version : v0.12.8-dirty 13 Apr 2022 06/03/2022 09:15:43 INFO Client address : 0x279644d01e539a1684fc722e9788fe8eeda84ee3 06/03/2022 09:15:43 INFO Fleet address : 0x6000000000000000000000000000000000000000 06/03/2022 09:15:43 DEBUG Adding relay#0 [] @ us1.prenet.diode.io:41046 06/03/2022 09:15:43 DEBUG Adding relay#0 [] @ eu2.prenet.diode.io:41046 06/03/2022 09:15:43 DEBUG Adding relay#0 [] @ as1.prenet.diode.io:41046 06/03/2022 09:15:43 DEBUG Adding relay#0 [] @ us2.prenet.diode.io:41046 06/03/2022 09:15:43 DEBUG Adding relay#0 [] @ eu1.prenet.diode.io:41046 06/03/2022 09:15:44 DEBUG Added relay#0 [0x937c492a77ae90de971986d003ffbc5f8bb2232c] @ eu1.prenet.diode.io:41046 06/03/2022 09:15:44 INFO Network is validated, last valid block: 3748122 0x00003437b5a8254b32957f437d279a9c84d5e18001974df850fdf0b5e0e8531a 06/03/2022 09:15:44 DEBUG Added relay#0 [0x7e4cd38d266902444dc9c8f7c0aa716a32497d0b] @ us2.prenet.diode.io:41046 06/03/2022 09:15:45 DEBUG Added relay#0 [0xceca2f8cf1983b4cf0c1ba51fd382c2bc37aba58] @ us1.prenet.diode.io:41046 06/03/2022 09:15:45 DEBUG Added relay#0 [0xae699211c62156b8f29ce17be47d2f069a27f2a6] @ eu2.prenet.diode.io:41046 06/03/2022 09:15:46 INFO Start socks server 0.0.0.0:1080 06/03/2022 09:15:46 INFO Start gateway server 0.0.0.0:80 06/03/2022 09:15:46 ERROR tls: private key does not match public key 06/03/2022 09:15:46 DEBUG Added relay#0 [0x68e0bafdda9ef323f692fc080d612718c941d120] @ as1.prenet.diode.io:41046 06/03/2022 09:19:10 ERROR Handshake failed socks version not supported 06/03/2022 09:19:13 ERROR Handshake failed socks version not supported 06/03/2022 11:06:30 ERROR Target not a diode host example.com:80 06/03/2022 12:23:14 ERROR Handshake failed socks version not supported
this was resolved by adding GO to the sudoers
Setting up go
IN order to run make openssl first you need to add go path to sudoers
sudo vi /etc/sudoers
sudo overrides PATH with the "secure_path" when it execute the command. Include your path in secure_path, if it's not already there: Defaults secure_path="$YOUR_GO_BIN_DIR:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" Keep your GOPATH with the env_keep option: Defaults env_keep += "GOPATH"
Now when you issue make openssl in the diode_client directory it will pass a make test and make openssl. You can now compile diode.
Hi Guys
after configuring a 2nd gateway under the one domain and setting up the TXT (acme) for letsencrypt, the socks ports don't load on the gateway anymore. the errors I get on the terminal are below. I cloned the instance image set it up in a different location.
I have tried just loading the one original gateway but makes no difference.
06/03/2022 09:15:46 INFO Start socks server 0.0.0.0:1080 06/03/2022 09:15:46 INFO Start gateway server 0.0.0.0:80 06/03/2022 09:15:46 ERROR tls: private key does not match public key 06/03/2022 09:15:46 DEBUG Added relay#0 [0x68e0bafdda9ef323f692fc080d612718c941d120] @ as1.prenet.diode.io:41046 06/03/2022 09:19:10 ERROR Handshake failed socks version not supported 06/03/2022 09:19:13 ERROR Handshake failed socks version not supported 06/03/2022 11:06:30 ERROR Target not a diode host example.com:80 06/03/2022 12:23:14 ERROR Handshake failed socks version not supported
Any help or pointers greatly appreciated