-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Tendermint version (use tendermint version or git rev-parse --verify HEAD if installed from source):
0.25.0-0c9c3292
ABCI app (name for built-in, URL for self-written if it's publicly available):
kvstore
Environment:
- OS (e.g. from /etc/os-release): macOS Hight Sierra version 10.13.6
- Install tools: go get
- Others:
abci-cli version
0.12.0
What happened:
I follow Install Tendermint and First Tendermint app , trying to get the first example "kvstore" working, I can successfully start abci application by
abci-cli kvstore
When I run abci-cli info
I[11-09|03:19:58.489] Starting socketClient module=abci-client impl=socketClient
E[11-09|03:19:58.489] abci.socketClient failed to connect to tcp://0.0.0.0:26658. Retrying... module=abci-client
E[11-09|03:20:01.495] abci.socketClient failed to connect to tcp://0.0.0.0:26658. Retrying... module=abci-client
When I run tendermint
tendermint init
tendermint node
I see errors in abci server terminal window as well as tendermint terminal window.
ABCI
I[11-09|02:46:21.514] Starting ABCIServer module=abci-server impl=ABCIServer
I[11-09|02:46:21.514] Waiting for new connection... module=abci-server
I[11-09|02:46:33.003] Accepted a new connection module=abci-server
I[11-09|02:46:33.003] Waiting for new connection... module=abci-server
I[11-09|02:46:33.003] Accepted a new connection module=abci-server
I[11-09|02:46:33.003] Waiting for new connection... module=abci-server
I[11-09|02:46:33.003] Accepted a new connection module=abci-server
I[11-09|02:46:33.003] Waiting for new connection... module=abci-server
E[11-09|02:46:33.004] Connection error module=abci-server error="Error reading message: unexpected EOF"
E[11-09|02:46:33.005] Connection was closed by client module=abci-server
E[11-09|02:46:33.005] Connection was closed by client module=abci-server
Tendermint
I[11-09|13:46:33.002] Starting multiAppConn module=proxy impl=multiAppConn
I[11-09|13:46:33.003] Starting socketClient module=abci-client connection=query impl=socketClient
I[11-09|13:46:33.003] Starting socketClient module=abci-client connection=mempool impl=socketClient
I[11-09|13:46:33.003] Starting socketClient module=abci-client connection=consensus impl=socketClient
I[11-09|13:46:33.004] ABCI Handshake module=consensus appHeight=0 appHash=
I[11-09|13:46:33.004] ABCI Replay Blocks module=consensus appHeight=0 storeHeight=0 stateHeight=0
E[11-09|13:46:33.004] Stopping abci.socketClient for error: EOF module=abci-client connection=consensus
I[11-09|13:46:33.004] Stopping socketClient module=abci-client connection=consensus impl=socketClient
ERROR: Failed to create node: Error during handshake: Error on replay: EOF
But if I run tendermint on proxy_app mode it can successfully start and generating blocks
Below works and generating blocks
tendermint init
tendermint node --proxy_app=kvstore
What you expected to happen:
tendermint should work with abci server
Have you tried the latest version: yes/no
yes
How to reproduce it (as minimally and precisely as possible):
after install tendermint and abci, follow the first app example instruction on First Tendermint app
Logs (paste a small part showing an error (< 10 lines) or link a pastebin, gist, etc. containing more of the log file):
Config (you can paste only the changes you've made):
all genesis config no change.
node command runtime flags:
/dump_consensus_state output for consensus bugs
Anything else we need to know: