NutzCN Logo
问答 nutzwk5.0.x出现拒绝链接异常(task模块)
发布于 2250天前 作者 wx_3un8gefq8c8pul4do54f 1441 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk
[WARN ] 16:38:13.039 com.alibaba.dubbo.remoting.transport.AbstractClient.<init>(AbstractClient.java:98) -  [DUBBO] Failed to start NettyClient kex.robot/192.168.31.42 connect to the server /192.168.31.42:15666 (check == false, ignore and retry later!), cause: client(url: dubbo://192.168.31.42:15666/cn.wizzer.app.sys.modules.services.SysTaskService?anyhost=true&application=wk-nb-task&check=false&codec=dubbo&dubbo=5.0.1-SNAPSHOT&generic=false&heartbeat=60000&interface=cn.wizzer.app.sys.modules.services.SysTaskService&methods=updateWithVersion,insertRelation,data,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,fetchx,execute,updateAndIncrIfMatch,getMap,updateLinks,fetchLinks,updateRelation,fastInsert,insertLinks,update,insert,getParentPath,delete,updateIgnoreNull,clear,getEntity,updateWith,fetch,exists,listPage&payload=115570500&pid=29972&register.ip=192.168.31.42&remote.timestamp=1536991054007&revision=5.0.1-SNAPSHOT&side=consumer&timeout=3000000&timestamp=1537000692885) failed to connect to server /192.168.31.42:15666, error message is:拒绝连接, dubbo version: 5.0.1-SNAPSHOT, current host: 192.168.31.42
com.alibaba.dubbo.remoting.RemotingException: client(url: dubbo://192.168.31.42:15666/cn.wizzer.app.sys.modules.services.SysTaskService?anyhost=true&application=wk-nb-task&check=false&codec=dubbo&dubbo=5.0.1-SNAPSHOT&generic=false&heartbeat=60000&interface=cn.wizzer.app.sys.modules.services.SysTaskService&methods=updateWithVersion,insertRelation,data,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,fetchx,execute,updateAndIncrIfMatch,getMap,updateLinks,fetchLinks,updateRelation,fastInsert,insertLinks,update,insert,getParentPath,delete,updateIgnoreNull,clear,getEntity,updateWith,fetch,exists,listPage&payload=115570500&pid=29972&register.ip=192.168.31.42&remote.timestamp=1536991054007&revision=5.0.1-SNAPSHOT&side=consumer&timeout=3000000&timestamp=1537000692885) failed to connect to server /192.168.31.42:15666, error message is:拒绝连接
	at com.alibaba.dubbo.remoting.transport.netty.NettyClient.doConnect(NettyClient.java:124)
	at com.alibaba.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:275)
	at com.alibaba.dubbo.remoting.transport.AbstractClient.<init>(AbstractClient.java:89)
	at com.alibaba.dubbo.remoting.transport.netty.NettyClient.<init>(NettyClient.java:59)
	at com.alibaba.dubbo.remoting.transport.netty.NettyTransporter.connect(NettyTransporter.java:37)
	at com.alibaba.dubbo.remoting.Transporter$Adaptive.connect(Transporter$Adaptive.java)
	at com.alibaba.dubbo.remoting.Transporters.connect(Transporters.java:75)
	at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchanger.connect(HeaderExchanger.java:39)
	at com.alibaba.dubbo.remoting.exchange.Exchangers.connect(Exchangers.java:109)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.initClient(DubboProtocol.java:409)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.getSharedClient(DubboProtocol.java:377)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.getClients(DubboProtocol.java:354)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.refer(DubboProtocol.java:336)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:108)
	at com.alibaba.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:65)
	at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:67)
	at com.alibaba.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java)
	at com.alibaba.dubbo.registry.integration.RegistryDirectory.toInvokers(RegistryDirectory.java:387)
	at com.alibaba.dubbo.registry.integration.RegistryDirectory.refreshInvoker(RegistryDirectory.java:253)
	at com.alibaba.dubbo.registry.integration.RegistryDirectory.notify(RegistryDirectory.java:223)
	at com.alibaba.dubbo.registry.support.AbstractRegistry.notify(AbstractRegistry.java:414)
	at com.alibaba.dubbo.registry.support.FailbackRegistry.doNotify(FailbackRegistry.java:274)
	at com.alibaba.dubbo.registry.support.FailbackRegistry.notify(FailbackRegistry.java:260)
	at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.doSubscribe(ZookeeperRegistry.java:190)
	at com.alibaba.dubbo.registry.support.FailbackRegistry.subscribe(FailbackRegistry.java:190)
	at com.alibaba.dubbo.registry.integration.RegistryDirectory.subscribe(RegistryDirectory.java:159)
	at com.alibaba.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:305)
	at com.alibaba.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:286)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:106)
	at com.alibaba.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:63)
	at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:65)
	at com.alibaba.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java)
	at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:394)
	at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:333)
	at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:163)
	at org.nutz.integration.dubbo.ReferenceBean.get(ReferenceBean.java:152)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.nutz.lang.Invoking$NullArgInvoker.invoke(Invoking.java:77)
	at org.nutz.lang.Invoking.invoke(Invoking.java:192)
	at org.nutz.lang.Mirror.invoke(Mirror.java:1132)
	at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:80)
	at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:78)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:117)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
	at org.nutz.ioc.impl.NutIoc.getByType(NutIoc.java:457)
	at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:66)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:161)
	at org.nutz.boot.NbApp.execute(NbApp.java:208)
	at org.nutz.boot.NbApp.run(NbApp.java:177)
	at cn.wizzer.app.task.commons.core.TaskMainLauncher.main(TaskMainLauncher.java:49)
Caused by: java.net.ConnectException: 拒绝连接
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
	at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.connect(NioClientSocketPipelineSink.java:384)
	at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processSelectedKeys(NioClientSocketPipelineSink.java:354)
	at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:276)
	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)
3 回复

重启一下确实没有了,但在运行的过程中时不时的也会有这样的错误出现;有一方面的原因是真的当前调用的模块报错了,但有时候无缘无故突然就有这样的问题

总结规律,排查痕迹

添加回复
请先登陆
回到顶部