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 start as soon as the system boots. So your rig maybe 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 it’s 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.
Manual checking instructions below
First in all ensure your network connection.
- Check LEDs are blinking on the network card
- You have internet on the on the other devices in this net like you phone or laptop
- Try to open some site form the rig with the browser
- Check your connection by pinging some server, you should run “ping google.com” for instance
These are very basic actions you may take
The following is what I actually do on the particular rig when it has such problem
- “ping hiveos.farm” to check if hive server is reachable
- “mtr hiveos.farm” to check if the network has any packet loss
- “time curl http://hiveos.farm” to check if HTTP ports are open and there is no significant lag
But the really-really first thing I really do is I open “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>