Troubleshooting
I get this error:
mesh.dht.protocol.ValidationError: local time must be within 3 seconds of others
on WSL. What should I do?All clocks on all nodes need to be synchronized. Please set the date using an NTP server:sudo apt install ntpdatesudo ntpdate pool.ntp.orgThe server starts loading blocks and then prints:
Killed
. What should I do? This happens since Windows doesn't allocate much RAM to WSL by default, so the server gets OOM-killed.To increase the memory limit, go toC:/Users/username
and create the.wslconfig
with this content:[wsl2] memory=12GB
Then reboot WSL (run
sudo reboot
in the WSL console) and the node should operate.WSL clock tends to get out of synch, which prevents the server from launching with the error
mesh.dht.protocol.ValidationError: local time must be within 3 seconds of others
.To sync the WSL clock, runsudo ntpdate pool.ntp.org
. See more fixes discussed at stackverflow.
Last updated