More
referral
Increase your income with Hive. Invite your friends and earn real cryptocurrency!

Unable to connect to api.hiveos.farm

Hello,

When running hive on one (and only one) of my rigs, I get the following error:
CURLE_COULDNT_CONNECT (7) failed to connect to host or proxy

I can ping anything on the net with success except https://api.hiveos.farm (which is, of course, what it needs to connect to). Below is a dodgy pic of my net-test results:

Any ideas?

Many thanks

1 Like

Did you manage to get it working?

Nope. Switched the rig to windows in frustration and moved on with my life.

So, following some research, the idea is that there is a problem with the IPv6 protocol in this situation. Not HIve’s fault, a poor implementation of CURL from those who developed it. Anyway, I tried disabling IPv6 functionality by doing the following edits of /etc/sysctl.conf :

#added this
net.ipv6.bindv6only = 0

#then enabled /uncommented the following lines as per the instructions in the sysctl.conf file

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Then ran:

sysctl -p

That didn’t work. I get the following message:
sysctl: cannot stat /proc/sys/net/ipv6/bindv6onlt: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv6/all/disable_ipv6: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv6/conf/default/disable_ipv6: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv6/conf/lo/disable_ipv6: No such file or directory

Anyone have any ideas they can suggest?

More info…

So the problem is related to curl. While the rig can curl to http://hiveos.farm it cannot curl to http://api.hiveos.farm

If I curl http://www.google.com I get a timeout error.

I’ve tried blacklisting ipv6. I’ve dropped all security on the firewall. Still no solution.

I am having the same issue. Was WIndows the final move?

1 Like

Have you solved the issue? Im having the issue now