Closed kworkbee closed 3 months ago
When server.baseHref: /
When server.baseHref: /argo/
Error message shows below:
Uncaught SyntaxError: Unexpected token '<' (at main.c2c2b195db7f7541a0ad.js:1:1)
Hello @agilgur5, Can you PTAL?
When
server.baseHref: /argo/
If you're setting a BASE_HREF
, you need to access it through that base. Your URL is missing /argo/
in it.
It's also not clear if you have a proxy in front, and setting BASE_HREF
without a proxy is a misconfiguration.
Please see https://github.com/argoproj/argo-workflows/issues/11401#issuecomment-1685833712 which refers to the Base HREF docs for more details.
Duplicate of #12217, #11401, #10194, #3080, and more.
Use Helm Chart Default Values and change only
server.baseHref
This repo also has no Helm Charts in it. In terms of this repo, you should use the output of that value, which is an env var, BASE_HREF
Hello @agilgur5, Can you PTAL?
I'm also not sure why you tagged me specifically. I don't recall interacting with you previously and this looks like your first ever comment in this repo. To be clear, I am a volunteer and am not paid to provide support.
If you had looked at previous issues and saw me there, then it should be clear that this is a misconfiguration and not a bug, as I have said there and as other users resolved their own configurations without any source code changes to Argo.
Pre-requisites
:latest
image tag (i.e.quay.io/argoproj/workflow-controller:latest
) and can confirm the issue still exists on:latest
. If not, I have explained why, in detail, in my description below.What happened? What did you expect to happen?
UI Asset does not load if
server.baseHref
is not rootVersion(s)
v3.4.11,v3.5.9
Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container