I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).
If you are new here, please see some information on how to ask for support. Thank you!
-
This means that the password you entered in the coin adapter settings does not match the one in your conf file.
In Bitcoin there are two ways to specify RPC API credentials: rpcauth
/rpcpassword
, and rpcauth
. Use one or the other, but not both. Check that the password you’ve entered in the coin adapter settings matches the password in your wallet config.
A common problem is if your password contains the =
character. This cannot be used with rpcpassword
, as the =
character is used as a separator between key and value in the .conf
file. The simplest solution is not to use a password with the =
character.
Also check that the IP in your rpcallowip clause in in CIDR notation, i.e. it should have something in it specifying the network class (see here).
Hello,
There are no other situations that I know of where bitcoin would respond with 403.
Can you please be more specific? What did you try?
1. Did you enter credentials using rpcuser/rpcpassword or using rpcauth?
2. Did you enter an rpcbind config? If so, did you specify the network class as mentioned above?
Let me know.
with regards
It is Litecoin, I entered credentials using rpcuser/rpcpassword, and I have double check and they are correct.
Can you show me your rpcbind config?
rpcuser=xxxx
rpcpassword=xxxx
rpcallowip=127.0.0.1
rpcallowip=45.87.80.226
rpcallowip=45.87.80.240
rpcallowip=45.87.80.254
rpcport=9332
server=1
daemon=1
txindex=1
listen=1
Hello,
There is no rpcbind
statement in your config. Add the following:
rpcbind=a.b.c.d
where a.b.c.d is the public internet IP of your wallet server.
Also, I believe that the rpcallowip
statements must be in CIDR notation. Try:
rpcallowip=127.0.0.1/8
rpcallowip=45.87.80.226/24
rpcallowip=45.87.80.240/24
rpcallowip=45.87.80.254/24
with regards
It isn’t working, even after I reboot the server
I fixed with rpcallowip=45.87.80.*
That’s great news. Thanks for letting us know.
Just be careful. Anyone in that IP range can theoretically connect to your wallet, if they also have your RPC password.
with regards
- You must be logged in to reply to this topic.