gavinWithGu commented on issue #8399:
URL: https://github.com/apache/dubbo/issues/8399#issuecomment-891634583


   > **Dubbo client :**
   > 
   > ```
   >  public static GenericService getDubboService(String address, String 
protocol, String service, String version) {
   >            ReferenceConfig<GenericService> config = getReference(address, 
protocol, service, version);
   >         return ReferenceConfigCache.getCache().get(config);
   >     }
   > ```
   > 
   > **Based on debug result:**
   > **ReferenceConfigCache.getCache().get(config )** will call construction 
method of **CuratorZookeeperClient** as bellow
   > `boolean connected = client.blockUntilConnected(timeout, 
TimeUnit.MILLISECONDS); `
   > **connected** will always return false and then **Zookeeper is no 
connected** Exception will be throw
   
   **additional remarks**
   Normal dubbo client rpc request goes ok , the problem only occur when I use 
GenericService invoke. And when downgrade to 2.7.3, the problem disappear. 
   


-- 
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]

Reply via email to