Author

Topic: Node vs. Pool ...ZMQ Error (Read 79 times)

legendary
Activity: 3472
Merit: 3217
Playbet.io - Crypto Casino and Sportsbook
September 15, 2024, 06:24:41 PM
#4
Now i need to figure out why my pool isn't connect to the RCP Port  Undecided

Code:
Using ZMQ
ZMQ Connected
Could not reach RPC host
Error getmininginfo Error: connect ECONNREFUSED 185.218.x.x:18332

Now we see it's connected but rpc can't connect it looks like the issue is related to the port.
I searched a bit and it seems that your pool.env RPC port is 18332 its for testnet but your network on the pool is set to mainnet.
Try changing it to this port below

Code:
BITCOIN_RPC_PORT=8332
That should be the port for mainnet.
newbie
Activity: 2
Merit: 0
September 15, 2024, 02:08:48 AM
#3
Is the error ZMQ error came from the pool?

It seems your bitcoin.conf setup is for localhost only would you mind to edit this below with your current IP and port then try it again.

Code:
zmqpubhashblock=tcp://185.218.x.x:28332
zmqpubhashtx=tcp://185.218.x.x:28333

Make sure to leave port 28332 and 28333 open from the firewall.

Thanks a lot ... ZMQ is conntec now  Smiley gosh what a stupid fault by myself  Shocked
ufw is always up to date, thanks for this reminder.

Now i need to figure out why my pool isn't connect to the RCP Port  Undecided

Code:
Using ZMQ
ZMQ Connected
Could not reach RPC host
Error getmininginfo Error: connect ECONNREFUSED 185.218.x.x:18332
legendary
Activity: 3472
Merit: 3217
Playbet.io - Crypto Casino and Sportsbook
September 14, 2024, 06:09:03 PM
#2
Is the error ZMQ error came from the pool?

It seems your bitcoin.conf setup is for localhost only would you mind to edit this below with your current IP and port then try it again.

Code:
zmqpubhashblock=tcp://185.218.x.x:28332
zmqpubhashtx=tcp://185.218.x.x:28333

Make sure to leave port 28332 and 28333 open from the firewall.
newbie
Activity: 2
Merit: 0
September 14, 2024, 01:03:27 PM
#1
Hello at all,
i'm new into the BitcoinCore und started a FullNode. The Node is running well on Debian12 VPS.

I'm also setup a Mining Pool and get some Problems .... (Username and Passwort i changed already so don't worry)

Everytime i started the Pool i got:

ZMQ Unable to connect, Retrying
i can't figure out whats my fault Sad

Here the bitcoin.conf of my Node:

Code:
listen=1
upnp=0
txindex=1
maxconnections=40
server=1
rpcthreads=4
rpcuser=xxx
rpcpassword=xxx
#rpcauth=
rpcauth=bitcoin:xxx
rpcallowip=0.0.0.0/0
rpctimeout=30
txconfirmtarget=6
mempoolexpiry=72
maxmempool=300
maxorphantx=100
debug=rpc
logips=1
limitfreerelay=10
minrelaytxfee=0.0001
zmqpubhashblock=tcp://127.0.0.1:28332
zmqpubhashtx=tcp://127.0.0.1:28333
[main]
rpcbind=185.218.x.x
[test]
rpcbind=0.0.0.0
[regtest]
rpcbind=0.0.0.0
thats the pool.env of my Pool:

Code:
BITCOIN_RPC_URL=http://185.218.x.x
BITCOIN_RPC_USER=xxx
BITCOIN_RPC_PASSWORD=xxx
BITCOIN_RPC_PORT=18332
BITCOIN_RPC_TIMEOUT=10000
BITCOIN_ZMQ_HOST="tcp://185.218.x.x:28332"

API_PORT=3334
STRATUM_PORT=3333

#optional telegram bot
#TELEGRAM_BOT_TOKEN=

#optional discord bot
#DISCORD_BOT_CLIENTID=
#DISCORD_BOT_GUILD_ID=
#DISCORD_BOT_CHANNEL_ID=

#optional
#DEV_FEE_ADDRESS=
# mainnet | testnet
NETWORK=mainnet

API_SECURE=false

ENABLE_SOLO=true
ENABLE_PROXY=false

BRAIINS_ACCESS_TOKEN=

PROXY_PORT=3333
the IP 185.218.x.x is the IP of the Node.

Can someone please help me to figure out where my mistake is? Thanks a lot
Jump to: