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

ArgoCD PROJECT UI link is 404 error when using "--rootpath" #9599

Open
3 tasks done
reefland opened this issue Jun 7, 2022 · 4 comments · Fixed by #9777
Open
3 tasks done

ArgoCD PROJECT UI link is 404 error when using "--rootpath" #9599

reefland opened this issue Jun 7, 2022 · 4 comments · Fixed by #9777
Labels
bug Something isn't working

Comments

@reefland
Copy link

reefland commented Jun 7, 2022

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

ArgoCD is deployed using --rootpath=/argocd. ArgoCD overall works fine, however PROJECT link in the UI does not seem to be respecting the rootpath.

To Reproduce

  • Select any ArgoCD application in the web UI.
  • Click the root of the application to bring up the Summary screen.
  • The link for the PROJECT such as default does not include the contents of --rootpath=/argocd
  • Click the link and you get a 404 page not found.

The Log out button is also a incorrect in that it protocol switches from HTTPS to HTTP, as I do not have an automatic redirect this results in a 404. There is no reason that ArgoCD should change protocol upon logout.

Expected behavior

The links in the UI should respect the contents of --rootpath=/argocd

Screenshots

argocd_url_issue

Version

Not deploying the ArgoCD cli, UI shows: v2.3.4+ac8b7df

Logs

Paste any relevant application logs here.


@reefland reefland added the bug Something isn't working label Jun 7, 2022
@reefland
Copy link
Author

@alexmt - I saw this was merged into master 17 days ago and there have been several releases since then. I can't tell if this has been included in a release yet, but its still broken with v2.4.6+a48bca0.

@crenshaw-dev
Copy link
Member

Thanks for the reminder @reefland! It'll be part of 2.4.7. I'm going to see if I can get a few more fixes merged and then cut a release in the next 3ish days.

@reefland
Copy link
Author

The fix for the rootpath is working well. However, the other issue from above:

The Log out button is also a incorrect in that it protocol switches from HTTPS to HTTP, as I do not have an automatic redirect this results in a 404. There is no reason that ArgoCD should change protocol upon logout.

Still not right. Click Log Out I still get a 404 page not found because it is switching from HTTPS to HTTP.

@crenshaw-dev
Copy link
Member

Re-opening to track the "log out" issue.

@crenshaw-dev crenshaw-dev reopened this Jul 25, 2022
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

Successfully merging a pull request may close this issue.

2 participants