linghengqian commented on issue #13234:
URL: 
https://github.com/apache/shardingsphere/issues/13234#issuecomment-950331376


   > @linghengqian Hi, Thank your feedback, Let 's me check it.
   
   Hi, I'm very sorry that I only saw your message now. I checked the 
`org.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository`
 of the ShardSphere-Proxy 5.0.0-RC1 source code and found that its correct 
configuration should be Only the id part of the ACL should be configured. But I 
changed the corresponding configuration in server.yaml to `digest: 
us234243er:shdnegzow@%=` and still reported the same. And I can access it 
normally through ZKUI.
   
![image](https://user-images.githubusercontent.com/20187731/138597680-f035bd70-611f-42ce-929a-dfcf17af12ae.png)
   
![image](https://user-images.githubusercontent.com/20187731/138597724-51fe3674-91c2-425a-879e-a933b9bf65aa.png)
   
   An embarrassing problem is that I don’t know how ShardingSphere-Proxy breaks 
the point to check whether it is running normally, friends, can you help test 
`org.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository`,
 here Is the `buildCuratorClient()` called by the `init()` function executed 
normally?
   ```shell
   [INFO ] 2021-10-24 21:56:27.922 [main-EventThread] 
org.apache.zookeeper.ClientCnxn - EventThread shut down for session: 
0x1000254719c001c
   [INFO ] 2021-10-24 21:56:27.922 [main] org.apache.zookeeper.ZooKeeper - 
Session: 0x1000254719c001c closed
   Exception in thread "main" 
org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepositoryException:
 org.apache.zookeeper.KeeperException$OperationTimeoutException: 
KeeperErrorCode = OperationTimeout
           at 
org.apache.shardingsphere.mode.repository.cluster.zookeeper.handler.CuratorZookeeperExceptionHandler.handleException(CuratorZookeeperExceptionHandler.java:51)
           at 
org.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository.initCuratorClient(CuratorZookeeperRepository.java:128)
           at 
org.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository.init(CuratorZookeeperRepository.java:82)
           at 
org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.createClusterPersistRepository(ClusterContextManagerBuilder.java:115)
           at 
org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.beforeBuildContextManager(ClusterContextManagerBuilder.java:92)
           at 
org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.build(ClusterContextManagerBuilder.java:82)
           at 
org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.initContext(BootstrapInitializer.java:77)
           at 
org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.init(BootstrapInitializer.java:68)
           at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:47)
   Caused by: org.apache.zookeeper.KeeperException$OperationTimeoutException: 
KeeperErrorCode = OperationTimeout
           at 
org.apache.shardingsphere.mode.repository.cluster.zookeeper.CuratorZookeeperRepository.initCuratorClient(CuratorZookeeperRepository.java:125)
           ... 7 more
   ```
   
   
![image](https://user-images.githubusercontent.com/20187731/138597501-b86527fd-3781-4a47-8e9e-63970f0d41b0.png)
   
![image](https://user-images.githubusercontent.com/20187731/138597508-942eff8d-0114-414a-a538-fafbc9bc60ea.png)
   


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


Reply via email to