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

gRPC: Error on server reflection #548

Closed
jihoon-seo opened this issue May 26, 2021 · 1 comment · Fixed by #550
Closed

gRPC: Error on server reflection #548

jihoon-seo opened this issue May 26, 2021 · 1 comment · Fixed by #550
Labels
bug Something isn't working

Comments

@jihoon-seo
Copy link
Member

@jmleefree 한 번 확인 부탁드립니다. ^^

What happened
:
gRPC server reflection 활성화하고
grpcui 실행했더니 에러 발생

Failed to compute set of methods to expose: Symbol not found: cbtumblebug.MCIR
caused by: File not found: gogoproto/gogo.proto

What you expected to happen
:
에러가 발생하지 않고 grpcui 가 실행됨

How to reproduce it (as minimally and precisely as possible)
:

  1. TB gRPC server reflection 활성화:
    conf/grpc_conf.yaml 에서 reflection: enable 주석 해제 후 TB 실행
  2. grpcui 설치:
    go get github.com/fullstorydev/grpcui/...
    go install github.com/fullstorydev/grpcui/cmd/grpcui@latest
    ~/go/bin/grpcui -plaintext localhost:50252
❯ ~/go/bin/grpcui -plaintext localhost:50252
Failed to compute set of methods to expose: Symbol not found: cbtumblebug.MCIR
caused by: File not found: gogoproto/gogo.proto

Anything else we need to know?
:

Environment

  • Source version or branch:
  • OS:
  • Others:

Proposed solution
:

Any other context
:

@jihoon-seo jihoon-seo added the bug Something isn't working label May 26, 2021
@jihoon-seo
Copy link
Member Author

[메모]
grpcui
Server Reflection 방식 말고
Proto Source Files 방식으로 실행하는 방법

cd ~/go/src/github.com/cloud-barista/cb-tumblebug/src/api/grpc/protobuf
~/go/bin/grpcui -proto cbtumblebug/cbtumblebug.proto -plaintext localhost:50252

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant