trexminer / T-Rex

T-Rex NVIDIA GPU miner with web control monitoring page
2.64k stars 439 forks source link

API Readonly on #654

Open liquidcaos opened 3 years ago

liquidcaos commented 3 years ago

Hey I've been trying to make some changes/tunning through the web but as a result I always get the "Edit config error (API readonly mode is activated)"error. How may I switch this option off on my .bat file? thanks

Teddymeyn commented 3 years ago

try this link , it helped

see https://github.com/trexminer/T-Rex/wiki/WebUI#security on how to use --api-key

Jokerswild2412 commented 3 years ago

So I'm still lost, I see the config example but the "example" is 223 lines so I'm not really sure where to put what. I've always just run things via the CLI and have never really used a config file, can I continue to run things purely by the CLI and just use certain lines in the config file to enable the API? Or heck, run the API check via the CLI?

Teddymeyn commented 3 years ago

see https://github.com/trexminer/T-Rex/wiki/WebUI#security on how to use --api-key

On Mon, Oct 4, 2021 at 1:30 AM Jokerswild2412 @.***> wrote:

So I'm still lost, I see the config example but the "example" is 223 lines so I'm not really sure where to put what. I've always just run things via the CLI and have never really used a config file, can I continue to run things purely by the CLI and just use certain lines in the config file to enable the API? Or heck, run the API check via the CLI?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/trexminer/T-Rex/issues/654#issuecomment-933015988, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVJEXUVX2BUMPGAF5OEMS4LUFCY4XANCNFSM5FARZCLA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Regards, Winston Meyn

Jokerswild2412 commented 3 years ago

So, I don't mean to be rude but you just repeated what you said.

As I said, what isn't covered in the link is step 3 is not fleshed out. It says to put the output as a parameter in my .bat/.sh script...but as I stated above the "example" script is 223 lines, so where exactly do I put it in the script? Do I just literally paste the key in with no other parameters? Does using the example script impact my miner in any other way that I need to know about such as sending mined ETH to a different wallet?

I just need further explanation on what exactly I'm supposed to do with my generated API key in step 3, where am I supposed to put it in my config file?

TuTAH1 commented 2 years ago

Is config stored on my computer? If yes, where? I'd rather edit it with notepad than... this. I tried to do like the https://github.com/trexminer/T-Rex/wiki/WebUI#security said, but T-Rex always says "wrong password"