Skip to content

ArgoCD application fails with ComparisonError when syncing EKS cluster behind proxy and DNS #24244

@dhqanh-rcc

Description

@dhqanh-rcc

Bug Report

Title: ArgoCD application fails with ComparisonError when syncing EKS cluster

Environment

  • ArgoCD version: v8.2.7
  • Kubernetes version (management cluster): 1.31.0
  • Target cluster: EKS

Description

ArgoCD fails to load live state of the target EKS cluster. When trying to sync or view application state, the following error is displayed:

Failed to load live state: failed to get cluster info for
"https://<eks-endpoint>"
:
error synchronizing cache state : failed to get server version: failed to get server version:
Get "https://<eks-endpoint>/version?timeout=32s
":
dial tcp <eks-ip>:443: i/o timeout
## Custom Helm values
repoServer:
  env:
    - name: HTTP_PROXY
      value: "http://<proxy-host>:<proxy-port>"
    - name: HTTPS_PROXY
      value: "http://<proxy-host>:<proxy-port>"
    - name: NO_PROXY
      value: "127.0.0.1,localhost,.svc,.cluster.local,*.cluster.local,*.svc,argocd-repo-server,argocd-server,argocd-redis,argocd-dex-server"

applicationSetController:
  env:
    - name: HTTP_PROXY
      value: "http://<proxy-host>:<proxy-port>"
    - name: HTTPS_PROXY
      value: "http://<proxy-host>:<proxy-port>"
    - name: NO_PROXY
      value: "127.0.0.1,localhost,.svc,.cluster.local,*.cluster.local,*.svc,argocd-repo-server,argocd-server,argocd-redis,argocd-dex-server"

applicationController:
  env:
    - name: HTTP_PROXY
      value: "http://<proxy-host>:<proxy-port>"
    - name: HTTPS_PROXY
      value: "http://<proxy-host>:<proxy-port>"
    - name: NO_PROXY
      value: "127.0.0.1,localhost,.svc,.cluster.local,*.cluster.local,*.svc,argocd-repo-server,argocd-server,argocd-redis,argocd-dex-server" ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions