NutzCN Logo
问答 调用其他服务提供的接口
发布于 2282天前 作者 wx_3un8gefq8c8pul4do54f 2628 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

接口调用成功,但代码出现超时报错,程序默认再次去调用(一共三次),导致接口被执行三次;ps:每一个service的超时时间都设置的很大(99999999)
以下为错误代码:
[ERROR] 15:53:31.811 com.alibaba.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:85) - [DUBBO] Got unchecked and undeclared exception which called by 172.21.20.4. service: cn.wizzer.app.ol.modules.services.TOlSysUserExtendService, method: buckleCoin, exception: com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method updateWalletByUser in the service cn.wizzer.app.nozzle.modules.services.KexAPIService. Tried 3 times of the providers 172.21.20.4:13067 from the registry 127.0.0.1:2181 on the consumer 172.21.20.4 using the dubbo version 5.0.1-SNAPSHOT. Last error is: Invoke remote method timeout. method: updateWalletByUser, provider: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&dubbo=5.0.1-SNAPSHOT&generic=false&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=5357®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer×tamp=1534405787905, cause: Waiting server-side response timeout by scan timer. start time: 2018-08-16 15:53:30.796, end time: 2018-08-16 15:53:31.810, client elapsed: 0 ms, server elapsed: 1014 ms, timeout: 1000 ms, request: Request [id=19, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=updateWalletByUser, parameterTypes=[int, int, class java.math.BigDecimal, int, int, class java.math.BigDecimal, class java.lang.String], arguments=[10000077, 12, -12587.520000000, 100015, 0, 0, 借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000|借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000| | |], attachments={input=578, path=cn.wizzer.app.nozzle.modules.services.KexAPIService, interface=cn.wizzer.app.nozzle.modules.services.KexAPIService, version=0.0.0}]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method updateWalletByUser in the service cn.wizzer.app.nozzle.modules.services.KexAPIService. Tried 3 times of the providers 172.21.20.4:13067 from the registry 127.0.0.1:2181 on the consumer 172.21.20.4 using the dubbo version 5.0.1-SNAPSHOT. Last error is: Invoke remote method timeout. method: updateWalletByUser, provider: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&dubbo=5.0.1-SNAPSHOT&generic=false&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=5357®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer×tamp=1534405787905, cause: Waiting server-side response timeout by scan timer. start time: 2018-08-16 15:53:30.796, end time: 2018-08-16 15:53:31.810, client elapsed: 0 ms, server elapsed: 1014 ms, timeout: 1000 ms, request: Request [id=19, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=updateWalletByUser, parameterTypes=[int, int, class java.math.BigDecimal, int, int, class java.math.BigDecimal, class java.lang.String], arguments=[10000077, 12, -12587.520000000, 100015, 0, 0, 借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000|借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000| | |], attachments={input=578, path=cn.wizzer.app.nozzle.modules.services.KexAPIService, interface=cn.wizzer.app.nozzle.modules.services.KexAPIService, version=0.0.0}]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067
at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:102)
at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:238)
at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:75)
at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
at com.alibaba.dubbo.common.bytecode.proxy0.updateWalletByUser(proxy0.java)
at cn.wizzer.app.ol.modules.services.impl.TOlSysUserExtendServiceImpl.buckleCoin(TOlSysUserExtendServiceImpl.java:141)
at com.alibaba.dubbo.common.bytecode.Wrapper12.invokeMethod(Wrapper12.java)
at com.alibaba.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47)
at com.alibaba.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:76)
at com.alibaba.dubbo.config.invoker.DelegateProviderMetaDataInvoker.invoke(DelegateProviderMetaDataInvoker.java:52)
at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
at com.alibaba.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:62)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:42)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:78)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:72)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:131)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:38)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:103)
at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:96)
at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:172)
at com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
at com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:80)
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)
Caused by: com.alibaba.dubbo.remoting.TimeoutException: Waiting server-side response timeout by scan timer. start time: 2018-08-16 15:53:30.796, end time: 2018-08-16 15:53:31.810, client elapsed: 0 ms, server elapsed: 1014 ms, timeout: 1000 ms, request: Request [id=19, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=updateWalletByUser, parameterTypes=[int, int, class java.math.BigDecimal, int, int, class java.math.BigDecimal, class java.lang.String], arguments=[10000077, 12, -12587.520000000, 100015, 0, 0, 借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000|借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000| | |], attachments={input=578, path=cn.wizzer.app.nozzle.modules.services.KexAPIService, interface=cn.wizzer.app.nozzle.modules.services.KexAPIService, version=0.0.0}]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067
at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.returnFromResponse(DefaultFuture.java:220)
at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:139)
at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:112)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:95)
at com.alibaba.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:148)
at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:54)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:48)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:77)
at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:78)
... 34 more
[WARN ] 15:53:32.152 com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:99) - [DUBBO] The timeout response finally returned at 2018-08-16 15:53:32.152, response Response [id=18, version=null, status=20, event=false, error=null, result=RpcResult [result=true, exception=null]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
[WARN ] 15:53:32.769 com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:99) - [DUBBO] The timeout response finally returned at 2018-08-16 15:53:32.769, response Response [id=19, version=null, status=20, event=false, error=null, result=RpcResult [result=true, exception=null]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
[WARN ] 15:55:24.108 com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:99) - [DUBBO] The timeout response finally returned at 2018-08-16 15:55:24.108, response Response [id=23, version=null, status=20, event=false, error=null, result=RpcResult [result=true, exception=null]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
[ERROR] 15:55:25.104 com.alibaba.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:85) - [DUBBO] Got unchecked and undeclared exception which called by 172.21.20.4. service: cn.wizzer.app.ol.modules.services.TOlSysUserExtendService, method: buckleCoin, exception: com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method updateWalletByUser in the service cn.wizzer.app.nozzle.modules.services.KexAPIService. Tried 3 times of the providers 172.21.20.4:13067 from the registry 127.0.0.1:2181 on the consumer 172.21.20.4 using the dubbo version 5.0.1-SNAPSHOT. Last error is: Invoke remote method timeout. method: updateWalletByUser, provider: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&dubbo=5.0.1-SNAPSHOT&generic=false&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=5357®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer×tamp=1534405787905, cause: Waiting server-side response timeout by scan timer. start time: 2018-08-16 15:55:24.081, end time: 2018-08-16 15:55:25.104, client elapsed: 0 ms, server elapsed: 1022 ms, timeout: 1000 ms, request: Request [id=25, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=updateWalletByUser, parameterTypes=[int, int, class java.math.BigDecimal, int, int, class java.math.BigDecimal, class java.lang.String], arguments=[10000077, 12, -12587.520000000, 100015, 0, 0, 借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000|借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000| | |], attachments={input=578, path=cn.wizzer.app.nozzle.modules.services.KexAPIService, interface=cn.wizzer.app.nozzle.modules.services.KexAPIService, version=0.0.0}]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method updateWalletByUser in the service cn.wizzer.app.nozzle.modules.services.KexAPIService. Tried 3 times of the providers 172.21.20.4:13067 from the registry 127.0.0.1:2181 on the consumer 172.21.20.4 using the dubbo version 5.0.1-SNAPSHOT. Last error is: Invoke remote method timeout. method: updateWalletByUser, provider: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&dubbo=5.0.1-SNAPSHOT&generic=false&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=5357®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer×tamp=1534405787905, cause: Waiting server-side response timeout by scan timer. start time: 2018-08-16 15:55:24.081, end time: 2018-08-16 15:55:25.104, client elapsed: 0 ms, server elapsed: 1022 ms, timeout: 1000 ms, request: Request [id=25, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=updateWalletByUser, parameterTypes=[int, int, class java.math.BigDecimal, int, int, class java.math.BigDecimal, class java.lang.String], arguments=[10000077, 12, -12587.520000000, 100015, 0, 0, 借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000|借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000| | |], attachments={input=578, path=cn.wizzer.app.nozzle.modules.services.KexAPIService, interface=cn.wizzer.app.nozzle.modules.services.KexAPIService, version=0.0.0}]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067
at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:102)
at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:238)
at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:75)
at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
at com.alibaba.dubbo.common.bytecode.proxy0.updateWalletByUser(proxy0.java)
at cn.wizzer.app.ol.modules.services.impl.TOlSysUserExtendServiceImpl.buckleCoin(TOlSysUserExtendServiceImpl.java:141)
at com.alibaba.dubbo.common.bytecode.Wrapper12.invokeMethod(Wrapper12.java)
at com.alibaba.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47)
at com.alibaba.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:76)
at com.alibaba.dubbo.config.invoker.DelegateProviderMetaDataInvoker.invoke(DelegateProviderMetaDataInvoker.java:52)
at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
at com.alibaba.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:62)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:42)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:78)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:72)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:131)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:38)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:103)
at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:96)
at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:172)
at com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
at com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:80)
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)
Caused by: com.alibaba.dubbo.remoting.TimeoutException: Waiting server-side response timeout by scan timer. start time: 2018-08-16 15:55:24.081, end time: 2018-08-16 15:55:25.104, client elapsed: 0 ms, server elapsed: 1022 ms, timeout: 1000 ms, request: Request [id=25, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=updateWalletByUser, parameterTypes=[int, int, class java.math.BigDecimal, int, int, class java.math.BigDecimal, class java.lang.String], arguments=[10000077, 12, -12587.520000000, 100015, 0, 0, 借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000|借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000| | |], attachments={input=578, path=cn.wizzer.app.nozzle.modules.services.KexAPIService, interface=cn.wizzer.app.nozzle.modules.services.KexAPIService, version=0.0.0}]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067
at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.returnFromResponse(DefaultFuture.java:220)
at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:139)
at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:112)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:95)
at com.alibaba.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:148)
at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:54)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:48)
at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
at com.alibaba.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:77)
at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:78)
... 34 more
[WARN ] 15:55:25.279 com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:99) - [DUBBO] The timeout response finally returned at 2018-08-16 15:55:25.279, response Response [id=24, version=null, status=20, event=false, error=null, result=RpcResult [result=true, exception=null]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
[WARN ] 15:55:26.107 com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:99) - [DUBBO] The timeout response finally returned at 2018-08-16 15:55:26.107, response Response [id=25, version=null, status=20, event=false, error=null, result=RpcResult [result=true, exception=null]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
[WARN ] 09:38:49.899 com.alibaba.dubbo.remoting.transport.AbstractClient.(AbstractClient.java:98) - [DUBBO] Failed to start NettyClient IEO/172.21.20.4 connect to the server /172.21.20.4:13067 (check == false, ignore and retry later!), cause: client(url: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&codec=dubbo&dubbo=5.0.1-SNAPSHOT&generic=false&heartbeat=60000&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=8804®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer&timeout=30000000×tamp=1534469929531) failed to connect to server /172.21.20.4:13067, error message is:Connection refused, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
com.alibaba.dubbo.remoting.RemotingException: client(url: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&codec=dubbo&dubbo=5.0.1-SNAPSHOT&generic=false&heartbeat=60000&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=8804®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer&timeout=30000000×tamp=1534469929531) failed to connect to server /172.21.20.4:13067, error message is:Connection refused
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.(AbstractClient.java:89)
at com.alibaba.dubbo.remoting.transport.netty.NettyClient.(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.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.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.getByType(NutIoc.java:457)
at org.nutz.ioc.impl.NutIoc.getByType(NutIoc.java:426)
at org.nutz.integration.dubbo.AnnotationBean._init(AnnotationBean.java:73)
at org.nutz.integration.dubbo.AnnotationBean$FM$_init$f539644c7c69ed75d49c3fe93ff7ea40.invoke(AnnotationBean.java)
at org.nutz.ioc.impl.ObjectMakerImpl$2.trigger(ObjectMakerImpl.java:180)
at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:89)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
at org.nutz.integration.dubbo.DubboManager.init(DubboManager.java:34)
at org.nutz.integration.dubbo.DubboManager._init(DubboManager.java:27)
at org.nutz.integration.dubbo.DubboManager$FM$_init$f539644c7c69ed75d49c3fe93ff7ea40.invoke(DubboManager.java)
at org.nutz.ioc.impl.ObjectMakerImpl$2.trigger(ObjectMakerImpl.java:180)
at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:89)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
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.starter.dubbo.DubboStarter.start(DubboStarter.java:17)
at org.nutz.boot.AppContext.startServers(AppContext.java:306)
at org.nutz.boot.NbApp.execute(NbApp.java:204)
at org.nutz.boot.NbApp.run(NbApp.java:177)
at cn.wizzer.app.ol.commons.core.DubboOnLoanMainLauncher.main(DubboOnLoanMainLauncher.java:45)
Caused by: java.net.ConnectException: Connection refused
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)
[WARN ] 09:38:51.883 com.alibaba.dubbo.remoting.transport.AbstractClient$1.run(AbstractClient.java:171) - [DUBBO] client reconnect to 172.21.20.4:13067 find error . url: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&codec=dubbo&dubbo=5.0.1-SNAPSHOT&generic=false&heartbeat=60000&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=8804®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer&timeout=30000000×tamp=1534469929531, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
com.alibaba.dubbo.remoting.RemotingException: client(url: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&codec=dubbo&dubbo=5.0.1-SNAPSHOT&generic=false&heartbeat=60000&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=8804®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer&timeout=30000000×tamp=1534469929531) failed to connect to server /172.21.20.4:13067, error message is:Connection refused
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$1.run(AbstractClient.java:156)
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)
Caused by: java.net.ConnectException: Connection refused
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)
... 3 more

9 回复

用 插入代码 按钮啊

[ERROR] 15:53:31.811 com.alibaba.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:85) - [DUBBO] Got unchecked and undeclared exception which called by 172.21.20.4. service: cn.wizzer.app.ol.modules.services.TOlSysUserExtendService, method: buckleCoin, exception: com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method updateWalletByUser in the service cn.wizzer.app.nozzle.modules.services.KexAPIService. Tried 3 times of the providers 172.21.20.4:13067 from the registry 127.0.0.1:2181 on the consumer 172.21.20.4 using the dubbo version 5.0.1-SNAPSHOT. Last error is: Invoke remote method timeout. method: updateWalletByUser, provider: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&dubbo=5.0.1-SNAPSHOT&generic=false&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=5357®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer×tamp=1534405787905, cause: Waiting server-side response timeout by scan timer. start time: 2018-08-16 15:53:30.796, end time: 2018-08-16 15:53:31.810, client elapsed: 0 ms, server elapsed: 1014 ms, timeout: 1000 ms, request: Request [id=19, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=updateWalletByUser, parameterTypes=[int, int, class java.math.BigDecimal, int, int, class java.math.BigDecimal, class java.lang.String], arguments=[10000077, 12, -12587.520000000, 100015, 0, 0, 借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000|借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000| | |], attachments={input=578, path=cn.wizzer.app.nozzle.modules.services.KexAPIService, interface=cn.wizzer.app.nozzle.modules.services.KexAPIService, version=0.0.0}]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method updateWalletByUser in the service cn.wizzer.app.nozzle.modules.services.KexAPIService. Tried 3 times of the providers 172.21.20.4:13067 from the registry 127.0.0.1:2181 on the consumer 172.21.20.4 using the dubbo version 5.0.1-SNAPSHOT. Last error is: Invoke remote method timeout. method: updateWalletByUser, provider: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&dubbo=5.0.1-SNAPSHOT&generic=false&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=5357®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer×tamp=1534405787905, cause: Waiting server-side response timeout by scan timer. start time: 2018-08-16 15:53:30.796, end time: 2018-08-16 15:53:31.810, client elapsed: 0 ms, server elapsed: 1014 ms, timeout: 1000 ms, request: Request [id=19, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=updateWalletByUser, parameterTypes=[int, int, class java.math.BigDecimal, int, int, class java.math.BigDecimal, class java.lang.String], arguments=[10000077, 12, -12587.520000000, 100015, 0, 0, 借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000|借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000| | |], attachments={input=578, path=cn.wizzer.app.nozzle.modules.services.KexAPIService, interface=cn.wizzer.app.nozzle.modules.services.KexAPIService, version=0.0.0}]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067
 at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:102)
 at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:238)
 at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:75)
 at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
 at com.alibaba.dubbo.common.bytecode.proxy0.updateWalletByUser(proxy0.java)
 at cn.wizzer.app.ol.modules.services.impl.TOlSysUserExtendServiceImpl.buckleCoin(TOlSysUserExtendServiceImpl.java:141)
 at com.alibaba.dubbo.common.bytecode.Wrapper12.invokeMethod(Wrapper12.java)
 at com.alibaba.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47)
 at com.alibaba.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:76)
 at com.alibaba.dubbo.config.invoker.DelegateProviderMetaDataInvoker.invoke(DelegateProviderMetaDataInvoker.java:52)
 at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
 at com.alibaba.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:62)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:42)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:78)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:72)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:131)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:38)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:103)
 at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:96)
 at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:172)
 at com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
 at com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:80)
 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)
Caused by: com.alibaba.dubbo.remoting.TimeoutException: Waiting server-side response timeout by scan timer. start time: 2018-08-16 15:53:30.796, end time: 2018-08-16 15:53:31.810, client elapsed: 0 ms, server elapsed: 1014 ms, timeout: 1000 ms, request: Request [id=19, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=updateWalletByUser, parameterTypes=[int, int, class java.math.BigDecimal, int, int, class java.math.BigDecimal, class java.lang.String], arguments=[10000077, 12, -12587.520000000, 100015, 0, 0, 借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000|借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000| | |], attachments={input=578, path=cn.wizzer.app.nozzle.modules.services.KexAPIService, interface=cn.wizzer.app.nozzle.modules.services.KexAPIService, version=0.0.0}]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067
 at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.returnFromResponse(DefaultFuture.java:220)
 at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:139)
 at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:112)
 at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:95)
 at com.alibaba.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:148)
 at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:54)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:48)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:77)
 at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
 at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:78)
 ... 34 more
[WARN ] 15:53:32.152 com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:99) - [DUBBO] The timeout response finally returned at 2018-08-16 15:53:32.152, response Response [id=18, version=null, status=20, event=false, error=null, result=RpcResult [result=true, exception=null]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
[WARN ] 15:53:32.769 com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:99) - [DUBBO] The timeout response finally returned at 2018-08-16 15:53:32.769, response Response [id=19, version=null, status=20, event=false, error=null, result=RpcResult [result=true, exception=null]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
[WARN ] 15:55:24.108 com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:99) - [DUBBO] The timeout response finally returned at 2018-08-16 15:55:24.108, response Response [id=23, version=null, status=20, event=false, error=null, result=RpcResult [result=true, exception=null]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
[ERROR] 15:55:25.104 com.alibaba.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:85) - [DUBBO] Got unchecked and undeclared exception which called by 172.21.20.4. service: cn.wizzer.app.ol.modules.services.TOlSysUserExtendService, method: buckleCoin, exception: com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method updateWalletByUser in the service cn.wizzer.app.nozzle.modules.services.KexAPIService. Tried 3 times of the providers 172.21.20.4:13067 from the registry 127.0.0.1:2181 on the consumer 172.21.20.4 using the dubbo version 5.0.1-SNAPSHOT. Last error is: Invoke remote method timeout. method: updateWalletByUser, provider: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&dubbo=5.0.1-SNAPSHOT&generic=false&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=5357®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer×tamp=1534405787905, cause: Waiting server-side response timeout by scan timer. start time: 2018-08-16 15:55:24.081, end time: 2018-08-16 15:55:25.104, client elapsed: 0 ms, server elapsed: 1022 ms, timeout: 1000 ms, request: Request [id=25, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=updateWalletByUser, parameterTypes=[int, int, class java.math.BigDecimal, int, int, class java.math.BigDecimal, class java.lang.String], arguments=[10000077, 12, -12587.520000000, 100015, 0, 0, 借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000|借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000| | |], attachments={input=578, path=cn.wizzer.app.nozzle.modules.services.KexAPIService, interface=cn.wizzer.app.nozzle.modules.services.KexAPIService, version=0.0.0}]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method updateWalletByUser in the service cn.wizzer.app.nozzle.modules.services.KexAPIService. Tried 3 times of the providers 172.21.20.4:13067 from the registry 127.0.0.1:2181 on the consumer 172.21.20.4 using the dubbo version 5.0.1-SNAPSHOT. Last error is: Invoke remote method timeout. method: updateWalletByUser, provider: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&dubbo=5.0.1-SNAPSHOT&generic=false&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=5357®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer×tamp=1534405787905, cause: Waiting server-side response timeout by scan timer. start time: 2018-08-16 15:55:24.081, end time: 2018-08-16 15:55:25.104, client elapsed: 0 ms, server elapsed: 1022 ms, timeout: 1000 ms, request: Request [id=25, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=updateWalletByUser, parameterTypes=[int, int, class java.math.BigDecimal, int, int, class java.math.BigDecimal, class java.lang.String], arguments=[10000077, 12, -12587.520000000, 100015, 0, 0, 借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000|借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000| | |], attachments={input=578, path=cn.wizzer.app.nozzle.modules.services.KexAPIService, interface=cn.wizzer.app.nozzle.modules.services.KexAPIService, version=0.0.0}]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067
 at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:102)
 at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:238)
 at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:75)
 at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
 at com.alibaba.dubbo.common.bytecode.proxy0.updateWalletByUser(proxy0.java)
 at cn.wizzer.app.ol.modules.services.impl.TOlSysUserExtendServiceImpl.buckleCoin(TOlSysUserExtendServiceImpl.java:141)
 at com.alibaba.dubbo.common.bytecode.Wrapper12.invokeMethod(Wrapper12.java)
 at com.alibaba.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47)
 at com.alibaba.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:76)
 at com.alibaba.dubbo.config.invoker.DelegateProviderMetaDataInvoker.invoke(DelegateProviderMetaDataInvoker.java:52)
 at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
 at com.alibaba.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:62)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:42)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:78)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:72)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:131)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:38)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:103)
 at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:96)
 at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:172)
 at com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
 at com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:80)
 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)
Caused by: com.alibaba.dubbo.remoting.TimeoutException: Waiting server-side response timeout by scan timer. start time: 2018-08-16 15:55:24.081, end time: 2018-08-16 15:55:25.104, client elapsed: 0 ms, server elapsed: 1022 ms, timeout: 1000 ms, request: Request [id=25, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=updateWalletByUser, parameterTypes=[int, int, class java.math.BigDecimal, int, int, class java.math.BigDecimal, class java.lang.String], arguments=[10000077, 12, -12587.520000000, 100015, 0, 0, 借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000|借贷平台-用户申请还款扣还款本金-10000077-币别-USDT-数量-12587.520000000| | |], attachments={input=578, path=cn.wizzer.app.nozzle.modules.services.KexAPIService, interface=cn.wizzer.app.nozzle.modules.services.KexAPIService, version=0.0.0}]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067
 at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.returnFromResponse(DefaultFuture.java:220)
 at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:139)
 at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:112)
 at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:95)
 at com.alibaba.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:148)
 at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:54)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:48)
 at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72)
 at com.alibaba.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:77)
 at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
 at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:78)
 ... 34 more
[WARN ] 15:55:25.279 com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:99) - [DUBBO] The timeout response finally returned at 2018-08-16 15:55:25.279, response Response [id=24, version=null, status=20, event=false, error=null, result=RpcResult [result=true, exception=null]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
[WARN ] 15:55:26.107 com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:99) - [DUBBO] The timeout response finally returned at 2018-08-16 15:55:26.107, response Response [id=25, version=null, status=20, event=false, error=null, result=RpcResult [result=true, exception=null]], channel: /172.21.20.4:41618 -> /172.21.20.4:13067, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
[WARN ] 09:38:49.899 com.alibaba.dubbo.remoting.transport.AbstractClient.(AbstractClient.java:98) - [DUBBO] Failed to start NettyClient IEO/172.21.20.4 connect to the server /172.21.20.4:13067 (check == false, ignore and retry later!), cause: client(url: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&codec=dubbo&dubbo=5.0.1-SNAPSHOT&generic=false&heartbeat=60000&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=8804®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer&timeout=30000000×tamp=1534469929531) failed to connect to server /172.21.20.4:13067, error message is:Connection refused, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
com.alibaba.dubbo.remoting.RemotingException: client(url: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&codec=dubbo&dubbo=5.0.1-SNAPSHOT&generic=false&heartbeat=60000&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=8804®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer&timeout=30000000×tamp=1534469929531) failed to connect to server /172.21.20.4:13067, error message is:Connection refused
 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.(AbstractClient.java:89)
 at com.alibaba.dubbo.remoting.transport.netty.NettyClient.(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.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.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.getByType(NutIoc.java:457)
 at org.nutz.ioc.impl.NutIoc.getByType(NutIoc.java:426)
 at org.nutz.integration.dubbo.AnnotationBean._init(AnnotationBean.java:73)
 at org.nutz.integration.dubbo.AnnotationBean$FM$_init$f539644c7c69ed75d49c3fe93ff7ea40.invoke(AnnotationBean.java)
 at org.nutz.ioc.impl.ObjectMakerImpl$2.trigger(ObjectMakerImpl.java:180)
 at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:89)
 at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
 at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
 at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
 at org.nutz.integration.dubbo.DubboManager.init(DubboManager.java:34)
 at org.nutz.integration.dubbo.DubboManager._init(DubboManager.java:27)
 at org.nutz.integration.dubbo.DubboManager$FM$_init$f539644c7c69ed75d49c3fe93ff7ea40.invoke(DubboManager.java)
 at org.nutz.ioc.impl.ObjectMakerImpl$2.trigger(ObjectMakerImpl.java:180)
 at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:89)
 at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
 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.starter.dubbo.DubboStarter.start(DubboStarter.java:17)
 at org.nutz.boot.AppContext.startServers(AppContext.java:306)
 at org.nutz.boot.NbApp.execute(NbApp.java:204)
 at org.nutz.boot.NbApp.run(NbApp.java:177)
 at cn.wizzer.app.ol.commons.core.DubboOnLoanMainLauncher.main(DubboOnLoanMainLauncher.java:45)
Caused by: java.net.ConnectException: Connection refused
 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)
[WARN ] 09:38:51.883 com.alibaba.dubbo.remoting.transport.AbstractClient$1.run(AbstractClient.java:171) - [DUBBO] client reconnect to 172.21.20.4:13067 find error . url: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&codec=dubbo&dubbo=5.0.1-SNAPSHOT&generic=false&heartbeat=60000&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=8804®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer&timeout=30000000×tamp=1534469929531, dubbo version: 5.0.1-SNAPSHOT, current host: 172.21.20.4
com.alibaba.dubbo.remoting.RemotingException: client(url: dubbo://172.21.20.4:13067/cn.wizzer.app.nozzle.modules.services.KexAPIService?anyhost=true&application=wk-nb-dubbo-ol&check=false&codec=dubbo&dubbo=5.0.1-SNAPSHOT&generic=false&heartbeat=60000&interface=cn.wizzer.app.nozzle.modules.services.KexAPIService&methods=getEntrustData,checkUserPayPass,getCoinList,getTotalByUser,getTradeList,sendMessage,updateWalletByUser,getUserInfo,getCoinMarket&pid=8804®ister.ip=172.21.20.4&remote.timestamp=1534405777342&revision=5.0.1-SNAPSHOT&side=consumer&timeout=30000000×tamp=1534469929531) failed to connect to server /172.21.20.4:13067, error message is:Connection refused
 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$1.run(AbstractClient.java:156)
 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)
Caused by: java.net.ConnectException: Connection refused
 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)
 ... 3 more
start time: 2018-08-16 15:53:30.796, end time: 2018-08-16 15:53:31.810, client elapsed: 0 ms, server elapsed: 1014 ms, timeout: 1000 ms

超时设置没生效呢

而且

java.net.ConnectException: Connection refused

是直接连不上,并非执行超时

 @Inject
    @Reference(timeout = 99999999)
    private TOlLoanrecordService loanrecordService;

    @Inject
    @Reference(timeout = 99999999)
    private TOlLoancontractService loancontractService;

    @Inject
    @Reference(timeout = 99999999,retries = 0)
    private KexAPIService apiService;

    @Inject
    @Reference(timeout = 99999999)
    private TOlLogService logService;

    @Inject
    @Reference(timeout = 99999999)
    private TOlSysUserExtendService sysUserExtendService;

超时时间都是这样设置的,为啥不生效呢?

是不是太大反而不生效了-_-

怎么能避免程序调用接口三次呢?

重试次数设置为0?

就像下面这样设置吗?(是不是超时时间没起作用,所以重置次数也没启作用呢?)

 @Inject
    @Reference(timeout = 99999999,retries = 0)
    private KexAPIService apiService;
添加回复
请先登陆
回到顶部