-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
argo auth token
fails with http: nil Request.URL
error
#7175
Comments
Can you please share redacted KUBECONFIG? |
argo auth token
fails with http: nil Request.URL
error
|
The panic is a red herring. This is caused be enabled debugging! |
I don't think this can be caused by the linked issue, as that was released in v3.1.2. I think this is something else, but similar. |
Signed-off-by: Alex Collins <alex_collins@intuit.com>
@dchancogne I've not been able to reproduce this issue, but I've create a fix for what I believe is the problem. If I give you a new |
@alexec Sure, happy to give it a try. |
Better, no error, but still no-go:
I.e. No token (empty string) returned. |
Please can you test again with more diagnostics: https://github.com/argoproj/argo-workflows/releases/tag/v0.0.0-dev-kc-1 |
Here we go. Let me know if it's the output you were expecting or if I need to pass some additional argument:
|
With verbose on:
|
Ah. Maybe I should format the output rather than print out the pointer. |
Please try |
@alexec Do you have a darwin-amd64 compiled version? |
Should be attached to release. |
Thanks @alexec. I tried v2 and v3:
|
Please try with patch 5, just pushed so will take 20m to build. |
@alexec Here we go:
|
Please try with patch 6? |
@alexec Getting closer
|
FWIW I'm also seeing this in both 3.2.3 and 3.2.4, and I'm running EKS as well. I also confirmed |
I'm pretty sure this is caused by Kubernetes library upgrade. |
Please try patch 7. |
@alexec Success!!
|
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Enables the Argo-workflow server UI in the cluster. This will allow users to view and potentially troubleshoot workflows. Note that this work is about making the UI work but not make the Single Sign-On (SSO) login feature works, which is detailed in another [card](https://trello.com/c/hF9uauRU/587-google-sso-for-argo) The URL for the service is: https://argo-workflow.eks.<environment>.govuk.digital/ To get the authentication token: 1. install the `argo` cli using brew: `brew install argo` Must be version 3.2.5 or greater due to [bug](argoproj/argo-workflows#7175) 2. get token: `gds aws govuk-<environment>-admin -- argo auth token` 3. copy whole token, starting with `Bearer ` and paste it in website. Ref: 1. [trello card](https://trello.com/c/GHtiRMqe/781-argo-workflows-ui)
Summary
What happened/what you expected to happen?
Using version 3.1.5 I was able to run
argo auth token
and get an authentication token.After upgrading to 3.2.3 I get an error when running that command
What version is it broken in?
3.2.3
What version was it working in?
3.1.5
Diagnostics
My kube config is otherwise valid and I can do all other
kubectl
operation on the clusterWith debug, I get:
This issue might be related but different? #6344
What Kubernetes provider are you using?
EKS
What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary
N/A
Message from the maintainers:
Impacted by this regression? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered: