headlamp: macOS app cannot connect to http://localhost:4466/config

Description

MacOS app does not get beyond “Wait while fetching clusters…” state. Cannot connect to http://localhost:4466/config.

Impact

App seems completely dysfunctional.

Environment and steps to reproduce

  1. Set-up: macOS Big Sur v11.0.1 (20B29), Headlamp Version 0.1.0 (0.1.0)
  2. Task: Launched the App
  3. Action(s):
  4. Error: See below

Expected behavior

Expected to see some clusters, kubectl context or similar.

Additional information

Screenshots

image

image

image

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 20 (12 by maintainers)

Most upvoted comments

I identified another reason that caused headlamp to exit. In my kubeconfig I had cluster entries with relative path in certificate-authority. The path was relative from my ~/.kube directory. For kubectl that seems to work, but the headlamp backend exits with this error:

*** Headlamp Server ***
  API Routers:
2021/01/19 17:15:57 Failed to add certificate:open certs/gs-gollum/k8s-ca.crt: no such file or directory

After I change this to an absolute path, the backend seems to come up.

We will be releasing a new version hopefully today that fixes a bug in the server start up. Hopefully this will fix your issues, but if not, I will ask you to please provide more information afterwards. Stay tuned!