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

T-Rex API bug behind http_proxy

I’m using hiveos behind http proxy.
Dashboard works well with nbminer and lolminer.
But agent shows cannot get data from localhost:4059 while using T-Rex.
I manually tried curl {my-machine-ip}:4059, and got mining info, but not response curl localhost:4059.
Can anyone who met with the same circumstance help me?

Okay, just found out how to fix this.
add export no_proxy=localhost in /hive-config/network/http_proxy.txt

It’s good you managed to find the solution to the problem. I’m having similar issues now, and the code you provide here is helpful.
I’ve been trying to install a good and reliable proxy server onto my PC, and it turned out to be a bigger challenge than I thought it would be. I’m not a professional, and all those code issues are a mystery to me. If I don’t manage to adjust this proxy in the following two hours or so, I will seek professional help. Hopefully, the company I bought the package from will be able to help me with installation, too, for an additional fee.