Creating GlideClusterClient resulting in connection timeout #4356
              
                Unanswered
              
          
                  
                    
                      sumanthns-commits
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 2 comments 4 replies
-
| Doing the same with a standalone GlideClient works. Here is the code snippet  | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            -
| @sumanthns-commits Hi, can you share how do you host it exactly? | 
Beta Was this translation helpful? Give feedback.
                  
                    3 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to create a GlideClusterClient in java to connect to a self-hosted valkey cluster on cloud. However, I am getting the below error
glide.api.models.exceptions.ClosingException: Connection error: TimeoutAlso, I can connect to the cluster node using the same address and credentials with valkey-cli, to rule out any network problem. I can successfully create a standalone GlideClient connecting to a primary node in the same cluster too.
I tried giving a higher connection timeout (upto 10s) as recommended here, but it did not help
Here the code snipper I am using
Beta Was this translation helpful? Give feedback.
All reactions