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

Version 1.9.1: Failed to process proto source files #478

Open
Ismaxis opened this issue Aug 16, 2024 · 0 comments
Open

Version 1.9.1: Failed to process proto source files #478

Ismaxis opened this issue Aug 16, 2024 · 0 comments

Comments

@Ismaxis
Copy link

Ismaxis commented Aug 16, 2024

I was generating REST API endpoin, using gRPC Gateway, by adding custom annotations, which requeired including some vendor .proto files, such as descriptor.proto. After adding annotations, I successfully generated .pb.gw.go files and calls to REST API worked just fine.

But calls to gRPC API, using grpcurl, stopped working:

Failed to process proto source files.: could not parse given files: google/protobuf/descriptor.proto:1070:5: extension range cannot have declarations and have verification of UNVERIFIED

Then I tried other versions of grpcurl and figured out that same calls wokred with versions from 1.8.2 to 1.8.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant