grpcui icon indicating copy to clipboard operation
grpcui copied to clipboard

grpcui not working with authority

Open ashu82492 opened this issue 4 years ago • 3 comments

grpcurl -authority test.abc.com test.abc.com:443 test.HelloAPI/SayHello

The above grpcurl command is able to connect to the server and it's working properly.

grpcui -authority test.abc.com -port 8099 test.abc.com:443 Failed to compute set of methods to expose: server does not support the reflection API

But the grpcui returns the error. I tried with proto paths as well, then it returns unimplemented error.

ashu82492 avatar Aug 27 '21 02:08 ashu82492

It is working with -servername, if this is expected then the issue can be closed.

ashu82492 avatar Aug 27 '21 02:08 ashu82492

@ashu82492, I think this is fixed in #160. This pulls in a new version of the grpc-go library, and using -authority should set the server name. The -servername option is now deprecated (because the function previously used in that underlying grpc-go library has been deprecated). If you have a chance to pull the latest from this repo and see if this works for you now with -authority, I'd greatly appreciate it.

jhump avatar Feb 10 '22 19:02 jhump

@jhump Yes, it works with -authority now.

I think, Issue can be closed.

ashu82492 avatar Sep 01 '22 12:09 ashu82492