Chia-Network / chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
10.82k stars 2.03k forks source link

Chia 1.1.6 problem with multifarm [BUG] #6396

Closed filzek closed 3 years ago

filzek commented 3 years ago

Hi,

We have update from 1.1.5 to 1.1.6 and we do work in multifarm mode, so we have a Chia running in farmer mode, and all others machines in harvester modes, all harvester machine does have the CA certificate from the main farmer node, so all tls are okay, but the logs now show complete new problems that is happening.

Connections and disconnetions are happen at all times from all nodes and we cant figure out why, we just have update the Chia.

Please advise what shall be the correction or why this bug is happen.

Also the chia start harvester -r try to connect all modes in log file

2021-06-03T16:48:52.810 harvester chia.plotting.plot_tools: INFO Loaded a total of 114 plots of size 11.284034107782645 TiB, in 18.654886484146118 seconds 2021-06-03T16:48:52.826 harvester harvester : INFO Reconnecting to peer {'host': 'xxx.xxx.xxx.xxx', 'port': 8447} 2021-06-03T16:48:52.826 harvester harvester_server : INFO Connection closed: xxx.xxx.xxx.xxx, node id: 2d282a83a62fb3ba0f6cf1fcd8dfebe15e0e088e429a42fbe2c9b63912d5675e 2021-06-03T16:48:52.826 harvester chia.harvester.harvester: INFO peer disconnected None

and this message keep reapeting.

from the server farmer side: 2021-06-03T19:50:21.269 farmer farmer_server : INFO Connection closed: xxx.xxx.xxx.xxx, node id: e659167274b81956fe62d33da45e662df7491f39bb0eb59a68d109ceb92aa10a 2021-06-03T19:50:21.269 farmer chia.farmer.farmer : INFO peer disconnected {'host': 'xxx.xxx.xxx.xxx', 'port': 8448} 2021-06-03T19:50:23.411 farmer farmer_server : INFO Connection closed: xxx.xxx.xxx.xxx, node id: e659167274b81956fe62d33da45e662df7491f39bb0eb59a68d109ceb92aa10a 2021-06-03T19:50:23.411 farmer chia.farmer.farmer : INFO peer disconnected {'host': 'xxx.xxx.xxx.xxx', 'port': 8448} 2021-06-03T19:50:23.817 farmer farmer_server : INFO Connection closed: xxx.xxx.xxx.xxx, node id: e659167274b81956fe62d33da45e662df7491f39bb0eb59a68d109ceb92aa10a 2021-06-03T19:50:23.817 farmer chia.farmer.farmer : INFO peer disconnected {'host': 'xxx.xxx.xxx.xxx', 'port': 8448} 2021-06-03T19:50:25.013 farmer farmer_server : INFO Connection closed: xxx.xxx.xxx.xxx, node id: e659167274b81956fe62d33da45e662df7491f39bb0eb59a68d109ceb92aa10a

filzek commented 3 years ago

Also, maybe its important to disclosure what are the PORTS that must be open for external access for CHIA and multi farm.

Please advise asap.

IgnaciusMaximus commented 3 years ago

Port 8444 must be open Upnp must be disabled as well.

check this info https://www.reddit.com/r/chia/comments/mgwpr7/disabling_upnp_when_farming_on_multiple_windows/?utm_source=amp&utm_medium=&utm_content=post_body

good luck!

baizuchong-net commented 3 years ago

注意主从关系, 主,开8444 从,关8444 chia configure --enable-upnp false chia configure --enable-upnp true

filzek commented 3 years ago

it is another problem, with more than 200 harversters the error start to happen, we will try to redirect some ports to other rangers.