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

Generating a gRPC stub using Gateway generates a gRPC internal error #198

Closed
ambarc opened this issue Jul 21, 2016 · 1 comment
Closed

Comments

@ambarc
Copy link

ambarc commented Jul 21, 2016

With hash f52d055 (master)

package github.com/goforward/api/auth/auth
    imports github.com/gengo/grpc-gateway/runtime
    imports github.com/grpc-ecosystem/grpc-gateway/runtime/internal: use of internal package not allowed

The script generating the stub + the error is:

echo "Generate gRPC stub"
protoc -I/usr/local/include -I. \
    -I$GOPATH/src \
    -I$GOPATH/src/github.com/gengo/grpc-gateway/third_party/googleapis \
    --go_out=Mgoogle/api/annotations.proto=github.com/gengo/grpc-gateway/third_party/googleapis/google/api,plugins=grpc:../../../ \
    $PROTODIR/*.proto

We've tested that version faa3576 does not produce this error.

@ambarc
Copy link
Author

ambarc commented Jul 21, 2016

seems to be due to the repository name change from gengo to grpc-ecosystem. code updates on our side fixes the issue.

@ambarc ambarc closed this as completed Jul 21, 2016
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