开发者社区> 问答> 正文

dubbo报错求大神解答?报错

 [DUBBO] Failed to start NettyClient caedmon-PC/192.168.0.234 connect to the server /60.191.124.236:20883 (check == false, ignore and retry later!), cause: client(url: dubbo://60.191.124.236:20883/

展开
收起
爱吃鱼的程序员 2020-06-14 17:34:40 2465 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    表示你的电脑连接不到192.168.0.234,check=false表示记录失败注册和订阅请求,后台定时重试。
    192.168.0.234就是我的ip问题详细点。

    项目启动dubbo注册服务

    就报这个错误

    ERROR10:16:41,178AbstractClient:<init>- [DUBBO]FailedtostartNettyClientcaedmon-PC/192.168.0.234connecttotheserver/60.191.124.236:21890(check==false,ignoreandretrylater!),cause:client(url:dubbo://60.191.124.236:21890/com.sendinfo.ebiz3.account.server.UserServer?anyhost=true&application=wuzhen-b2c-provider&check=false&codec=dubbo&default.check=false&default.retries=0&default.timeout=20000&dubbo=2.5.3&heartbeat=60000&interface=com.sendinfo.ebiz3.account.server.UserServer&methods=queryConsumerPointVo,updateAccount,queryConsumer,updateLogin,loginOut,getLogin,regConsumer,getAccount,queryLogin,updateConsumer&pid=6212&side=consumer&timeout=5000&timestamp=1425544252633)failedtoconnecttoserver/60.191.124.236:21890client-sidetimeout3000ms(elapsed:3003ms)fromnettyclient192.168.0.234usingdubboversion2.5.3,dubboversion:2.5.3,currenthost:192.168.0.234
    com.alibaba.dubbo.remoting.RemotingException:client(url:dubbo://60.191.124.236:21890/com.sendinfo.ebiz3.account.server.UserServer?anyhost=true&application=wuzhen-b2c-provider&check=false&codec=dubbo&default.check=false&default.retries=0&default.timeout=20000&dubbo=2.5.3&heartbeat=60000&interface=com.sendinfo.ebiz3.account.server.UserServer&methods=queryConsumerPointVo,updateAccount,queryConsumer,updateLogin,loginOut,getLogin,regConsumer,getAccount,queryLogin,updateConsumer&pid=6212&side=consumer&timeout=5000&timestamp=1425544252633)failedtoconnecttoserver/60.191.124.236:21890client-sidetimeout3000ms(elapsed:3003ms)fromnettyclient192.168.0.234usingdubboversion2.5.3
    atcom.alibaba.dubbo.remoting.transport.netty.NettyClient.doConnect(NettyClient.java:127)
    atcom.alibaba.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:280)
    atcom.alibaba.dubbo.remoting.transport.AbstractClient.<init>(AbstractClient.java:103)
    atcom.alibaba.dubbo.remoting.transport.netty.NettyClient.<init>(NettyClient.java:61)
    atcom.alibaba.dubbo.remoting.transport.netty.NettyTransporter.connect(NettyTransporter.java:37)
    atcom.alibaba.dubbo.remoting.Transporter$Adpative.connect(Transporter$Adpative.java)
    atcom.alibaba.dubbo.remoting.Transporters.connect(Transporters.java:67)
    atcom.alibaba.dubbo.remoting.exchange.support.header.HeaderExchanger.connect(HeaderExchanger.java:37)
    atcom.alibaba.dubbo.remoting.exchange.Exchangers.connect(Exchangers.java:102)
    atcom.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.initClient(DubboProtocol.java:378)
    atcom.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.getSharedClient(DubboProtocol.java:344)
    atcom.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.getClients(DubboProtocol.java:321)
    atcom.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.refer(DubboProtocol.java:303)
    atcom.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:65)
    atcom.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:62)
    atcom.alibaba.dubbo.rpc.Protocol$Adpative.refer(Protocol$Adpative.java)
    atcom.alibaba.dubbo.registry.integration.RegistryDirectory.toInvokers(RegistryDirectory.java:395)
    atcom.alibaba.dubbo.registry.integration.RegistryDirectory.refreshInvoker(RegistryDirectory.java:224)
    atcom.alibaba.dubbo.registry.integration.RegistryDirectory.notify(RegistryDirectory.java:195)
    atcom.alibaba.dubbo.registry.support.AbstractRegistry.notify(AbstractRegistry.java:449)
    atcom.alibaba.dubbo.registry.support.FailbackRegistry.doNotify(FailbackRegistry.java:273)
    atcom.alibaba.dubbo.registry.support.FailbackRegistry.notify(FailbackRegistry.java:259)
    atcom.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.access$400(ZookeeperRegistry.java:45)
    atcom.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry$3.childChanged(ZookeeperRegistry.java:159)
    atcom.alibaba.dubbo.remoting.zookeeper.zkclient.ZkclientZookeeperClient$2.handleChildChange(ZkclientZookeeperClient.java:82)
    atorg.I0Itec.zkclient.ZkClient$8.run(ZkClient.java:583)
    atorg.I0Itec.zkclient.ZkEventThread.run(ZkEventThread.java:71)

    感觉是服务器有问题。这个错误的意思是找不到一个不存在的地址然后就报<spanstyle="font-family:微软雅黑,Verdana,sans-serif,宋体;font-size:14px;line-height:normal;background-color:#FFFFFF;">60.191.124.236这个ip。服务器的防火墙都关了。而且ping都是通的。外网也通,表示无法理解求答案,很急是不是服务端zookeeper没开启
    <divclass='ref'>

    引用来自“caedmon_帅”的评论

    感觉是服务器有问题。这个错误的意思是找不到一个不存在的地址然后就报<spanstyle="font-family:微软雅黑,Verdana,sans-serif,宋体;font-size:14px;line-height:normal;background-color:#FFFFFF;">60.191.124.236这个ip。服务器的防火墙都关了。而且ping都是通的。外网也通,表示无法理解这个启动注册到zookeeper的时候注册地址都改成了<spanstyle="color:#333333;font-family:微软雅黑,Verdana,sans-serif,宋体;font-size:14px;line-height:normal;background-color:#FFFFFF;">60.191.124.236这个ip所以其他调用这个服务的时候就报这个错误了

    2020-06-14 17:34:58
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Dubbo开源现状与2.7规划 立即下载
Dubbo分布式服务治理实战 立即下载
《Dubbo 3.0 前瞻》 立即下载