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

Unable to load data: Request has been terminated Possible causes: the network is offline Origin is not allowed by Access-Control-Allow-Origin the page is being unloaded, etc. #18170

Open
csyyy106 opened this issue May 11, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@csyyy106
Copy link

I deployed argocd in the k8s cluster, but I kept having this problem. I use: https://github.com/argoproj/argo-cd/blob/master/manifests/namespace-install.yaml deployed argocd

image
image
image

Does anyone know why? Install several times, this situation has occurred, feel the network connection is very unstable

@csyyy106 csyyy106 added the bug Something isn't working label May 11, 2024
@csyyy106
Copy link
Author

csyyy106 commented May 11, 2024

help ME

@rouke-broersma
Copy link
Contributor

Usually happens when the UI can't reach the backend api, like when argocd-server is restarting or if your port-forward bugs out or something like that.

@UriZafrir
Copy link

Hi, I think I have the same issue.
redirect goes from settings to version many times and finally fails
image

@csyyy106
Copy link
Author

Hi, I think I have the same issue. redirect goes from settings to version many times and finally fails image

Have you found a solution yet?

@UriZafrir
Copy link

UriZafrir commented May 17, 2024

Actually yes.
You need to add an annotation to the ingress-nginx:
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"

Its actually documented here
https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/
Look for "redirect loop"
This is the thread i found that talks about it
#2953 (comment)

@powellchristoph
Copy link

Actually yes. You need to add an annotation to the ingress-nginx: nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"

Its actually documented here https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/ Look for "redirect loop" This is the thread i found that talks about it #2953 (comment)

For the record, I have the following Nginx annotations and I still get the error.

      nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
      nginx.ingress.kubernetes.io/ssl-passthrough: "true"
      nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
      nginx.ingress.kubernetes.io/cors-expose-headers: "*, X-CustomResponseHeader"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants