You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been able to reproduce this using the very example server suggested in the main README.md. Steps to reproduce:
Compile grpc-gateway-out and go_out of the example echo service.
Using the example server implementation, use go run to start the server. It will complain about not being able to connect to your backend gRPC server, but that's fine.
Send a simple cURL request to the HTTP API
curl -X POST http://localhost:8080/v1/example/echo
In the console of the grpc-gateway server you will get the proto: no coders for int message.
I've been able to reproduce this using the very example server suggested in the main README.md. Steps to reproduce:
go run
to start the server. It will complain about not being able to connect to your backend gRPC server, but that's fine.In the console of the grpc-gateway server you will get the
proto: no coders for int
message.The source of the message is in https://github.com/golang/protobuf/blob/4bd1920723d7b7c925de087aa32e2187708897f7/proto/properties.go#L349.
The reason for it being printed appears to be that grpc-gateway creates an error struct with a
Code
of typeint
.See
grpc-gateway/runtime/errors.go
Line 67 in 84398b9
This issue has been encountered in several places downstream already: gogo/protobuf#178 and cockroachdb/cockroach#10484 at the least.
The text was updated successfully, but these errors were encountered: