grpc-go: Cannot use 'ms' (type *messageState) as the type protoreflect.Message Type does not implement 'protoreflect.Message'
NOTE: if you are reporting is a potential security vulnerability or a crash, please follow our CVE process at https://github.com/grpc/proposal/blob/master/P4-grpc-cve-process.md instead of filing an issue here.
Please see the FAQ in our main README.md, then answer the questions below before submitting your issue.
What version of gRPC are you using?
libprotoc 3.19.1
What version of Go are you using (go version
)?
go version go1.17.3
What operating system (Linux, Windows, …) and version?
windows 10 /amd64
What did you do?
go to github.com/grpc/grpc-go/blob/master/examples/route_guide/routeguide/route_guide.pb.go. Line 70
run this code
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative route_guide.proto
Same result
What did you expect to see?
What did you see instead?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 18 (6 by maintainers)
I think it’s GoLand’s problem. I got this message today after upgrading to 2021.3, but it was fine after downgrading to 2021.2.4.
See: https://youtrack.jetbrains.com/issue/GO-12060
Same