# Kibana UI stuck in loading in kubernetes and ingress setup

**URL:** <https://discuss.elastic.co/t/kibana-ui-stuck-in-loading-in-kubernetes-and-ingress-setup/90326>\
**Category:** Kibana\
**Created:** [June 21, 2017, 3:43pm UTC](https://discuss.elastic.co/t/kibana-ui-stuck-in-loading-in-kubernetes-and-ingress-setup/90326 "2017-06-21T15:43:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenww](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chenww/32/47911_2.png) [@chenww](https://discuss.elastic.co/u/chenww)\
**Post date:** [June 21, 2017, 3:43pm UTC](https://discuss.elastic.co/t/kibana-ui-stuck-in-loading-in-kubernetes-and-ingress-setup/90326/1 "2017-06-21T15:43:22Z")

</div>

**versions:**

```
Kibana: 4.6.1
ES: 2.4.1
kubernetes: 1.6.4

```

$ kubectl cluster-info  
Kubernetes master is running at [http://localhost:8080](http://localhost:8080)  
Elasticsearch is running at [http://localhost:8080/api/v1/proxy/namespaces/kube-system/services/elasticsearch-logging](http://localhost:8080/api/v1/proxy/namespaces/kube-system/services/elasticsearch-logging)  
Kibana is running at  
[http://localhost:8080/api/v1/proxy/namespaces/kube-system/services/kibana-logging](http://localhost:8080/api/v1/proxy/namespaces/kube-system/services/kibana-logging)  
kubedns is running at [http://localhost:8080/api/v1/proxy/namespaces/kube-system/services/kubedns](http://localhost:8080/api/v1/proxy/namespaces/kube-system/services/kubedns)

When I access UI [http://kibana.mycompany.local/app/kibana](http://kibana.mycompany.local/app/kibana), kibana backend sends out the following logs and UI is at "Kibana is loading" state forever:

{"type":"response","@timestamp":"2017-06-21T15:23:51Z","tags":[],"pid":7,"method":"get","statusCode":200,"req":{"url":"/app/kibana","method":"get","headers":{"host":"kibana.mycompany.local","connection":"close","x-real-ip":"172.27.31.228","x-forwarded-for":"172.27.31.228","x-forwarded-host":"kibana.mycompany.local","x-forwarded-port":"80","x-forwarded-proto":"http","x-original-uri":"/app/kibana","x-scheme":"http","cache-control":"max-age=0","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,_/_;q=0.8","accept-encoding":"gzip, deflate, sdch","accept-language":"en-US,en;q=0.8,zh-CN;q=0.6"},"remoteAddress":"10.0.0.12","userAgent":"10.0.0.12"},"res":{"statusCode":200,"responseTime":7,"contentLength":9},"message":"GET /app/kibana 200 7ms - 9.0B"}  
{"type":"response","@timestamp":"2017-06-21T15:23:51Z","tags":[],"pid":7,"method":"get","statusCode":404,"req":{"url":"/api/v1/proxy/namespaces/kube-system/services/kibana-logging/bundles/commons.bundle.js?v=10146","method":"get","headers":{"host":"kibana.mycompany.local","connection":"close","x-real-ip":"172.27.31.228","x-forwarded-for":"172.27.31.228","x-forwarded-host":"kibana.mycompany.local","x-forwarded-port":"80","x-forwarded-proto":"http","x-original-uri":"/api/v1/proxy/namespaces/kube-system/services/kibana-logging/bundles/commons.bundle.js?v=10146","x-scheme":"http","user-agent":"Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36","accept":"_/_","referer":"[http://kibana.mycompany.local/app/kibana","accept-encoding":"gzip](http://kibana.mycompany.local/app/kibana%22,%22accept-encoding%22:%22gzip), deflate, sdch","accept-language":"en-US,en;q=0.8,zh-CN;q=0.6"},"remoteAddress":"10.0.0.12","userAgent":"10.0.0.12","referer":"[http://kibana.mycompany.local/app/kibana"},"res":{"statusCode":404,"responseTime":92,"contentLength":9},"message":"GET](http://kibana.mycompany.local/app/kibana%22%7D,%22res%22:%7B%22statusCode%22:404,%22responseTime%22:92,%22contentLength%22:9%7D,%22message%22:%22GET) /api/v1/proxy/namespaces/kube-system/services/kibana-logging/bundles/commons.bundle.js?v=10146 404 92ms - 9.0B"}  
{"type":"response","@timestamp":"2017-06-21T15:23:51Z","tags":[],"pid":7,"method":"get","statusCode":404,"req":{"url":"/api/v1/proxy/namespaces/kube-system/services/kibana-logging/bundles/commons.style.css?v=10146","method":"get","headers":{"host":"kibana.mycompany.local","connection":"close","x-real-ip":"172.27.31.228","x-forwarded-for":"172.27.31.228","x-forwarded-host":"kibana.mycompany.local","x-forwarded-port":"80","x-forwarded-proto":"http","x-original-uri":"/api/v1/proxy/namespaces/kube-system/services/kibana-logging/bundles/commons.style.css?v=10146","x-scheme":"http","user-agent":"Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36","accept":"text/css,_/_;q=0.1","referer":"[http://kibana.mycompany.local/app/kibana","accept-encoding":"gzip](http://kibana.mycompany.local/app/kibana%22,%22accept-encoding%22:%22gzip), deflate, sdch","accept-language":"en-US,en;q=0.8,zh-CN;q=0.6"},"remoteAddress":"10.0.0.12","userAgent":"10.0.0.12","referer":"[http://kibana.mycompany.local/app/kibana"},"res":{"statusCode":404,"responseTime":189,"contentLength":9},"message":"GET](http://kibana.mycompany.local/app/kibana%22%7D,%22res%22:%7B%22statusCode%22:404,%22responseTime%22:189,%22contentLength%22:9%7D,%22message%22:%22GET) /api/v1/proxy/namespaces/kube-system/services/kibana-logging/bundles/commons.style.css?v=10146 404 189ms - 9.0B"}  
{"type":"response","@timestamp":"2017-06-21T15:23:51Z","tags":[],"pid":7,"method":"get","statusCode":404,"req":{"url":"/api/v1/proxy/namespaces/kube-system/services/kibana-logging/bundles/kibana.style.css?v=10146","method":"get","headers":{"host":"kibana.mycompany.local","connection":"close","x-real-ip":"172.27.31.228","x-forwarded-for":"172.27.31.228","x-forwarded-host":"kibana.mycompany.local","x-forwarded-port":"80","x-forwarded-proto":"http","x-original-uri":"/api/v1/proxy/namespaces/kube-system/services/kibana-logging/bundles/kibana.style.css?v=10146","x-scheme":"http","user-agent":"Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36","accept":"text/css,_/_;q=0.1","referer":"[http://kibana.mycompany.local/app/kibana","accept-encoding":"gzip](http://kibana.mycompany.local/app/kibana%22,%22accept-encoding%22:%22gzip), deflate, sdch","accept-language":"en-US,en;q=0.8,zh-CN;q=0.6"},"remoteAddress":"10.0.0.12","userAgent":"10.0.0.12","referer":"[http://kibana.mycompany.local/app/kibana"},"res":{"statusCode":404,"responseTime":189,"contentLength":9},"message":"GET](http://kibana.mycompany.local/app/kibana%22%7D,%22res%22:%7B%22statusCode%22:404,%22responseTime%22:189,%22contentLength%22:9%7D,%22message%22:%22GET) /api/v1/proxy/namespaces/kube-system/services/kibana-logging/bundles/kibana.style.css?v=10146 404 189ms - 9.0B"}

---

<div class="post-metadata">

**Author:** ![chenww](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chenww/32/47911_2.png) [@chenww](https://discuss.elastic.co/u/chenww)\
**Post date:** [June 21, 2017, 6:04pm UTC](https://discuss.elastic.co/t/kibana-ui-stuck-in-loading-in-kubernetes-and-ingress-setup/90326/2 "2017-06-21T18:04:39Z")

</div>

I figured this out as it is kargo issue in which it has KIBANA\_BASE\_URL configured. Remove it works.

```
env:
  - name: "ELASTICSEARCH_URL"
    value: "http://elasticsearch-logging:9200"
```

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [June 21, 2017, 8:09pm UTC](https://discuss.elastic.co/t/kibana-ui-stuck-in-loading-in-kubernetes-and-ingress-setup/90326/3 "2017-06-21T20:09:03Z")

</div>

Nice! Hopefully this post would be useful for someone else in the future.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 19, 2017, 8:09pm UTC](https://discuss.elastic.co/t/kibana-ui-stuck-in-loading-in-kubernetes-and-ingress-setup/90326/4 "2017-07-19T20:09:06Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
