gaia: Cannot initialize full node using Gaia v4.0.2, hangs at ABCI Replay Blocks

Summary of Bug

After execute the command: gaiad start

The process hangs with the following output:

10:21AM INF starting ABCI with Tendermint
10:21AM INF Starting multiAppConn service impl={"Logger":{}} module=proxy
10:21AM INF Starting localClient service connection=query impl="marshaling error: json: unsupported type: abcicli.Callback" module=abci-client
10:21AM INF Starting localClient service connection=snapshot impl="marshaling error: json: unsupported type: abcicli.Callback" module=abci-client
10:21AM INF Starting localClient service connection=mempool impl="marshaling error: json: unsupported type: abcicli.Callback" module=abci-client
10:21AM INF Starting localClient service connection=consensus impl="marshaling error: json: unsupported type: abcicli.Callback" module=abci-client
10:21AM INF Starting EventBus service impl={"Logger":{}} module=events
10:21AM INF Starting PubSub service impl={"Logger":{}} module=pubsub
10:21AM INF Starting IndexerService service impl={"Logger":{}} module=txindex
10:21AM INF ABCI Handshake App Info hash= height=0 module=consensus protocol-version=0 software-version=
10:21AM INF ABCI Replay Blocks appHeight=0 module=consensus stateHeight=0 storeHeight=0

Version

gaiad version --long
name: gaia
server_name: gaiad
version: 4.0.2
commit: 6d46572f3273423ad9562cf249a86ecc8206e207
build_tags: netgo ledger,
go: go version go1.15.8 linux/amd64

Steps to Reproduce

Get the latest genesis.json from https://raw.githubusercontent.com/cosmos/mainnet/master/genesis.cosmoshub-4.json.gz

Modified the seeds in config.toml with:

seeds = "89e4b72625c0a13d6f62e3cd9d40bfc444cbfa77@34.65.6.52:26656"

I found the seed nodes on https://github.com/cosmos/mainnet

gaiad init [my_moniker] gaiad start


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 4
  • Comments: 18 (5 by maintainers)

Most upvoted comments

Seems it’s working, you just have to wait.

Put this into your .gaia/config/config.toml in the relevant section:

# Activate unsafe RPC commands like /dial_seeds and /unsafe_flush_mempool
seeds = "ee27245d88c632a556cf72cc7f3587380c09b469@45.79.249.253:26656,bf8328b66dceb4987e5cd94430af66045e59899f@public-seed.cosmos.vitwit.com:26656,585794737e6b318957088e645e17c0669f3b11fc@54.160.123.34:26656,df57f70cd3a104dcbd14d1aac9eb260c99a620e0@121.78.247.247:26656,11dfe200894f38e411beca77928e9dd118e66813@94.130.98.157:26656,5b4ed476e01c49b23851258d867cc0cfc0c10e58@206.189.4.227:26656,654f47a762c8f9257aef4a44c1fb5014916d8b20@99.79.60.15:26656,366ac852255c3ac8de17e11ae9ec814b8c68bddb@51.15.94.196:26656,547bfac343b9b4bd54ce9cb891c4bca3db2a0922@157.230.116.241:26656,d6318b3bd51a5e2b8ed08f2e520d50289ed32bf1@52.79.43.100:26656,1bfda3d59e70290a3dada9bb809dd954371850d3@54.180.225.240:26656,6ee94c2093505e8790442c054e6e1e0211d36583@44.239.140.195:26656,ec779a2741da6dd2ccdaa6dfc0bebb10e595dfa4@50.18.113.67:26656,cfd785a4224c7940e9a10f6c1ab24c343e923bec@164.68.107.188:26656,047f723806ee702b211e7227f89eacd829aabd86@52.9.212.125:26656,b0e746acb6fbed7a0311fe21cfb2ee94581ca3bc@51.79.21.187:26656,82772547c4575c18dfe6e75aafe521cf7d4dc8de@142.93.157.186:26656,3c7cad4154967a294b3ba1cc752e40e8779640ad@84.201.128.115:26656"
# Comma separated list of nodes to keep persistent connections to
persistent_peers = "ee27245d88c632a556cf72cc7f3587380c09b469@45.79.249.253:26656,bf8328b66dceb4987e5cd94430af66045e59899f@public-seed.cosmos.vitwit.com:26656,585794737e6b318957088e645e17c0669f3b11fc@54.160.123.34:26656,df57f70cd3a104dcbd14d1aac9eb260c99a620e0@121.78.247.247:26656,11dfe200894f38e411beca77928e9dd118e66813@94.130.98.157:26656,5b4ed476e01c49b23851258d867cc0cfc0c10e58@206.189.4.227:26656,654f47a762c8f9257aef4a44c1fb5014916d8b20@99.79.60.15:26656,366ac852255c3ac8de17e11ae9ec814b8c68bddb@51.15.94.196:26656,547bfac343b9b4bd54ce9cb891c4bca3db2a0922@157.230.116.241:26656,d6318b3bd51a5e2b8ed08f2e520d50289ed32bf1@52.79.43.100:26656,1bfda3d59e70290a3dada9bb809dd954371850d3@54.180.225.240:26656,6ee94c2093505e8790442c054e6e1e0211d36583@44.239.140.195:26656,ec779a2741da6dd2ccdaa6dfc0bebb10e595dfa4@50.18.113.67:26656,cfd785a4224c7940e9a10f6c1ab24c343e923bec@164.68.107.188:26656,047f723806ee702b211e7227f89eacd829aabd86@52.9.212.125:26656,b0e746acb6fbed7a0311fe21cfb2ee94581ca3bc@51.79.21.187:26656,82772547c4575c18dfe6e75aafe521cf7d4dc8de@142.93.157.186:26656,3c7cad4154967a294b3ba1cc752e40e8779640ad@84.201.128.115:26656"

Then start gaia with:

./gaiad start --x-crisis-skip-assert-invariants

and wait for around 1 hour at least

it takes ~5 hours without --x-crisis-skip-assert-invariants , ~1hour with --x-crisis-skip-assert-invariants to start , don’t forget adding p2p.persistent_peers/seed before starting , because you would need to start over if you forgot that …