yswdqz commented on issue #9303: URL: https://github.com/apache/dubbo/issues/9303#issuecomment-1121909304
今天写demo遇到了这个问题,调试之后发现是因为provder端逻辑注册失败。所以在consumer端验证的时候,会发现对于该消费者没有对应的生产者,所以直接销毁掉消费者。此时再试图调用该方法时会爆出已销毁的异常。 解决方法是在dubbo:reference的配置上加入check = false的属性,此时再次测试如果爆出其他异常,比如 org.apache.dubbo.rpc.RpcException: No provider available from registry localhost:2181 for service normal/com.example.demo.TestService on consumer 192.168.24.1 use dubbo version .... 就可以对症下药,解决本质问题了。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
