The common question is: my rig is mining, but it’s offline in Hive.
A bit of explanation. There is an agent on a rig that sends stats every 10 seconds to server. It starts as soon as the system boots. So your rig may be running but the agent fails to reach server for some reason. Or the common problem is a dead filesystem and agent just can’t save temp files to construct its package.
For network diagnosis there is test script, just run net-test
. It will quickly ping and try to reach server. Take manual actions if you need more information.
First in all ensure your network connection:
ping google.com
for instanceThese are very basic actions you may take.
The following is what we actually do on the particular rig when it has such problem:
ping hiveos.farm
to check if Hive server is reachablemtr hiveos.farm
to check if the network has any packet losstime curl http://hiveos.farm
to check if HTTP ports are open and there is no significant lagBut the really-really first thing we recommend you to do is opening agent-screen
. It will show you what it tries to send and gives you some hint what’s wrong. Like here:
There is obviously some problem with server connection, to investigate this you might do all the upper stuff.
Here is how the very bad situation with your internet looking. Very high packet loss:
This is a good command to test real times of opening the website. So you can see how much does it take to connect to server. If the value is high, like several seconds, then you have a bad connection:
for i in {1..10}; do time curl -s https://hiveos.farm > /dev/null; done
To inspect the mirrors please try to “curl” api urls like:
curl http://api.hiveos.farm
curl https://api.hiveos.farm
curl http://amster.hiveos.farm
curl <...other urls listed in rig mirror selection>