You're using a different/wrong version of Netty. grpc-java is quite
particular about the version of Netty being used and needs exactly what its
dependency specifies.

Eventually <https://github.com/grpc/grpc-java/pull/2485> we'll have a
pre-shaded Netty transport that should avoid most versioning issues.

On Tue, Aug 22, 2017 at 3:02 AM, <[email protected]> wrote:

> hi~ have u solved that problem ? i'm facing the same exception..thx
>
> 在 2017年6月6日星期二 UTC+8下午7:33:05,[email protected]写道:
>>
>> 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.Ht
>> tpResponseStatus.codeAsText()Lio/netty/util/AsciiString;
>> at io.netty.handler.codec.http2.Http2ConnectionHandler.<clinit>
>> (Http2ConnectionHandler.java:69)
>> at io.grpc.netty.NettyClientTransport.start(NettyClientTranspor
>> t.java:190)
>> at io.grpc.internal.ForwardingConnectionClientTransport.start(F
>> orwardingConnectionClientTransport.java:44)
>> at io.grpc.internal.InternalSubchannel.startNewTransport(Intern
>> alSubchannel.java:216)
>> at io.grpc.internal.InternalSubchannel.obtainActiveTransport(In
>> ternalSubchannel.java:186)
>> at io.grpc.internal.ManagedChannelImpl$SubchannelImplImpl.obtai
>> nActiveTransport(ManagedChannelImpl.java:812)
>> at io.grpc.internal.GrpcUtil.getTransportFromPickResult(GrpcUti
>> l.java:592)
>> at io.grpc.internal.DelayedClientTransport.reprocess(DelayedCli
>> entTransport.java:295)
>> at io.grpc.internal.ManagedChannelImpl$LbHelperImpl$5.run(Manag
>> edChannelImpl.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(ThreadPool
>> Executor.java:1142)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>> lExecutor.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/fb68ddff-13be-4542-975a-d5603a84ff02%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/fb68ddff-13be-4542-975a-d5603a84ff02%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CA%2B4M1oPdv769ZQpJFyM-AqDfBarcs5WtVvRsiUsruw0PWUaP5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to