dashed-slug.net › Forums › General discussion › Bitcoin core Wallet Adapter installation
Tagged: bitcoin core, bitcoin.conf, full node
- This topic has 11 replies, 2 voices, and was last updated 11 months, 2 weeks ago by alexg.
-
AuthorPosts
-
December 31, 2023 at 5:07 pm #13284derikParticipant
Can anyone give me a working configuration for the main bitcoin adapter?
I used the correct conf file and get errors.
I would like to see any working coin please!
I dont know where my issue is.January 1, 2024 at 9:31 am #13285alexgKeymasterHello! Try a simple config at first (the following is only for connecting from localhost, if your WordPress is elsewhere, change the IP):
server=1 rpcallowip=127.0.0.1/8 rpcbind=127.0.0.1 rpcport=8332 rpcuser=foo rpcpassword=bar
If this works, then you can expand on it.
If you tell me what error you are encountering, perhaps I can help. You can also get general help on bitcoin core installation at: bitcoin.stackexchange.com
Hope you have a happy new year 2024!
with regards
January 1, 2024 at 6:07 pm #13287derikParticipantJSON-RPC command getwalletinfo failed with: HTTP_UNAUTHORIZED
January 1, 2024 at 6:32 pm #13288derikParticipantI have used your configuration
January 2, 2024 at 7:39 am #13289alexgKeymasterHello,
HTTP_UNAUTHORIZED
simply means that you have not entered the username/password correctly.Make sure that you understand the difference between using
rpcuser
/rpcpassword
andrpcauth
.You should use either user/pass or auth.
(The values
foo
andbar
I gave above are examples, you should replace them with the credentials you are planning to use.)Hope this helps. Please let me know if you have any more questions.
with regards
January 2, 2024 at 7:57 am #13290derikParticipantI know the values for foo and bar are examples.
I can only tell you the error I got.
The password and the user is correct but I got this error above.
January 2, 2024 at 7:59 am #13291alexgKeymasterIf you are using a strong password with
rpcpassword
, does it contain the equals (=) character?If so, you would be getting this problem. The equals character is used to assign values in the config file, and it can’t be used as part of the password.
January 4, 2024 at 8:13 am #13293derikParticipantno I dont use any signs until now.
January 4, 2024 at 9:37 am #13294derikParticipantwhat is the error? JSON-RPC command getwalletinfo failed with: Couldn’t connect to server
January 5, 2024 at 9:00 am #13295alexgKeymasterHello,
1. Ensure that rpcallowip is set to the IP of your WordPress installation in CIDR notation.
2. Ensure that rpcbind is set to the public-facing IP of your wallet node. This tells the wallet to listen on the correct NIC.
3. If your wallet node is on a hosting provider, contact your hosting provider, and ask them to open their firewall for your server and for incoming TCP connections to your RCP port.Hope this helps. Please let me know if you continue to face problems.
with regards
January 7, 2024 at 7:32 am #13298derikParticipantI have the same issues on different hosting services also on a new vps with disable firewall.
I dont know what is wrong.
January 8, 2024 at 6:42 am #13301alexgKeymasterEven if you have disabled your firewall, the hosting provider has their own firewall to protect their systems. You must contact them and ask them to add a specific exception for incoming TCP ports to your RPC port on your host’s IP.
Bottom line, the plugin must be able to contact the wallet. No other way around it.
-
AuthorPosts
- You must be logged in to reply to this topic.