climber73 / tendermint-abci-grpc-java

Tendermint ABCI implementation written in Java
3 stars 2 forks source link

Echo failed #1

Open xiongxiL opened 4 years ago

xiongxiL commented 4 years ago

E[2020-01-21|11:24:28.608] Echo failed module=abci-client connection=query err="rpc error: code = Unimplemented desc = Method not found: tendermint.abci.types.ABCIApplication/Echo"

climber73 commented 4 years ago

Hello! Thanks for your feedback. Can't reproduce the error you posted:

~  abci-cli echo hello --abci grpc --address tcp://127.0.0.1:26658 --verbose
I[01-21|14:17:28.808] Starting grpcClient                          module=abci-client impl=grpcClient
I[01-21|14:17:28.808] Dialed server. Waiting for echo.             module=abci-client addr=tcp://127.0.0.1:26658
> echo hello
-> code: OK

Can you please give more details on how to get the error?

AndrewBoyarsky commented 4 years ago

@climber73 I got same issue on Ubuntu 18.04. Steps to reproduce:

  1. Install go (version 1.14) and set $GOPATH to point on directory with go installed (i used go unzipped archive)
  2. Install gnu make (version 4.1)
  3. Install last tendermint version from master branch by following official installation instruction. My version output: 0.33.2-d9c34315
  4. Set $TMHOME environment variable to point somewhere
  5. Run tendermint init (genesis setup)
  6. Download this repository 'master' version and execute ./gradlew run
  7. Execute tendermint node --abci grpc --proxy_app tcp://127.0.0.1:26658, you will get such errors:
    
    tendermint node --abci grpc --proxy_app tcp://127.0.0.1:26658
    E[2020-03-22|12:07:42.802] Echo failed                                  module=abci-client connection=query err="rpc error: code = Unimplemented desc = Method not found: tendermint.abci.types.ABCIApplication/Echo"
    E[2020-03-22|12:07:43.803] Echo failed                                  module=abci-client connection=query err="rpc error: code = Unimplemented desc = Method not found: tendermint.abci.types.ABCIApplication/Echo" ```
rAlexandre00 commented 3 years ago

I have the same errors. Please check this issue again.

PirvuCatalin commented 1 year ago

can be fixed by manualling modifying service_name in generated file "ABCIApplicationGrpc", or by modfying the protoc package name to include "tendermint" part.