Following exception is coming when invoking gRPC method as REST endpoint through enoy

497 views
Skip to first unread message

Mahesh Kanote

unread,
May 30, 2018, 8:08:15 AM5/30/18
to grpc.io
Hi,

Following exception is coming when invoking gRPC method as REST endpoint through enoy. Any help will be appreciated.

ERROR 7 --- [ault-executor-9] io.grpc.internal.SerializingExecutor     : Exception while executing runnable io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1MessagesAvailable@21b10f1e
io
.grpc.StatusRuntimeException: INTERNAL: Invalid protobuf byte sequence
       at io
.grpc.Status.asRuntimeException(Status.java:517)
       at io
.grpc.protobuf.lite.ProtoLiteUtils$2.parse(ProtoLiteUtils.java:174)
       at io
.grpc.protobuf.lite.ProtoLiteUtils$2.parse(ProtoLiteUtils.java:88)
       at io
.grpc.MethodDescriptor.parseRequest(MethodDescriptor.java:287)
       at io
.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.messagesAvailable(ServerCallImpl.java:252)
       at io
.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1MessagesAvailable.runInContext(ServerImpl.java:629)
       at io
.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
       at io
.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
       at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java
.lang.Thread.run(Thread.java:748)
Caused by: com.google.protobuf.InvalidProtocolBufferException$InvalidWireTypeException: Protocol message tag had invalid wire type.
       at com
.google.protobuf.InvalidProtocolBufferException.invalidWireType(InvalidProtocolBufferException.java:115)
       at com
.google.protobuf.UnknownFieldSet$Builder.mergeFieldFrom(UnknownFieldSet.java:551)
       at com
.google.protobuf.GeneratedMessageV3.parseUnknownFieldProto3(GeneratedMessageV3.java:305)


Thanks,
Mahesh

shif...@yinxiang.com

unread,
Apr 16, 2019, 8:07:13 AM4/16/19
to grpc.io


在 2018年5月30日星期三 UTC+8下午8:08:15,Mahesh Kanote写道:
anyone help me?
 
Thanks,
Mahesh

Eric Anderson

unread,
Apr 17, 2019, 12:07:15 AM4/17/19
to shif...@yinxiang.com, grpc.io
We need more information. I asked some questions on the same question at https://github.com/grpc/grpc-java/issues/5603.

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/fc997d0c-32f9-4f83-982f-b8d860c87405%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages