[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/
表示你的电脑连接不到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×tamp=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×tamp=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)
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。