Bitcoin Forum
May 04, 2024, 03:10:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Memepool.space issue installing  (Read 218 times)
Pocketchange (OP)
Jr. Member
*
Offline Offline

Activity: 44
Merit: 22


View Profile
January 14, 2023, 11:06:29 PM
Last edit: January 16, 2023, 07:49:13 PM by Pocketchange
Merited by LoyceV (4), o_e_l_e_o (4), ABCbits (1), paid2 (1)
 #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!
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714792251
Hero Member
*
Offline Offline

Posts: 1714792251

View Profile Personal Message (Offline)

Ignore
1714792251
Reply with quote  #2

1714792251
Report to moderator
BitcoinPanther
Hero Member
*****
Offline Offline

Activity: 1918
Merit: 564


View Profile
January 14, 2023, 11: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
Pocketchange (OP)
Jr. Member
*
Offline Offline

Activity: 44
Merit: 22


View Profile
January 15, 2023, 12:19:19 AM
Last edit: January 15, 2023, 12:32:39 AM by Pocketchange
 #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!
BlackBoss_
Sr. Member
****
Offline Offline

Activity: 630
Merit: 399


Rollbit - the casino for you. Take $RLB token!


View Profile
January 15, 2023, 03:12:02 AM
 #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.

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT|
4,000+ GAMES
███████████████████
██████████▀▄▀▀▀████
████████▀▄▀██░░░███
██████▀▄███▄▀█▄▄▄██
███▀▀▀▀▀▀█▀▀▀▀▀▀███
██░░░░░░░░█░░░░░░██
██▄░░░░░░░█░░░░░▄██
███▄░░░░▄█▄▄▄▄▄████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█████████
▀████████
░░▀██████
░░░░▀████
░░░░░░███
▄░░░░░███
▀█▄▄▄████
░░▀▀█████
▀▀▀▀▀▀▀▀▀
█████████
░░░▀▀████
██▄▄▀░███
█░░█▄░░██
░████▀▀██
█░░█▀░░██
██▀▀▄░███
░░░▄▄████
▀▀▀▀▀▀▀▀▀
|
██░░░░░░░░░░░░░░░░░░░░░░██
▀█▄░▄▄░░░░░░░░░░░░▄▄░▄█▀
▄▄███░░░░░░░░░░░░░░███▄▄
▀░▀▄▀▄░░░░░▄▄░░░░░▄▀▄▀░▀
▄▄▄▄▄▀▀▄▄▀▀▄▄▄▄▄
█░▄▄▄██████▄▄▄░█
█░▀▀████████▀▀░█
█░█▀▄▄▄▄▄▄▄▄██░█
█░█▀████████░█
█░█░██████░█
▀▄▀▄███▀▄▀
▄▀▄
▀▄▄▄▄▀▄▀▄
██▀░░░░░░░░▀██
||.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
░▀▄░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░▄▀
███▀▄▀█████████████████▀▄▀
█████▀▄░▄▄▄▄▄███░▄▄▄▄▄▄▀
███████▀▄▀██████░█▄▄▄▄▄▄▄▄
█████████▀▄▄░███▄▄▄▄▄▄░▄▀
███████████░███████▀▄▀
███████████░██▀▄▄▄▄▀
███████████░▀▄▀
████████████▄▀
███████████
▄▄███████▄▄
▄████▀▀▀▀▀▀▀████▄
▄███▀▄▄███████▄▄▀███▄
▄██▀▄█▀▀▀█████▀▀▀█▄▀██▄
▄██▄██████▀████░███▄██▄
███░████████▀██░████░███
███░████░█▄████▀░████░███
███░████░███▄████████░███
▀██▄▀███░█████▄█████▀▄██▀
▀██▄▀█▄▄▄██████▄██▀▄██▀
▀███▄▀▀███████▀▀▄███▀
▀████▄▄▄▄▄▄▄████▀
▀▀███████▀▀
OFFICIAL PARTNERSHIP
FAZE CLAN
SSC NAPOLI
|
Pocketchange (OP)
Jr. Member
*
Offline Offline

Activity: 44
Merit: 22


View Profile
January 15, 2023, 05: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
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
January 15, 2023, 11:45:50 AM
Merited by ABCbits (3), Pocketchange (1)
 #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
Pocketchange (OP)
Jr. Member
*
Offline Offline

Activity: 44
Merit: 22


View Profile
January 15, 2023, 05:26:30 PM
Last edit: January 15, 2023, 06:28:44 PM by Pocketchange
 #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!
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
January 16, 2023, 04:10:39 AM
 #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
Pocketchange (OP)
Jr. Member
*
Offline Offline

Activity: 44
Merit: 22


View Profile
January 16, 2023, 04:18:36 AM
Last edit: January 16, 2023, 06:22:23 AM by Pocketchange
 #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.
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
January 16, 2023, 07: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.
Pocketchange (OP)
Jr. Member
*
Offline Offline

Activity: 44
Merit: 22


View Profile
January 16, 2023, 08: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-
gunhell16
Sr. Member
****
Offline Offline

Activity: 1680
Merit: 474



View Profile
January 17, 2023, 06:08:10 AM
Merited by Pocketchange (1)
 #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)


.
SPIN

       ▄▄▄██████████▄▄▄
     ▄███████████████████▄
   ▄██████████▀▀███████████▄
   ██████████    ███████████
 ▄██████████      ▀█████████▄
▄██████████        ▀█████████▄
█████████▀▀   ▄▄    ▀▀▀███████
█████████▄▄  ████▄▄███████████
███████▀  ▀▀███▀      ▀███████
▀█████▀          ▄█▄   ▀█████▀
 ▀███▀   ▄▄▄  ▄█████▄   ▀███▀
   ██████████████████▄▄▄███
   ▀██████████████████████▀
     ▀▀████████████████▀▀
        ▀▀▀█████████▀▀▀
.
RIUM
.
███
███
███
███
███
███
███
███
███
███
███
███
SAFE GAMES
WITH WITHDRAWALS
       ▄▀▀▀▀▀▀▄▄▄▄
 ▄▀▀▀▀▀▀▀▀▀▀▀▀▄  ▀▀▄
█    ▄         █   ▀▌
█   █ █        █    ▌
█      ▄█▄     █   ▐
█     ▄███▄    █   ▌
█    ███████   █  ▐
█    ▀▀ █ ▀▀   █  ▌
█     ▄███▄    █ ▐
█              █▐▌
█        █ █   █▌
 ▀▄▄▄▄▄▄▄▄█▄▄▄▀
       ▄▀▀▀▀▀▀▄▄▄▄
 ▄▀▀▀▀▀▀▀▀▀▀▀▀▄  ▀▀▄
█    ▄         █   ▀▌
█   █ █        █    ▌
█      ▄█▄     █   ▐
█     ▄███▄    █   ▌
█    ███████   █  ▐
█    ▀▀ █ ▀▀   █  ▌
█     ▄███▄    █ ▐
█              █▐▌
█        █ █   █▌
 ▀▄▄▄▄▄▄▄▄█▄▄▄▀
.
███
███
███
███
███
███
███
███
███
███
███
███
▄▀▀▀











▀▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
SIGN UP


▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▄











▄▄▄▀
Pocketchange (OP)
Jr. Member
*
Offline Offline

Activity: 44
Merit: 22


View Profile
January 17, 2023, 07: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
Pocketchange (OP)
Jr. Member
*
Offline Offline

Activity: 44
Merit: 22


View Profile
February 27, 2023, 10: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!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!