-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue to connect to elasticache #33
Comments
Hi @yiwong2001, I'm actively using this with AWS ElastiCache v5 and haven't got the same issue as you. Could you try logging |
I tried with configuration endpoint for my cluster (TLS enabled). An error below: Here is my code:
Here are logs from AWS CloudWatch:
However, if I create redis with node's endpoint directly. It's ok.
But this does not suite for my case. I need to create it from configuration endpoint. |
@simontabor Could you give me an example of your codes, please? |
@wip0 @simontabor refer these : gosquared/stash#7 and #37 |
Hi @wip0 @aravindgopall, you should be able to avoid this issue when connecting to an ElastiCache replication group by waiting for the |
If the |
Has this issue fixed ? |
I am facing the same Issue. I can see the nodes IP in the logs , but when i get a keys then it says:
|
I got this issue as well when upgrading nodejs from v8 to v16. Any idea? |
I got this and fixed it by doing a short setTimeout to delay before trying to do anything with the cluster. |
Hi,
I am running clustr against an AWS ElastiCache cluster (5.0 version). I have one master node and two slaves. Iam using the cluster configuration endpoint to connect to the cluster.
It is fine to run write task, but when it run read methods like llen, get, then it hangs there.
client.llen(vkey, function (err, sum) { // it is stopped at this stage
console.log("sum..."+sum);
client.set(key, JSON.stringify(i), 'EX', 60); // it can be run if it is not inside of llen method.
});
I also tried elasticache with cluster enabled to have 3 shards and 3 replica for each. It got same issue to run read method.
Same code works when it is not cluster.
Can you guide me please?
The text was updated successfully, but these errors were encountered: