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


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


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