-
Notifications
You must be signed in to change notification settings - Fork 510
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
failed to resolve symbol #174
Comments
Realizing that this is probably due to my usage of gogo/protobuf. Might not be compatible with reflection. |
I hava the same problem. and i used gogo/protobuf , Is this problem solved now?Grateful |
@Lucareful, @ghost: this is not a grpcurl issue as the problem is in the server, which does not correctly provide the reflection service due to the use of gogo. It's really an issue between gogoprotobuf and the reflection service implementation in the grpc-go repo. Details here: https://jbrandhorst.com/post/gogoproto/#reflection. Unfortunately, as of a couple of weeks ago, the gogo project is no longer supported: gogo/protobuf#691 (comment) You might see if Crowdstrike's csproto helps. It's a runtime indirection meant to provide better interop between gogo and the official v1 and v2 APIs ("github.com/golang/protobuf" and "google.golang.org/protobuf" respectively). Unfortunately, from what I understand of the underlying issue, it probably will not be able to help with getting the reflection service to work. So another option (which is likely a much bigger effort to migrate, but is probably the right long-term path) is to migrate from gogo to vtprotobuf. It is supported and most importantly compatible with the official V2 protobuf runtime API (e.g. no more need to use a forked runtime). It provides many of the same advantages offered by gogo (mostly related to performance, especially for serialization/deserialization). |
Hi, thanks for this project.
I have just installed from main, and I setup a minimal gRPC server.
When listing services, I have no issues:
However, when I go to describe the service or list the method, I get:
or
Perhaps I am missing something obvious.
The text was updated successfully, but these errors were encountered: