How can I debug why my rancher login from the kube...
# general
a
How can I debug why my rancher login from the kubeconfig doesn’t work anymore? I’m not getting any error messages and the process to login just hangs. for example:
Copy code
─ kubectl get pods                                                                                                                                                     

Login to Rancher Server at <https://rancher.example.com/login?requestId=v2...7nkd&publicKey=ey...zd9&responseType=kubeconfig>

W0720 15:31:42.631443   54476 transport.go:243] Unable to cancel request for *exec.roundTripper
When I click on the link, I get taken to my dashboard. Trying to use curl on the /login endpoint results in a 404. I tried adding the CLI debug environment variable in my KUBECONFIG but no luck eg.
Copy code
users:
- name: "me"
  user:
    exec:
      apiVersion: <http://client.authentication.k8s.io/v1beta1|client.authentication.k8s.io/v1beta1>
      env:
       - name: RANCHER_CLIENT_DEBUG 
         value: 'true'
      args:
        - token
        - --server=<http://rancher.example.com|rancher.example.com>
        - --auth-provider=pingProvider
        - --user=me
      command: /opt/homebrew/bin/rancher