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

efk: "Kibana did not load properly" because of missing SERVER_BASEPATH #3071

Closed
broeser opened this issue Aug 14, 2018 · 5 comments
Closed
Labels
addon/efk Issues with EFK addon kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@broeser
Copy link

broeser commented Aug 14, 2018

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

Environment:
Linux 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux

Minikube version (use minikube version): v.0.28.0

  • OS (e.g. from /etc/os-release): Debian GNU/Linux 9 (stretch)
  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName): none
  • ISO version (e.g. cat ~/.minikube/machines/minikube/config.json | grep -i ISO or minikube ssh cat /etc/VERSION):

What happened: When opening the kibana dashboard via proxy, it displayed
"Kibana did not load properly. Check the server output for more information."
in a big red box

What you expected to happen:
The Kibana dashboard to load

How to reproduce it (as minimally and precisely as possible):

Anything else do we need to know:
The SERVER_BASEPATH environment variable was missing. I could fix the issue on my system by adapting the kibana-logging replication controller by adding this:
SERVER_BASEPATH: /api/v1/namespaces/kube-system/services/kibana-logging/proxy

However I believe, the plugin should work out of the box via proxy

@tstromberg tstromberg changed the title Kibana dashboard does not open when used via proxy due to missing environment variable efk addon: "Kibana did not load properly" because of missing SERVER_BASEPATH Sep 18, 2018
@tstromberg tstromberg changed the title efk addon: "Kibana did not load properly" because of missing SERVER_BASEPATH efk: "Kibana did not load properly" because of missing SERVER_BASEPATH Sep 18, 2018
@tstromberg tstromberg added addon/efk Issues with EFK addon kind/bug Categorizes issue or PR as related to a bug. labels Sep 18, 2018
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 18, 2018
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jan 17, 2019
@tstromberg tstromberg removed area/addons co/none-driver lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. labels Jan 23, 2019
@tstromberg
Copy link
Contributor

I wasn't able to replicate this, but I didn't get the proxy to work either:

http://127.0.0.1:8001/api/v1/namespaces/kube-system/services/kibana-logging/proxy/ for me renders:

Error: 'dial tcp 172.17.0.6:5601: connect: connection refused'
Trying to reach: 'http://172.17.0.6:5601/

The logs for the pod seem OK though:

{"type":"log","@timestamp":"2019-01-23T23:29:05Z","tags":["info","optimize"],"pid":1,"message":"Optimizing and caching bundles for graph, ml, kibana, stateSessionStorageRedirect, timelion and status_page. This may take a few minutes"}

It's unclear to me if this is behaving as expected, or if a problem still exists. How did you see the SERVER_BASEPATH error?

@tstromberg tstromberg added priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/needs-information Indicates an issue needs more information in order to work on it. and removed os/linux labels Jan 23, 2019
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 29, 2019
@tstromberg
Copy link
Contributor

I'm closing this issue as it hasn't seen activity in awhile, and it's unclear if this issue still exists. If this issue does continue to exist in the most recent release of minikube, please feel free to re-open it.

Thank you for opening the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addon/efk Issues with EFK addon kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

4 participants