when using simpleregistry, provider throwed a exception#1497
Closed
0oo wants to merge 1 commit intoapache:2.5.xfrom
Closed
when using simpleregistry, provider throwed a exception#14970oo wants to merge 1 commit intoapache:2.5.xfrom
0oo wants to merge 1 commit intoapache:2.5.xfrom
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.
|
Author
jiasuper
approved these changes
Mar 23, 2018
Contributor
|
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. |
Author
|
I didn't notice that. it's done now. |
Contributor
|
The issue is fixed on #1289 . The merge request can be closed. |
Author
|
#1289 cause the problem, not fixed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)