-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BlockchainReactor Timeout
error while syncing
#762
Comments
|
|
#762 (comment) ``` E[10-19|04:52:38.969] Stopping peer for error module=p2p peer="Peer{MConn{178.62.46.14:46656} B14916FAF38A out}" err="Error: runtime error: invalid memory address or nil pointer dereference\nStack: goroutine 529485 [running]:\nruntime/debug.Stack(0xc4355cfb38, 0xb463e0, 0x11b1c30)\n\t/usr/local/go/src/runtime/debug/stack.go:24 +0xa7\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p.(*MConnection)._recover(0xc439a28870)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p/connection.go:206 +0x6e\npanic(0xb463e0, 0x11b1c30)\n\t/usr/local/go/src/runtime/panic.go:491 +0x283\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain.(*bpPeer).decrPending(0x0, 0x381)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain/pool.go:376 +0x22\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain.(*BlockPool).AddBlock(0xc4200e4000, 0xc4266d1f00, 0x40, 0xc432ac9640, 0x381)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain/pool.go:215 +0x139\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain.(*BlockchainReactor).Receive(0xc42050a780, 0xc420257740, 0x1171be0, 0xc42ff302d0, 0xc4384b2000, 0x381, 0x1000)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/blockchain/reactor.go:160 +0x712\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p.createMConnection.func1(0x11e5040, 0xc4384b2000, 0x381, 0x1000)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p/peer.go:334 +0xbd\ngithub.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p.(*MConnection).recvRoutine(0xc439a28870)\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p/connection.go:475 +0x4a3\ncreated by github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p.(*MConnection).OnStart\n\t/home/ubuntu/go/src/github.com/cosmos/gaia/vendor/github.com/tendermint/tendermint/p2p/connection.go:170 +0x187\n" ```
we could probably increase dial timeout from 3s to say 10s |
Not sure what to do about the blockchain reactor timeout. Anyway, timeout in blockchain reactor should not halt the syncing. |
Interesting, we hit this a few days ago but weren't sure if this may be influenced by our environment. We have 7 Validators, each validator uses all 6 other nodes as seed and one crashed. Trying to bring it up again always lead to a halt of the fastsync after a few minutes without any noticable error message. |
@srmo can you see if this is fixed for you on develop, and if not open a new issue? thanks |
while i am connecting to other node i'm getting error like : |
Sounds like some kind of connection issue? Looks like you're using an internal IP address. Check your network settings/configuration/connectivity. |
I'm getting this error when i'm increasing validator node to 6. I tried increasing dial timeout to 10 sec. but that also didn't worked
|
@melekes @vanipolnedi I know this is old but just incase someone needs this. ==== Fix new peer node connection already synced or Dial Error ==== I was having this same issue when adding new peers but was able to solve it with the following steps. I realized I was changing the genesis.json file immediately after setting up tendermint which results in this issue on first run.
This worked for me. For Dialing ErrorIf you are still having a failed to dail error ...pex etc, this will be because of firewall blocking connection on your machine, ensure to add port 26656 through firewall in your machine and also run |
* Prepare v0.34.28 release changelog Signed-off-by: Thane Thomson <connect@thanethomson.com> * Build changelog Signed-off-by: Thane Thomson <connect@thanethomson.com> * Add upgrading guidelines Signed-off-by: Thane Thomson <connect@thanethomson.com> * Bump version to 0.34.28 Signed-off-by: Thane Thomson <connect@thanethomson.com> * Update release date Signed-off-by: Thane Thomson <connect@thanethomson.com> --------- Signed-off-by: Thane Thomson <connect@thanethomson.com>
The text was updated successfully, but these errors were encountered: