Skip to content
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

When logging in with Google auth, pages hang on 'Loading' - Logs show "Failed to verify token: failed to verify token: Failed to query provider .../api/dex/.well-known/openid-configuration\": dial tcp 10.x.x.x:443: i/o timeout" #17378

Open
3 tasks done
HariSekhon opened this issue Mar 2, 2024 · 2 comments
Labels
bug Something isn't working component:auth component:server version:EOL Latest confirmed affected version has reached EOL

Comments

@HariSekhon
Copy link
Contributor

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

After enabling Google auth and logging in with a Google user the argocd-server pod gets timeouts referring to the internal GKE load balancer.

This doesn't happen when I log in with the local admin user.

A restart of the argocd-server pod fixes this.

Seems like buggy state behaviour, similar to #13526.

To Reproduce

Enable Google auth following these exact steps:

https://argo-cd.readthedocs.io/en/stable/operator-manual/user-management/google/#openid-connect-using-dex

Expected behavior

Expected the applications and other pages to load normally like with the admin user, which they do only after an argocd-server pod restart.

Screenshots

Screenshot 2024-03-02 at 00 00 32

Version

argocd: v2.9.5+f943664.dirty
  BuildDate: 2024-01-19T22:59:02Z
  GitCommit: f9436641a616d277ab1f98694e5ce4c986d4ea05
  GitTreeState: dirty
  GoVersion: go1.21.6
  Compiler: gc
  Platform: darwin/arm64
argocd-server: v2.9.6+ba62a0a

Logs

level=warning msg="Failed to verify token: failed to verify token: Failed to query provider
\"https://argocd-production.domain.co.uk/api/dex\": Get \"https://argocd-production.domain.co.uk/api/dex/.well-known/openid-configuration\": dial tcp 10.x.x.x:443: i/o timeout"
@HariSekhon HariSekhon added the bug Something isn't working label Mar 2, 2024
@HariSekhon HariSekhon changed the title Enabling Google auth Failed to verify token Enabling Google auth - page hangs loading apps - Failed to verify token: failed to verify token: Failed to query provider .../api/dex/.well-known/openid-configuration\": dial tcp 10.x.x.x:443: i/o timeout Mar 2, 2024
@HariSekhon HariSekhon changed the title Enabling Google auth - page hangs loading apps - Failed to verify token: failed to verify token: Failed to query provider .../api/dex/.well-known/openid-configuration\": dial tcp 10.x.x.x:443: i/o timeout When logging in with Google auth, pages hang on 'Loading' - Logs show "Failed to verify token: failed to verify token: Failed to query provider .../api/dex/.well-known/openid-configuration\": dial tcp 10.x.x.x:443: i/o timeout" Mar 2, 2024
@HariSekhon
Copy link
Contributor Author

Might be related to #11392

@andrii-korotkov-verkada
Copy link
Contributor

ArgoCD versions 2.10 and below have reached EOL. Can you upgrade and let us know if the issue is still present, please?

@andrii-korotkov-verkada andrii-korotkov-verkada added the version:EOL Latest confirmed affected version has reached EOL label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:auth component:server version:EOL Latest confirmed affected version has reached EOL
Projects
None yet
Development

No branches or pull requests

3 participants