New to hiveOS so sorry in advance if I missed something. I am mining using T-Rex miner and I want to be able to get HTTP API requests, below is the data I have put in the config arg section but it doesn’t seem to work?
Not sure if maybe hiveos has a firewall that would prevent me from accessing this? or if I am missing something?
Yes same here. seems like upgrading to latest OS version made the trex miner not honor the “api-bind-http” arg anymore. I had it set to 0.0.0.0 and diff port which i am forwarding through my router
It stopped working now and seems like hiveos is overriding this with its own setting for this specific argument.
I’m sure it’s not the problem with the t-rex miner version, as im running the same miner version in my other rig which is using Windows. the api-bind-http works there. so I can say the HiveOS latest version itself caused this new issue
Same problem! My setting is ignored and hive using its own!
In miner log:
20210428 10:40:15 ApiServer: HTTP server started on 127.0.0.1:4059
20210428 10:40:15 ---------------------------------------------------
20210428 10:40:15 For control navigate to: http://127.0.0.1:4059/trex
20210428 10:40:15 ---------------------------------------------------
But in User Config of Flight Sheet was:
“extra-dag-epoch”: 0
“worker”: “%WORKER_NAME%”
“api-bind-http”: “0.0.0.0:4067”
“dag-build-mode”: “2”
Well I switched to minerstat to see if it also had the same issue and I couldn’t get the bind-http working on t-rex. So I guess probably doing something wrong lol
Would love to know as well. Losing the API sucks when it’s such a great tool for monitoring from a cell phone. Hive OS will not not let T-Rex change the API IP and Port.
/hive/miners/t-rex/h-config.sh
I believe It was hard coded to listen 127.0.0.1 because local os will get statistics data from it and upload to hiveos.farm. If you know what you are doing, the simple solution is to change it to 0.0.0.0, then you can access the web api by visiting your rig’s lan address.
Anybody have found a way to make it work ? With the new LHR dual Mining I would like to see the api from t-rex I use to use it in windows and with Hive its usually not needed but now with the dual coin mining not beeing seen in Hive its would be usefull…
You can fix this by connecting to the machine over SSH or the remote hive shell from the browser and running this command. It will replace 127.0.0.1 with 0.0.0.0, allowing it to bind to your IP address again.
sed -i 's/127.0.0.1/0.0.0.0/g' /hive/miners/t-rex/h-config.sh
You can see the output with this command
tail /hive/miners/t-rex/h-config.sh
Then make a change to your flight sheet, any change, so that the config for the miner is regenerated using our modified script.