dangdangdotcom / dubbox

Dubbox now means Dubbo eXtensions, and it adds features like RESTful remoting, Kyro/FST serialization, etc to the Dubbo service framework.
http://dangdangdotcom.github.io/dubbox
Apache License 2.0
4.89k stars 2.06k forks source link

客户端无法连接到服务端,直连是可以的,注册到zk注册中心就不行 #341

Open freegaga opened 7 years ago

freegaga commented 7 years ago

[INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol] [DUBBO] disconected from /10.133.7.204:33016,url:dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.remoting.transport.netty.NettyClient] [DUBBO] Close old netty channel [id: 0xe6300835, /10.133.7.204:60413 :> /10.133.7.204:33016] on create new netty channel [id: 0x5b3657cd, /10.133.7.204:62416 => /10.133.7.204:33016], dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol] [DUBBO] disconected from /10.133.7.204:33016,url:dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol] [DUBBO] disconected from /10.133.7.204:33016,url:dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol] [DUBBO] disconected from /10.133.7.204:33016,url:dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol] [DUBBO] disconected from /10.133.7.204:33016,url:dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol] [DUBBO] disconected from /10.133.7.204:33016,url:dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol] [DUBBO] disconected from /10.133.7.204:33016,url:dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol] [DUBBO] disconected from /10.133.7.204:33016,url:dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol] [DUBBO] disconected from /10.133.7.204:33016,url:dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol] [DUBBO] disconected from /10.133.7.204:33016,url:dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol] [DUBBO] disconected from /10.133.7.204:33016,url:dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol] [DUBBO] disconected from /10.133.7.204:33016,url:dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.remoting.transport.netty.NettyClient] [DUBBO] Close old netty channel [id: 0xbf6d43fc, /10.133.7.204:60395 :> /10.133.7.204:33016] on create new netty channel [id: 0xba95d583, /10.133.7.204:62398 => /10.133.7.204:33016], dubbo version: 2.8.4, current host: 10.133.7.204 [WARN] [2017-07-08 16:41:59][com.alibaba.dubbo.remoting.transport.AbstractClient] [DUBBO] client reconnect to 10.133.7.204:33016 find error . url: dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 com.alibaba.dubbo.remoting.RemotingException: Failed connect to server /10.133.7.204:33016 from NettyClient 10.133.7.204 using dubbo version 2.8.4, cause: Connect wait timeout: 5000ms. at com.alibaba.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:282) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [WARN] [2017-07-08 16:41:59][com.alibaba.dubbo.remoting.transport.AbstractClient] [DUBBO] client reconnect to 10.133.7.204:33016 find error . url: dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 com.alibaba.dubbo.remoting.RemotingException: Failed connect to server /10.133.7.204:33016 from NettyClient 10.133.7.204 using dubbo version 2.8.4, cause: Connect wait timeout: 5000ms. at com.alibaba.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:282) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.remoting.transport.netty.NettyClient] [DUBBO] Close old netty channel [id: 0xd3a1a1a0, /10.133.7.204:60415 :> /10.133.7.204:33016] on create new netty channel [id: 0xc180a46f, /10.133.7.204:62418 => /10.133.7.204:33016], dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.remoting.transport.AbstractClient] [DUBBO] Successed connect to server /10.133.7.204:33016 from NettyClient 10.133.7.204 using dubbo version 2.8.4, channel is NettyChannel [channel=[id: 0xc180a46f, /10.133.7.204:62418 => /10.133.7.204:33016]], dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.remoting.transport.netty.NettyClient] [DUBBO] Close old netty channel [id: 0x6774b45a, /10.133.7.204:60414 :> /10.133.7.204:33016] on create new netty channel [id: 0xf4616bb4, /10.133.7.204:62417 => /10.133.7.204:33016], dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.remoting.transport.AbstractClient] [DUBBO] Successed connect to server /10.133.7.204:33016 from NettyClient 10.133.7.204 using dubbo version 2.8.4, channel is NettyChannel [channel=[id: 0xf4616bb4, /10.133.7.204:62417 => /10.133.7.204:33016]], dubbo version: 2.8.4, current host: 10.133.7.204 [INFO] [2017-07-08 16:41:59][com.alibaba.dubbo.remoting.transport.netty.NettyClient] [DUBBO] Close old netty channel [id: 0xdfd7ecb5, /10.133.7.204:60416 :> /10.133.7.204:33016] on create new netty channel [id: 0x56c45ef6, /10.133.7.204:62419 => /10.133.7.204:33016], dubbo version: 2.8.4, current host: 10.133.7.204 [WARN] [2017-07-08 16:41:59][com.alibaba.dubbo.remoting.transport.AbstractClient] [DUBBO] client reconnect to 10.133.7.204:33016 find error . url: dubbo://10.133.7.204:33016/com.ycg.rosefinch.srm.op.service.ITestService?accepts=2000&anyhost=true&application=srm-scan-provider&check=false&codec=dubbo&connections=2000&dubbo=2.8.4&generic=false&heartbeat=60000&interface=com.ycg.rosefinch.srm.op.service.ITestService&methods=modelToEntity,helleWord1,convertT1ToT2,entityToModel,helleWord&pid=112572&serialization=kryo&side=consumer&timeout=5000&timestamp=1499503310343, dubbo version: 2.8.4, current host: 10.133.7.204 com.alibaba.dubbo.remoting.RemotingException: Failed connect to server /10.133.7.204:33016 from NettyClient 10.133.7.204 using dubbo version 2.8.4, cause: Connect wait timeout: 5000ms. at com.alibaba.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:282) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)