argoproj / argo-cd

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

Web UI constantly refreshes when viewing resource In Application in external cluster #17902

Open sthomson-wyn opened 7 months ago

sthomson-wyn commented 7 months ago

Checklist:

Describe the bug

When an Application is in an external cluster, clicking on a resource (Deployment, Service, etc.) results in the page constantly refreshing

The request for the resource returns a 401

https://{ARGOCD_URL}/api/v1/applications/{APP_NAME}/resource?name={APP_NAME}&appNamespace={APP_NAMESPACE}&namespace={NAMESPACE}&resourceName={SVC_NAME}&version=v1&kind=Service&group=

The request for links also returns a 401

https://{ARGOCD_URL}/api/v1/applications/{APP_NAME}/resource/links?name={APP_NAME}&appNamespace={APP_NAMESPACE}&namespace={NAMESPACE}&resourceName={SVC_NAME}&version=v1&kind=Service&group=

To Reproduce

Expected behavior

The resource is displayed

Screenshots Caught this just before a refresh image

Version

argocd: v2.9.3+6eba5be.dirty
  BuildDate: 2023-12-02T00:36:55Z
  GitCommit: 6eba5be864b7e031871ed7698f5233336dfe75c7
  GitTreeState: dirty
  GoVersion: go1.21.4
  Compiler: gc
  Platform: linux/amd64
argocd-server: v2.10.2+fcf5d8c

Logs

Paste any relevant application logs here.
andrii-korotkov-verkada commented 2 weeks ago

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

sthomson-wyn commented 2 weeks ago

I can confirm it is still present on 2.11, we will upgrade to 2.13 and check