-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Login attempt fails sometimes after 1.5.3 upgrade #3547
Comments
Hi @eroji, can you share a little more details about your environment please? This error suggest that the Redis cache is not available (although seems to be intermittent according to your error description). Interesting to know would be:
|
My apologies. I'm using the HA install. Only modification I added was |
I've encountered the same issue during upgrade. The solution was to "restart" both Redis statefulset and redis HA proxy. @eroji , can you give it a try please? I've seen the same issue with 1.5.1. |
Trying it now. |
It seems to be working? I'll check throughout the day to see if I hit this error again and report back. |
We should look for/file upstream bug in Redis HA helm chart. Looks like it is not happening often. In my case, it happened for 1 out of ~40 argocd instances. |
Looks like it's still happening. I see that 1.5.4 has been released. I will try upgrading to that to see if it helps.
|
Hello @eroji , 1.5.4 does not include redis related changes. I don't think it will help. As a quick workaround you might disable concurrent login limit feature: set env Going to enable retries in redis client and test it on local deployments. |
@alexmt not sure why but it seems like upgrading to 1.5.4 resolved the issue. I didn't have to add the env var at all... |
Created ticket in redis-ha chart repository: DandyDeveloper/charts#26 |
PR that introduces redis retries during login flow is merged: #3575 |
Adding big WARNING to 1.4 -> 1.5 upgrade instructions about possible redis issue as well: #3584. Probably this is as much as we can do:
Once all three are done I think ticket can be closed. Does it look reasonable to you @jannfis , @jessesuen ? |
v1.5.5 with the redis retries had been released. Please give it try. Closing ticket until we hear again about redis issues. |
still have this issue in 1.5.5, like @eroji only modification I have is |
Same issue with v1.5.5, works only when setting the env variable to argocd-server: In logs I'm getting this after many time outs, thought this might help
|
Does this affect users signing in via an IDP such as Okta? |
adding this to my argocd-server deployment resolved the issue
|
Often, when log entries like these
can be observed, there is a problem with either in-cluster DNS resolution or otherwise interconnectivity issues within the cluster or the redis pod is not running at all. |
I get this issue only when creating cluster on bare-metal azure vm. Works perfectly fine with cluster on ec2 instance. |
where exactly to add these values? can u show me the screenshot for this? |
Add this in argocd-server Deployment in the install.yaml. You can try adding it at https://github.com/argoproj/argo-cd/blob/master/manifests/install.yaml#L2646 |
I got this:
|
Now worked. Thanks a lot :) |
Made the change in - #4049 |
After upgrading to 1.5.3 I'm getting these errors on the first attempt to authenticate via
/api/v1/session
route after some idle period. It would eventually work if I retry a second or few more times. I did not configure any of the rate limiting and the credentials used to hit the route is the admin user. Not quite sure why this is happening.The text was updated successfully, but these errors were encountered: