I am having a trouble setting up a BigchainDB network and made a post about it. However, I'm not sure if that was the correct place to post it. I did checkchecked the Stack Exchange Exchange sites. However, however, I'm not sure which one is relevant for this particular problem and therefore I am searching for a recommendation.
I'm trying to set-up a local bigchaindbBigchainDB network with 3 raspberry pisRaspberry Pis using this repository as a reference https://github.com/bigchaindb/bigchaindb-node-ansiblethis repository as a reference. However, however all my nodes encounter a connection refused"connection refused" problem on tendermint.servicetendermint.service
. Tendermint is on v0.31.5 and bigchaindbBigchainDB on v2.0.0. I checked if the port is blocked but it seems to be fine.
The error that I am getting is:
Jan 09 14:52:41 ubuntu tendermint[807]: E[2023-01-09|14:52:41.985] abci.socketClient failed to connect to tcp://0.0.0.0:26658. Retrying... module=abci-client connnt failed to connect to tcp://0.0.0.0:26658. Retrying... module=abci-client connection=query err="dial tcp 0.0.0.0:26658: connect: connection refused">
Jan 09 14:52:41 ubuntu tendermint[807]: E[2023-01-09|14:52:41.985] abci.socketClient failed to connect to tcp://0.0.0.0:26658. Retrying... module=abci-client connnt failed to connect to tcp://0.0.0.0:26658. Retrying... module=abci-client connection=query err="dial tcp 0.0.0.0:26658: connect: connection refused">
I am running tendermintTendermint using a unit file:
[Unit]
Description=Tendermint. Byzantine-fault tolerant state machine replication.
Documentation=https://tendermint.readthedocs.io/en/master/
[Service]
ExecStart=/usr/local/bin/tendermint node \
--p2p.laddr "tcp://0.0.0.0:26656" \
--proxy_app="tcp://0.0.0.0:26658" \
--consensus.create_empty_blocks=false \
--p2p.pex=false
WorkingDirectory=/home/ubuntu
User=tendermint
Group=bigchaindb
[Install]
WantedBy=multi-user.target
[Unit]
Description=Tendermint. Byzantine-fault tolerant state machine replication.
Documentation=https://tendermint.readthedocs.io/en/master/
[Service]
ExecStart=/usr/local/bin/tendermint node \
--p2p.laddr "tcp://0.0.0.0:26656" \
--proxy_app="tcp://0.0.0.0:26658" \
--consensus.create_empty_blocks=false \
--p2p.pex=false
WorkingDirectory=/home/ubuntu
User=tendermint
Group=bigchaindb
[Install]
WantedBy=multi-user.target
I've also configured the genesis.jsongenesis.json
file in every node:
{
"genesis_time": "2022-12-19T11:03:38.312591884Z",
"chain_id": "test-chain-sveGDu",
"consensus_params": {
"block": {
"max_bytes": "22020096",
"max_gas": "-1",
"time_iota_ms": "1000"
},
"evidence": {
"max_age": "100000"
},
"validator": {
"pub_key_types": [
"ed25519"
]
}
},
"validators": [
{
"address": "87498C9693362176BFC2A4122133568297865193",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "dIy8HUovVJatppDrmJieSGW26jWSJrNhzwHMJetysqA="
},
"power": "10",
"name": ""
},
{
"address": "B59216978AB15F31171E8AB482F62D768721DA13",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "64BTBlnCPSe26HJfpnCkV8A6BS5w//rAqVu/C01sOqA="
},
"power": "10",
"name": ""
},
{
"address": "6067D6D53CD82EBF9C1F4704AC9F27BAE7CB8F9F",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "QGNyJpLgqjlRanNgtRdAsLTnpylmSo9FymkPFXSnZbI="
},
"power": "10",
"name": ""
}
],
"app_hash": ""
}
"genesis_time": "2022-12-19T11:03:38.312591884Z",
"chain_id": "test-chain-sveGDu",
"consensus_params": {
"block": {
"max_bytes": "22020096",
"max_gas": "-1",
"time_iota_ms": "1000"
},
"evidence": {
"max_age": "100000"
},
"validator": {
"pub_key_types": [
"ed25519"
]
}
},
"validators": [
{
"address": "87498C9693362176BFC2A4122133568297865193",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "dIy8HUovVJatppDrmJieSGW26jWSJrNhzwHMJetysqA="
},
"power": "10",
"name": ""
},
{
"address": "B59216978AB15F31171E8AB482F62D768721DA13",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "64BTBlnCPSe26HJfpnCkV8A6BS5w//rAqVu/C01sOqA="
},
"power": "10",
"name": ""
},
{
"address": "6067D6D53CD82EBF9C1F4704AC9F27BAE7CB8F9F",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "QGNyJpLgqjlRanNgtRdAsLTnpylmSo9FymkPFXSnZbI="
},
"power": "10",
"name": ""
}
],
"app_hash": ""
}