argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
17.92k stars 5.46k forks source link

ARGOCD 2.7.4 LOGN via SSO Getting Unauthenticated desc = no session information, grpc.code: Unauthenticated, grpc.method in ¡ #16242

Open ferchdav opened 1 year ago

ferchdav commented 1 year ago

Hello,

I believe this is a known issue and I wanted to know if it is fixed in some argo cd version.

I am using ARGOCD 2.7.4 with LOGN via SSO and intermittently getting this error in google chrome browser:

_failed to get token: oauth2: cannot fetch token: 401 Unauthorized Response: {"error_description":"Invalid client or client credentials.","error":"invalid_client"}_

and the following error in argocd-server logs:

_error: rpc error: code = Unauthenticated desc = no session information, grpc.code: Unauthenticated, grpc.method: List, grpc.service: cluster.ClusterService, grpc.start_time: 2023-11-05T23:10:05Z, grpc.time_ms: 5.089, level: info, msg: finished unary call with code Unauthenticated, span.kind: server…_

My setup is as follows:

1) images: argocd : 2.7.4 redis : 7-alpine haproxy: 2.6-alpine dexidp: 2.37.0

2) extensions argo_rollouts_plugin_source = "https://github.com/argoproj-labs/rollout-extension/releases/download/v0.1.0/extension.tar

3) helm https://argoproj.github.io/argo-helm argocd = { chart = "argo-cd" version = "5.36.1" } apps = { chart = "argocd-apps" version = "1.2.0" }

4) oidc.config: | name: sso issuer: ${argocd.config.sso.issuer} clientID: ${argocd.config.sso.client_id} clientSecret: $oidc.config.clientSecret requestedIDTokenClaims: groups: essential: true requestedScopes:

andrii-korotkov-verkada commented 3 days ago

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