GithubHelp home page GithubHelp logo

dubbo-remoting-netty4's People

Contributors

wuwen5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dubbo-remoting-netty4's Issues

咨询

可有人说”dubbo中的那些“坑"(3)-netty4-rpc网络接口中的高并发的bug“,不知道你们在使用中是否如他所说呢?

使用netty4报如下错误,用netty3访问正常

打印调用过程,发现远程调用几次后,客户端发送了消息,服务器端没有收到消息,然后客户端报超时,使用官方netty可以正常调用

com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method grantServices in the service com.xxx.spruce.esb.service.AppAccountService. Tried 3 times of the providers 75.81.1.172:20880 from the registry 75.81.1.106:2181 on the consumer 75.81.1.172 using the dubbo version 2.5.4-SNAPSHOT. Last error is: Invoke remote method timeout. method: grantServices, provider: dubbo://75.81.1.172:20880/com.xxx.spruce.esb.service.AppAccountService?anyhost=true&application=bcs-demo-client&check=false&client=netty4&default.delay=-1&default.timeout=5000&delay=-1&dubbo=2.5.4-SNAPSHOT&generic=false&interface=com.xxx.spruce.esb.service.AppAccountService&methods=getAppAccountInfos,changeAppSecret,grantServices,getMqServices,getApiServices,delAppAccountInfo,getAppAccountInfo,getAppAccount,passAppAccountInfo,getAppCertEntity,saveAppAccountInfo&payload=168388608&pid=5376&serialization=dubbo&server=netty4&side=consumer&timestamp=1445917875667, cause: Waiting server-side response timeout. start time: 2015-10-27 11:51:27.403, end time: 2015-10-27 11:51:32.411, client elapsed: 0 ms, server elapsed: 5008 ms, timeout: 5000 ms, request: Request [id=14, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=grantServices, parameterTypes=[class com.xxx.spruce.esb.pojo.AppAccountInfo], arguments=[com.xxx.spruce.esb.pojo.AppAccountInfo@122fd03], attachments={path=com.xxx.spruce.esb.service.AppAccountService, interface=com.xxx.spruce.esb.service.AppAccountService, timeout=5000, version=0.0.0}]], channel: /75.81.1.172:51904 -> /75.81.1.172:20880
at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:101)
at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:227)
at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:77)
at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
at com.alibaba.dubbo.common.bytecode.proxy0.grantServices(proxy0.java)
at com.xxx.bcs.demo.consumer.DemoConsumer.main(DemoConsumer.java:72)
Caused by: com.alibaba.dubbo.remoting.TimeoutException: Waiting server-side response timeout. start time: 2015-10-27 11:51:27.403, end time: 2015-10-27 11:51:32.411, client elapsed: 0 ms, server elapsed: 5008 ms, timeout: 5000 ms, request: Request [id=14, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=grantServices, parameterTypes=[class com.xxx.spruce.esb.pojo.AppAccountInfo], arguments=[com.xxx.spruce.esb.pojo.AppAccountInfo@122fd03], attachments={path=com.xxx.spruce.esb.service.AppAccountService, interface=com.xxx.spruce.esb.service.AppAccountService, timeout=5000, version=0.0.0}]], channel: /75.81.1.172:51904 -> /75.81.1.172:20880
at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:107)
at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:84)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:99)
at com.alibaba.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:144)
at com.alibaba.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:74)
at com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:53)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
at com.alibaba.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:48)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:53)
at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:77)
... 5 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.