Concordium / Testnet4-Challenges

Creative Commons Attribution Share Alike 4.0 International
95 stars 642 forks source link

Node on Windows fails to bootstrap with Docker Desktop 3.1.0 #70

Open concordium-cl opened 3 years ago

concordium-cl commented 3 years ago

When running your node on Windows, it might fail to bootstrap. In that case, it will not get any peers and does not catch up to the chain or at least not to the full fin length. You can check both e.g. on the network dashboard. Furthermore, the log will show the following entries:

ERROR: Can't connect to the desired address
INFO: Attempting to bootstrap
INFO: No peers at all - retrying bootstrapping

The issue only occurs with the latest Docker Desktop version 3.1.0. The node works fine with when running with earlier Docker versions. However, since Docker from version 3.0.0 and upwards automatically updates to the latest version when restarting, we strongly recommend to install Docker Desktop 2.5.0.1, which comes with Docker Engine version 19.03.13.

We suggest the following workaround:

Your node should now catch up to the full fin length and eventually get peers assigned.

Whenever you restart your node, remember to NOT UPDATE TO A NEWER VERSION.

ZloyMyshok commented 3 years ago

The question can be closed. Yes it really works! But I think that this is not correct. Node cannot support the latest Docker updates on Windows !!!

concordium-cl commented 3 years ago

Happy that it works for you. I don't see how a more imprecise statement makes the title more correct though.