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

If configs.params.server.rootpath is used, the path is duplicated after local Login #3139

Open
simonprewo opened this issue Jan 24, 2025 · 6 comments
Labels
argo-cd bug Something isn't working

Comments

@simonprewo
Copy link

simonprewo commented Jan 24, 2025

Describe the bug

Let say you want to run Argo under myhostname.com/argocd.
/argocd is than configured in parameter configs.params.server.rootpath: /argocd . However, local login is distroyed afterwards because argocd in the URL is duplicated.

The full configuration looks like that:

configs:
  cm:
    url: myhostname.com/argocd
  params:
    server.rootpath: "/argocd"
server:
  ingress:
    enabled: true

Related helm chart

argo-cd

Helm chart version

7.7.16

To Reproduce

  1. Open myhostname.com/argocd
  2. My URL is changed/forwarded to myhostname.com/argocd/login?return_url=https%3A%2F%2Fmyhostname.com%2Fargocd%2Fapplications
  3. I login locally using my admin account
  4. After succsessful Login, I got redirected to myhostname.com/argocd/argocd/applications
  5. If I remove one argocd everythings works fine myhostname.com/argocd/applications

Expected behavior

After Login page myhostname.com/argocd/applications is opened. (No duplicate argocd)

Screenshots

No response

Additional context

No response

@simonprewo simonprewo added the bug Something isn't working label Jan 24, 2025
@Nova-Logic
Copy link

faced same issue

@eric-young
Copy link

Me as well

@gustavo-sdo
Copy link

gustavo-sdo commented Mar 21, 2025

I am also experiencing the same issue.
Since version 7.7.0 of the Helm Chart, this problem has occurred.
I am currently using version 7.6.12, and this bug does not occur after authentication in that version.

This is preventing me from updating to the latest version of the project.

[Edited]
Apparently, this is a bug in Argo CD itself, reported in issue 20790.

@xheladinish
Copy link

Same issue here. Any ETA. This is happening for me while trying to set up Ingress using the ALB Load balancer on a specific path.

@ashmulik
Copy link

I am facing the same exact issue. Any idea when there will be a fix for that?

@unmerkbar
Copy link

Same for me. Looking forward to see a fix.

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

No branches or pull requests

8 participants