Do you know what version of gRPC Java you are using? Is it possible you are depending on two different versions of Netty?
On Tuesday, June 6, 2017 at 4:33:05 AM UTC-7, [email protected] wrote: > > I am using java 1.8 and trying to connect my java grpc-client to ruby grpc > server using grpc (1.3.0.0) > but at the time of execution it's giving me following exeption: > > java.lang.NoSuchMethodError: > io.netty.handler.codec.http.HttpResponseStatus.codeAsText()Lio/netty/util/AsciiString; > at > io.netty.handler.codec.http2.Http2ConnectionHandler.<clinit>(Http2ConnectionHandler.java:69) > at io.grpc.netty.NettyClientTransport.start(NettyClientTransport.java:190) > at > io.grpc.internal.ForwardingConnectionClientTransport.start(ForwardingConnectionClientTransport.java:44) > at > io.grpc.internal.InternalSubchannel.startNewTransport(InternalSubchannel.java:216) > at > io.grpc.internal.InternalSubchannel.obtainActiveTransport(InternalSubchannel.java:186) > at > io.grpc.internal.ManagedChannelImpl$SubchannelImplImpl.obtainActiveTransport(ManagedChannelImpl.java:812) > at io.grpc.internal.GrpcUtil.getTransportFromPickResult(GrpcUtil.java:592) > at > io.grpc.internal.DelayedClientTransport.reprocess(DelayedClientTransport.java:295) > at > io.grpc.internal.ManagedChannelImpl$LbHelperImpl$5.run(ManagedChannelImpl.java:718) > at io.grpc.internal.ChannelExecutor.drain(ChannelExecutor.java:87) > at > io.grpc.internal.ManagedChannelImpl$LbHelperImpl.runSerialized(ManagedChannelImpl.java:709) > at > io.grpc.internal.ManagedChannelImpl$NameResolverListenerImpl.onAddresses(ManagedChannelImpl.java:758) > at io.grpc.internal.DnsNameResolver$1.run(DnsNameResolver.java:175) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > > Note: grpc server is implemented in c-ruby. > > thank you in advance! > > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/b881f1e3-af68-4c80-bf4f-71f3df638fbd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
