You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/03/15 03:48:32 UTC

[GitHub] [dubbo] leimbag commented on issue #9374: 使用注册中心调用rpc的bug,Directory already destroyed

leimbag commented on issue #9374:
URL: https://github.com/apache/dubbo/issues/9374#issuecomment-1067533030


   > > 非常感谢。
   > > > 但是后续重新启动的provider再也不会被consumer发现,这个问题原因还不清楚
   > > 
   > > 
   > > 这个场景用 https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-nacos/dubbo-samples-nacos-registry 能复现吗?我尝试过没能复现
   > 
   > 我通过这个demo也没有复现; 这个问题在1、满足运行环境的情况下;2、consumer和provider分离成两个应用;3、将consumer的rpc调用作为web服务,通过url请求调用,复现概率比较大。
   > 
   > 需要注意的是,之前的回复中,”我稳定在provider完全启动 20 s后,再启动consumer”,这种情况下,nacos 8848访问界面中已经能看到provider服务,但是仍然有小概率consumer会报这个异常
   
   类似的问题,dubbo3.0.5,nacos2.0.4, consumer 执行优雅关机,consumer对外提供一个web服务,此时进来n个web请求,直接报错, org.apache.dubbo.rpc.RpcException: Directory already destroyed


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org