Environment:
ArgoCD is deployed on a K8s cluster in a corporate environment, behind a standard http proxy :3128.
Username and password are passed for basic auth in the proxy variables HTTP_PROXY and HTTPS_PROXY (both use http).
NO_PROXY is adjusted accordingly.
When the proxy environment variables are set on argocd-server (to allow OIDC with external IdP like Okta via the proxy) the repos won't connect (regardless of the proxy being specified in each repo's config or set globally as environment variable for the pod repo-server):
When those proxy env variables are unset on argocd-server, the external repos connect (both if the proxy is set specifically on each repo or if it's configured as environment variable for the pod repo-server). But in that case the OIDC auth with the external provider doesn't (timeout because the argocd-server can't join the IdP)
So basically I have to choose between Okta OIDC Auth or external git/helm repositories in a deployment in this environment.
To Reproduce
Configure the proxy env variables on the argocd-server.
Expected behavior
I expect to have a way to have both connections (OIDC and external repos) working via the proxy in the same deployment
Environment: ArgoCD is deployed on a K8s cluster in a corporate environment, behind a standard http proxy :3128. Username and password are passed for basic auth in the proxy variables HTTP_PROXY and HTTPS_PROXY (both use http). NO_PROXY is adjusted accordingly.
Checklist:
argocd version
.Describe the bug
So basically I have to choose between Okta OIDC Auth or external git/helm repositories in a deployment in this environment.
To Reproduce
Configure the proxy env variables on the argocd-server.
Expected behavior
I expect to have a way to have both connections (OIDC and external repos) working via the proxy in the same deployment
Screenshots
Version
Logs
time="2023-06-30T07:09:30Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=GetUserInfo grpc.service=session.SessionService grpc.start_time="2023-06-30T07:09:30Z" grpc.time_ms=3.631 span.kind=server system=grpc time="2023-06-30T07:09:30Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=List grpc.service=project.ProjectService grpc.start_time="2023-06-30T07:09:30Z" grpc.time_ms=8.975 span.kind=server system=grpc time="2023-06-30T07:09:36Z" level=warning msg="finished unary call with code Unavailable" error="rpc error: code = Unavailable desc = connection error: desc = \"error reading server preface: http2: frame too large\"" grpc.code=Unavailable grpc.method=Create grpc.service=repository.RepositoryService grpc.start_time="2023-06-30T07:09:36Z" grpc.time_ms=69.633 span.kind=server system=grpc time="2023-06-30T07:09:37Z" level=warning msg="finished unary call with code Unavailable" error="rpc error: code = Unavailable desc = connection error: desc = \"error reading server preface: http2: frame too large\"" grpc.code=Unavailable grpc.method=Create grpc.service=repository.RepositoryService grpc.start_time="2023-06-30T07:09:37Z" grpc.time_ms=63.492 span.kind=server system=grpc time="2023-06-30T07:09:37Z" level=warning msg="finished unary call with code Unavailable" error="rpc error: code = Unavailable desc = connection error: desc = \"error reading server preface: http2: frame too large\"" grpc.code=Unavailable grpc.method=Create grpc.service=repository.RepositoryService grpc.start_time="2023-06-30T07:09:37Z" grpc.time_ms=59.394 span.kind=server system=grpc time="2023-06-30T07:09:37Z" level=warning msg="finished unary call with code Unavailable" error="rpc error: code = Unavailable desc = connection error: desc = \"error reading server preface: http2: frame too large\"" grpc.code=Unavailable grpc.method=Create grpc.service=repository.RepositoryService grpc.start_time="2023-06-30T07:09:36Z" grpc.time_ms=530.524 span.kind=server system=grpc time="2023-06-30T07:11:16Z" level=warning msg="finished unary call with code Unavailable" error="rpc error: code = Unavailable desc = connection error: desc = \"error reading server preface: http2: frame too large\"" grpc.code=Unavailable grpc.method=Create grpc.service=repository.RepositoryService grpc.start_time="2023-06-30T07:11:15Z" grpc.time_ms=59.621 span.kind=server system=grpc
Related issues for reference
https://github.com/argoproj/argo-cd/issues/2954 https://github.com/argoproj/argo-cd/issues/9478 https://github.com/argoproj/argo-cd/issues/4333 https://github.com/argoproj/argo-cd/issues/2243