bitcoin-node-manager icon indicating copy to clipboard operation
bitcoin-node-manager copied to clipboard

Invalid RPC credentials

Open kosuodhmwa opened this issue 1 year ago • 5 comments

Config.php:

// RPC username / rpcauth specified in bitcoin.conf const RPC_USER = "myuser"; // RPC password / rpcauth specified in bitcoin.conf const RPC_PASSWORD = "mypass";

bitcoin.conf:

proxy=127.0.0.1:9050 listen=1 bind=127.0.0.1

server = 1 rpcallowip = 127.0.0.1 rpcport = 8332 rpcuser = myuser rpcpass = mypass txindex = 1

PHP Version is 8.2.x

image

kosuodhmwa avatar Apr 18 '24 17:04 kosuodhmwa

this is really a bug, so the current version is "buggy by default" ?

kosuodhmwa avatar Apr 22 '24 20:04 kosuodhmwa

or do i need to change the PHP version to 7.3, not higher?

kosuodhmwa avatar Apr 22 '24 20:04 kosuodhmwa

???

kosuodhmwa avatar Apr 29 '24 17:04 kosuodhmwa

If you run with docker add the following in your bitcoin.conf :

rpcallowip=172.0.0.0/8 rpcallowip=10.0.0.0/8 rpcallowip=192.0.0.0/

Try also to set Config.php RPC_IP to local server IP addr instead of 127.0.0.1

NDLcode avatar May 07 '24 12:05 NDLcode

Thanks, but i don't use docker

kosuodhmwa avatar May 08 '24 11:05 kosuodhmwa

Then your rpc credentials are wrong, be sure that they are in bitcoin.conf. In the bitcoin logs you must see an invalid password attempt.

MontejoJorge avatar May 21 '24 06:05 MontejoJorge

no image

kosuodhmwa avatar May 21 '24 07:05 kosuodhmwa

Still the same issue after 2 months with installed new versions. Why?

image

kosuodhmwa avatar Jun 14 '24 12:06 kosuodhmwa

image

kosuodhmwa avatar Jun 14 '24 12:06 kosuodhmwa

image

kosuodhmwa avatar Jun 14 '24 12:06 kosuodhmwa

doomer This

kosuodhmwa avatar Jun 14 '24 12:06 kosuodhmwa

Maybe somebody knows a good alternative to https://github.com/Mirobit if they don't move up...?

THank you for your feedback(s) ;-)

kosuodhmwa avatar Jun 14 '24 12:06 kosuodhmwa

Additional info from bitcoind screens logs:

PAssword is EXACTLY the same WTF (you see that in screenshots above)

image

kosuodhmwa avatar Jun 14 '24 12:06 kosuodhmwa

Maybe i need to put it in quotes in bitcoin.conf??

kosuodhmwa avatar Jun 14 '24 12:06 kosuodhmwa

image

Can you try it without spaces before and after the = ?

Btw i recomend to use rpcauth, not rpcuser and rpcpassword. https://jlopp.github.io/bitcoin-core-rpc-auth-generator/

MontejoJorge avatar Jun 14 '24 14:06 MontejoJorge

Same... :-(

image image image

<Btw i recomend to use rpcauth, not rpcuser and rpcpassword. https://jlopp.github.io/bitcoin-core-rpc-auth-generator/> - thx, but user/pw auth shoud also work. At least theoretically... ;-)

kosuodhmwa avatar Jun 14 '24 14:06 kosuodhmwa

i can also send the whole Oracle VirtualBox Debian 12.5 VM for debug purposes to @Mirobit if you want... it's not big when i subtract the .bitcoin data dir which contains the blockchain (.bitcoin is a symlink to another drive [than the OS drive] configured in VirtualBox VM settings)

kosuodhmwa avatar Jun 14 '24 14:06 kosuodhmwa

Wait, i just realize why did u use rpcpass? its rpcpassword

MontejoJorge avatar Jun 14 '24 16:06 MontejoJorge

thank you very much. i also read about ... now i added both ones and restarted bitcoind - seems to work, :-)

kosuodhmwa avatar Jun 14 '24 20:06 kosuodhmwa