-
Notifications
You must be signed in to change notification settings - Fork 26.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when using simpleregistry, provider throwed a exception #1497
Conversation
…meters中的bind.port传给客户端,导致异常
Codecov Report
@@ Coverage Diff @@
## 2.5.x #1497 +/- ##
==========================================
- Coverage 28.34% 28.34% -0.01%
==========================================
Files 791 791
Lines 41735 41735
Branches 8529 8529
==========================================
- Hits 11830 11829 -1
- Misses 27829 27831 +2
+ Partials 2076 2075 -1
Continue to review full report at Codecov.
|
Hi, welcome! Would you please update the title and description using English? Dubbo is a global community and we would like the PR to be reviewed by people all over the world. |
I didn't notice that. it's done now. |
The issue is fixed on #1289 . The merge request can be closed. |
#1289 cause the problem, not fixed |
reason: when the provider receive the extra info(as the property "bind.port" of the URL object) , which sent by the "notify" method of simpleregistry , triggered the exception
here's the exception information ,
[21/03/18 06:07:16:016 CST] New I/O client worker #1-1 INFO dubbo.CallbackServiceCodec: [DUBBO] Not found exported service: com.alibaba.dubbo.registry.NotifyListener.617013740:61709 in [com.alibaba.dubbo.registry.NotifyListener.1141296884:61709, com.alibaba.dubbo.registry.NotifyListener.617013740:9090, com.alibaba.dubbo.demo.DemoService:20880], may be version or group mismatch , channel: consumer: /192.168.84.31:9090 --> provider: /192.168.84.31:61709, message:RpcInvocation [methodName=notify, parameterTypes=[interface java.util.List], arguments=null, attachments={dubbo=2.0.1, input=721, _isCallBackServiceInvoke=true, sys_callback_arg-1=617013740, path=com.alibaba.dubbo.registry.NotifyListener, callback.service.instid=617013740, interface=com.alibaba.dubbo.registry.RegistryService, version=null}], dubbo version: 2.0.1, current host: 192.168.84.31
com.alibaba.dubbo.remoting.RemotingException: Not found exported service: com.alibaba.dubbo.registry.NotifyListener.617013740:61709 in [com.alibaba.dubbo.registry.NotifyListener.1141296884:61709, com.alibaba.dubbo.registry.NotifyListener.617013740:9090, com.alibaba.dubbo.demo.DemoService:20880], may be version or group mismatch , channel: consumer: /192.168.84.31:9090 --> provider: /192.168.84.31:61709, message:RpcInvocation [methodName=notify, parameterTypes=[interface java.util.List], arguments=null, attachments={dubbo=2.0.1, input=721, _isCallBackServiceInvoke=true, sys_callback_arg-1=617013740, path=com.alibaba.dubbo.registry.NotifyListener, callback.service.instid=617013740, interface=com.alibaba.dubbo.registry.RegistryService, version=null}]
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:202)
at com.alibaba.dubbo.rpc.protocol.dubbo.CallbackServiceCodec.decodeInvocationArgument(CallbackServiceCodec.java:270)
at com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:127)
at com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:68)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboCodec.decodeBody(DubboCodec.java:128)
at com.alibaba.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:120)
at com.alibaba.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:81)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboCountCodec.decode(DubboCountCodec.java:44)
at com.alibaba.dubbo.remoting.transport.netty.NettyCodecAdapter$InternalDecoder.messageReceived(NettyCodecAdapter.java:133)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:349)
at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:280)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:200)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:44)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)