silicoin-network / silicoin-blockchain

Silicoin blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
79 stars 28 forks source link

[BUG] Remote harvester cannot connect to the farmer #203

Closed bogdanszmyd closed 2 years ago

bogdanszmyd commented 2 years ago

Remote harvester cannot connect to the farmer. My config files looks like this:

harvester: The harvester server (if run) will run on this port port: 22448 farmer_peer: host: 192.168.100.62 port: 22447

Unfortunately, the connection is not possible and I have something like this in my log

2022-01-31T13:32:26.125 harvester harvester : INFO Reconnecting to peer {'host': '192.168.100.62', 'port': 22447} 2022-01-31T13:32:26.127 harvester harvester_server : INFO Cannot connect to host 192.168.100.62:22447 ssl:<ssl.SSLContext object at 0x7f9504418ac0> [Connect call failed ('192.168.100.62', 22447)]

SSL certs, are 100% correct. The other forks such as flax, hddcoin, n-chain work very well. What is happening ? Farmer on Windows Server, harvester Ubuntu 20.04 amd64.

PrEzi3 commented 2 years ago

Cannot replicate. Also running a harvester and farmer separately. Harvester on a Raspberry PI and Farmer with the Full node together on Win. Connect just fine. Remember that the certificates DID change three (or so) times already.

albertcoady commented 2 years ago

Maybe there is a port conflict.