Closed robertwenquan closed 2 months ago
It looks like grpcui
hasn't been updated to use v1 of the reflection API. Is your code also exposing v1alpha1 of the reflection API (using grpcreflect.NewHandlerV1Alpha
)?
Good point. @akshayjshah You are right I didn't add the grpcreflect.NewHandlerV1Alpha(reflector)
line. So it looks both grpcui and postman haven't updated the reflection API in their clients.
After adding this line, both the grpcui and postman work now. Thanks a ton!
FWIW, grpcui has a fix for this in https://github.com/fullstorydev/grpcui/pull/314, but it's not been included in a release yet.
grpcurl list and grpcurl describe both work, but the grpcui throws error
The grpcurl works
version info
reflection error comes up with postman as well.