Just set up myNode OS on a mini PC with 8GB RAM and 2TB SSD. The entire blockchain is loaded on the SSD now. Electrum Server and Bitcoin are both running fine, and the NTC RPC Explorer shows a green light. But when I hit the "Explorer" button on the myNode Home page, I get an error on the new web page.
Here's a snippet from the NTC RPC Explorer .env file:
Location: /opt/mynode/btc-rpc-explorer/.env
I'm pretty new to nodes and Linux, so I don't know much at all. Where should I begin to get the NTC RPC Explorer working? Appreciate any help!
RPC explorer not connecting to Bitcoin Core on myNode
7 replies 138 views
Here is a partial log file from the BTC RPC EXPLORER STATUS file.
Not the whole file for these lines repeat about 50 times over, which IMO would be useless to completely post here.
coin_sigmaLegendary
Posts: 1275 · Reputation: 5553
#3Sep 11, 2022, 12:53 AM
What's your current config in your Bitcoin.conf file? Did you set up RPC and enable it?
Based on the logs it seems it's a connection refused. Would you mind to replace this BTCEXP_HOST=0.0.0.0 with BTCEXP_HOST=127.0.0.1 and then replace localhost with the local IP of your node like 192.168.1.1 then use this command to restart the explorer.
If the error still persists try the other configuration posted below.
- https://bitcointalk.org/index.php?topic=5367296.msg61517989#msg61517989
paul.stakeHero Member
Posts: 651 · Reputation: 3798
#4Sep 11, 2022, 03:14 AM
The error says that BTC RPC explorer attempts to connect to localhost on IPv6. Is that surely supported? Try adding the followings two in configuration file:
And replace "localhost" with "127.0.0.1" in the .env configuration as rightly said by BitMaxz. (That'll switch to IPv4)
OK. Some weird things happened. First, if I edit .env with nano, the file will be edited properly. Then when restarting BTC_RPC_Explorer from myNode "Manage" page, the .env file will revert back to original. All changes will disappear.
Second, your proposed line "sudo systemctl restart btc-rpc-explorer" will generate an error in Terminal:
Third, I've added the Bitcoin config file on my second post ( see #2 )
Fourth, I did enabled RPC but I didnt do anything about setting it up cause I do not have any knowledge about how to do so.
Thanks for your help. Very appreciated.
Which config file ? Bitcoin or .env ?
Thanks
That's weird. I only tried myNode for a bit, but it's possible it's overridden by myNode. Have you checked whether you can edit BTC RPC Explorer setting from myNode GUI app?
He refer to Bitcoin Core's config file.
There doesn't seem to be any way for editing the .env file from any of myNode GUI pages.
At least, I couldn't find anything.
Related topics
- Bitcoin Core displaying coins (UTXOs) in a new tab 13
- Ways to earn some sats by contributing to bitcoin core development 5
- What can I do to fix this Bitcoin Core error? 8
- How do you protect your Bitcoin Core wallet? 19
- issues with bitcoin core database read error 2
- Curious about the 'Services' section in the peers of Bitcoin Core 6