Author

Topic: Memepool.space issue installing (Read 252 times)

jr. member
Activity: 44
Merit: 22
February 27, 2023, 05:35:55 PM
#14
This installation of mempool.space is still nagging me even though it warns:
Most people should use a one-click install method. Other install methods are meant for developers and others with experience managing servers. Grin

My question is: Does this only work alongside an electrum server? ---Ive tried to Configure with Bitcoin Core Only with no luck.
https://github.com/mempool/mempool

https://citadels.org/install-your-own-mempool-space-instance-on-ubuntu-server-upgrade-your-bitcoin-node/

Thanks again!
jr. member
Activity: 44
Merit: 22
January 17, 2023, 02:45:08 AM
#13

In this situation your node is trying to connect to a server in which is not reachable or running.


b. Your node configuration file of course must double check, to make sure that the configured with the ip address
   correct were the port of your server (127.0.0.1:8332).


Thanks gunhell16,

Will adding these lines into the config file be enough?
rpcport=8332
rpcallowip=127.0.0.1
rpcbind=0.0.0.0
hero member
Activity: 1666
Merit: 453
January 17, 2023, 01:08:10 AM
#12

Now Im getting: WARN: runMainLoop error: connect ECONNREFUSED 127.0.0.1:8332


In this situation your node is trying to connect to a server in which is not reachable or running.

And there are some other way to fix this problem such as follows below:

a. Your firewall possible is blocking the connection, in this case you can check the port 8332 is open and
   accepting the connection in which is incoming.

b. Your node configuration file of course must double check, to make sure that the configured with the ip address
   correct were the port of your server (127.0.0.1:8332).

c. Now if your node is running on a container, make it sure the port is mapped correctly same goes with the cointainer
   is also correctly running.

d. You also need to confirm that you have done this correctly with the bitcoin core daemon, and it should also be running
   on the IP address and port specified (127.0.0.1:8332)

jr. member
Activity: 44
Merit: 22
January 16, 2023, 03:37:13 AM
#11
Nice, that means the bitcoin daemon is running and the RPC is working fine.

Now, for this particular config,

Code:
     CORE_RPC_USERNAME: "customuser"
      CORE_RPC_PASSWORD: "custompassword"

make sure it reflects the RPC authentication you have set up on bitcoin.conf

For example, the following config should be the minimum setting to make it works.

Code:
txindex=1
server=1
rpcuser=customuser
rpcpassword=custompassword

After you have done that, restart the bitcoin service. Then start again the mempool docker.


Thanks vv181,

Ive done those steps above and added this into my torrc file.
Code:
HiddenServiceDir /var/lib/tor/bitcoin-service/
HiddenServiceVersion 3
HiddenServicePort 80 127.0.0.1:80

Ive also added my node ip and 8332 into:    nano docker-compose.yml

Still the same error.
Im stumped-
legendary
Activity: 1932
Merit: 1273
January 16, 2023, 02:24:24 AM
#10
Nice, that means the bitcoin daemon is running and the RPC is working fine.

Now, for this particular config,

Code:
      CORE_RPC_USERNAME: "customuser"
      CORE_RPC_PASSWORD: "custompassword"

make sure it reflects the RPC authentication you have set up on bitcoin.conf

For example, the following config should be the minimum setting to make it works.

Code:
txindex=1
server=1
rpcuser=customuser
rpcpassword=custompassword

After you have done that, restart the bitcoin service. Then start again the mempool docker.
jr. member
Activity: 44
Merit: 22
January 15, 2023, 11:18:36 PM
#9
Now Im getting: WARN: runMainLoop error: connect ECONNREFUSED 127.0.0.1:8332

The error seems not caused by a wrongly configured IP setting, but rather the bitcoin RPC itself is not working. Make sure the bitcoin daemon have run properly, you can test it by running this command, $ bitcoin-cli -getinfo


Hmm after running $ bitcoin-cli -getinfo

I get a bunch of info on blocks, headers, version and proxies- no warnings.

My apologies but Im really new to the space.
legendary
Activity: 1932
Merit: 1273
January 15, 2023, 11:10:39 PM
#8
Now Im getting: WARN: runMainLoop error: connect ECONNREFUSED 127.0.0.1:8332

The error seems not caused by a wrongly configured IP setting, but rather the bitcoin RPC itself is not working. Make sure the bitcoin daemon have run properly, you can test it by running this command, $ bitcoin-cli -getinfo
jr. member
Activity: 44
Merit: 22
January 15, 2023, 12:26:30 PM
#7

What tutorial did you follow to install Mempool? Did you use this one Configure with Bitcoin Core Only?

Now Im getting: WARN: runMainLoop error: connect ECONNREFUSED 127.0.0.1:8332

That error, where did you get that from?

I used ministry of nodes youtube install but he's on electrum  Embarrassed
: https://www.youtube.com/watch?v=I2SzBqcsXaE&t=601s

The error is when I try to run
docker-compose up

what ip should I use when editing
nano docker-compose.yml  

Here are the defaults:
api:
    environment:
      MEMPOOL_BACKEND: "none"
      CORE_RPC_HOST: "172.27.0.1"
      CORE_RPC_PORT: "8332"
      CORE_RPC_USERNAME: "customuser"
      CORE_RPC_PASSWORD: "custompassword"


Thank you vv181!
legendary
Activity: 1932
Merit: 1273
January 15, 2023, 06:45:50 AM
#6
8332 is the default port of bitcoin RPC. You should use the actual mempool frontend port.

What tutorial did you follow to install Mempool? Did you use this one Configure with Bitcoin Core Only?

Now Im getting: WARN: runMainLoop error: connect ECONNREFUSED 127.0.0.1:8332

That error, where did you get that from?

HiddenServiceDir /var/lib/tor/bitcoin-service/
HiddenServicePort 8332 127.0.0.1:8332
This is an incorrect configuration to expose the mempool to Tor networks.

If you follow the mempool docker guidelines above, the default mempool frontend application is exposed on port 80, so the Tor configuration you should use is

Code:
HiddenServiceDir /var/lib/tor/bitcoin-service/
HiddenServiceVersion 3
HiddenServicePort 80 127.0.0.1:80

To see the onion address, after restarting Tor service, run the command:
Code:
sudo cat /var/lib/tor/bitcoin-service/hostname
jr. member
Activity: 44
Merit: 22
January 15, 2023, 12:40:17 AM
#5

Click on Move topic at bottom left and choose Bitcoin Technical Support board.

Done & thank you! Nice that we can move a thread on our own.  Smiley
sr. member
Activity: 602
Merit: 387
Rollbit is for you. Take $RLB token!
January 14, 2023, 10:12:02 PM
#4
You will get better support by moving this thread to Bitcoin Technical Support board. Forum experts are more actively in that board than in the Bitcoin Discussion board that has more spam topics.

Click on Move topic at bottom left and choose Bitcoin Technical Support board.
jr. member
Activity: 44
Merit: 22
January 14, 2023, 07:19:19 PM
#3
Thanks Panther!

I appreciate it!

Now Im getting: WARN: runMainLoop error: connect ECONNREFUSED 127.0.0.1:8332

EDIT: I added the lines into the torrc file but still getting the message above
HiddenServiceDir /var/lib/tor/bitcoin-service/
HiddenServicePort 8332 127.0.0.1:8332




Thanks again!
hero member
Activity: 1918
Merit: 564
January 14, 2023, 06:48:45 PM
#2
It looks like you are running into a problem with permission when trying to connect to the Docker daemon socket since this error message convey that the user running the command does not have permission to access the Docker daemon.

Try running the command with "sudo" prefixes or  try to fix the issue by adding your user to the docker group

Code:
sudo usermod -aG docker $USER

Then relog-in (log out then log-in)

Quote
Can anyone tell me what the ip of my node is when its running under tor? I thought it was just 127.0.0:8332?

The IP should be a tor hidden service address like string of letters with .onion (abcdefghjkl.onion) which is accessible only via TOR network and I think cannot be accesed by a regular IP.

It looks like you want to run your node as hidden service, so you need to configure your node by editing your torrc file and add the follwing lines
Code:
HiddenServiceDir /var/lib/tor/bitcoin-service/
HiddenServicePort 8332 127.0.0.1:8332

You will find the actual address of your node in the file named hostname in the directory you specified on the HiddenServiceDir option
jr. member
Activity: 44
Merit: 22
January 14, 2023, 06:06:29 PM
#1
Hi everyone,

I'm trying to install mempool along a bitcoin core node.

Can anyone tell me what the ip of my node is when its running under tor? I thought it was just 127.0.0.1:8332?

I'm having issues installing and getting "Got permission denied while trying to connect to docker daemon socket"


Thank you!
Jump to: