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

ICSZ`FFIB5OGL OYHK MC6

E)U%2{D4Q%D3(`S3V6U0C93

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)

Most upvoted comments

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.

My Environment:

macOS 12.0.1
go 1.17.3
libprotoc 3.17.3 / 3.19.1
protoc-gen-go v1.27.1

See: https://youtrack.jetbrains.com/issue/GO-12060

Same