ss2qqop
ss2qqop
采纳率0%
2017-08-23 07:46 阅读 6.1k

dubbo客户端启动时连接不上服务端

项目一启动就报这个错误 服务也开着

 2017-08-23 15:42:40 [com.alibaba.dubbo.remoting.transport.AbstractClient]-[160]-[WARN]  [DUBBO] client reconnect to 172.19.34.180:20880 find error . url: dubbo://172.19.34.180:20880/com.onionapi.service.AService?accepts=50000&anyhost=true&application=onionweb&check=false&codec=dubbo&default.check=false&default.retries=0&default.timeout=2000000&dubbo=2.5.3&heartbeat=60000&interface=com.onionapi.service.AService&methods=getAbc&pid=1504&revision=1.0-SNAPSHOT&side=consumer&timestamp=1503474154020, dubbo version: 2.5.3, current host: 192.168.1.23
com.alibaba.dubbo.remoting.RemotingException: client(url: dubbo://172.19.34.180:20880/com.onionapi.service.AService?accepts=50000&anyhost=true&application=onionweb&check=false&codec=dubbo&default.check=false&default.retries=0&default.timeout=2000000&dubbo=2.5.3&heartbeat=60000&interface=com.onionapi.service.AService&methods=getAbc&pid=1504&revision=1.0-SNAPSHOT&side=consumer&timestamp=1503474154020) failed to connect to server /172.19.34.180:20880 client-side timeout 3000ms (elapsed: 3001ms) from netty client 192.168.1.23 using dubbo version 2.5.3
    at com.alibaba.dubbo.remoting.transport.netty.NettyClient.doConnect(NettyClient.java:127)
    at com.alibaba.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:280)
    at com.alibaba.dubbo.remoting.transport.AbstractClient$1.run(AbstractClient.java:145)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    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)


  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

2条回答 默认 最新

  • kinble kinble 2017-08-23 07:54

    连接服务端超时了,可以重启一下zookeeper试试

    点赞 评论 复制链接分享
  • java_66666 java_66666 2017-08-23 08:23
    点赞 评论 复制链接分享

相关推荐