-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Getting error undefined: grpc.SupportPackageIsVersion6 and undefined: grpc.ClientConnInterface #3347
Comments
You will need to use a newer version of grpc or an older version of protoc-gen-go (to produce your |
root@ip-10-5-1-6:~/cord/device-management# cat go.mod go 1.12 require ( I dont have grpc-go |
why this issue is closed. |
ENV PROTOC_VERSION="3.7.0" combination fixed issue |
This line will make sure that such an error is impossible. |
Does that mean protoc version and grpc-gateway version dosent matter |
In this case, that's correct. The latest version of grpc-go will support all versions of the generated code. Your other option would have been to downgrade the |
I just updated my go.mod with go get -u google.golang.org/grpc. Saw the version changed from 1.26.0 to 1.27.0. Then all my proto gen code stopped complaining undefined grpc.SupportPackageIsVersion6. |
I am having problem with undefined grpc.ClientConnInterface as well. Have v1.27 in my WORKSPACE file ..
|
fwiw, my |
Update generated pb files from tip of tree. The changes here are a result of changes in the dependency chain and tooling. No changes in code are included in this PR. Note that a manual update to grpc was done via `go get -u google.golang.org/grpc` as per suggestion by grpc/grpc-go#3347 (comment).
for |
I haven't been able to get past this part even with the suggestion that @Eson-Jia had. |
Mine worked for |
I got it working but had to drop Bazel. It was likely due to my lack of experience with tweaking it. |
@Eson-Jia Thanks for the advise, that works for me too. Looks like |
We don't really support this version of grpc-go anymore. You should be using one of the last 3 releases if at all possible. FWIW we have an example for generating protobuf code here: https://grpc.io/docs/languages/go/quickstart/#regenerate-grpc-code |
You can try installing an older version of
But I would recommend you to use PowerProto。 |
Please see the FAQ in our main README.md before submitting your issue.
I could compile till yesterday and suddenly today started getting this error
libprotoc 3.2.0
github.com/grpc-ecosystem/grpc-gateway v1.12.1
The text was updated successfully, but these errors were encountered: