Skip to content
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

Tendermint Node socket errors. Unable to connect to Elixir ABCI App #4

Open
ltfschoen opened this issue Jan 28, 2018 · 1 comment
Open
Labels
help wanted Extra attention is needed

Comments

@ltfschoen
Copy link
Owner

ltfschoen commented Jan 28, 2018

  • Launch Testnet Nodes (4 OFF) (in separate Terminal Tabs using Shell Script)

    $ bash launch_testnet_nodes.sh
    Tendermint Testnet Location: /Users/Ls/code/blockchain/tendermint-elixir/mytestnet
    Loading Nodes: mach0, mach1, mach2, mach3
    Loading Seeds: 0.0.0.0:46656,0.0.0.0:46666,0.0.0.0:46676,0.0.0.0:46686
    Successfully initialized 4 node directories
    • Troubleshooting: If nothing appears in each of the separate Terminal Tabs then in restart the server in IEx with:

      k = BlockchainTendermint.stop_server
      {ok, _} = BlockchainTendermint.start_server
      • Example output in each separate Terminal Tab

        E[01-27|23:38:17.914] Stopping abci.socketClient for error: EOF    module=abci-client connection=query
        E[01-27|23:38:29.069] Stopping abci.socketClient for error: EOF    module=abci-client connection=mempool
        E[01-27|23:38:29.069] Stopping abci.socketClient for error: EOF    module=abci-client connection=consensus
        
        E[01-27|23:38:29.068] Stopping abci.socketClient for error: read tcp 127.0.0.1:63711->127.0.0.1:46658: read: connection reset by peer module=abci-client connection=query
        E[01-27|23:38:29.068] Stopping abci.socketClient for error: read tcp 127.0.0.1:63713->127.0.0.1:46658: read: connection reset by peer module=abci-client connection=consensus
        E[01-27|23:38:29.069] Stopping abci.socketClient for error: read tcp 127.0.0.1:63712->127.0.0.1:46658: read: connection reset by peer module=abci-client connection=mempool
      • Tendermint Log error not listed at https://tendermint.readthedocs.io/en/master/how-to-read-logs.html

  • Show all available API endpoints by going to http://0.0.0.0:46658/

    • No response
  • Send Request to ABCI Server endpoint. Note: Must use 0.0.0.0 NOT localhost. Response does not show ABCI Server status

    curl -v '0.0.0.0:46658/status' | jsonpp | grep app_hash
      *   Trying 0.0.0.0...
      * TCP_NODELAY set
      * Connected to 0.0.0.0 (0.0.0.0) port 46658 (#0)
      > GET /status HTTP/1.1
      > Host: 0.0.0.0:46658
      > User-Agent: curl/7.57.0
      > Accept: */*
      > 
    
@ltfschoen ltfschoen added the help wanted Extra attention is needed label Jan 28, 2018
@ltfschoen
Copy link
Owner Author

ltfschoen commented Jan 28, 2018

Issues have been raised here, pending response:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant