# Kibana: Unknown error while connecting to Elasticse

**URL:** <https://discuss.elastic.co/t/kibana-unknown-error-while-connecting-to-elasticse/1978>\
**Category:** Kibana\
**Created:** [June 5, 2015, 12:25am UTC](https://discuss.elastic.co/t/kibana-unknown-error-while-connecting-to-elasticse/1978 "2015-06-05T00:25:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aanm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aanm/32/528_2.png) [@aanm](https://discuss.elastic.co/u/aanm)\
**Post date:** [June 5, 2015, 12:25am UTC](https://discuss.elastic.co/t/kibana-unknown-error-while-connecting-to-elasticse/1978/1 "2015-06-05T00:25:49Z")

</div>

Browser error:  
Kibana: Unknown error while connecting to Elasticsearch  
Error: Unknown error while connecting to Elasticsearch  
Error: Internal Server Error  
at respond ([http://127.0.0.1:5601/index.js?\_b=6004:81691:15](http://127.0.0.1:5601/index.js?_b=6004:81691:15))  
at checkRespForFailure ([http://127.0.0.1:5601/index.js?\_b=6004:81659:7](http://127.0.0.1:5601/index.js?_b=6004:81659:7))  
at [http://127.0.0.1:5601/index.js?\_b=6004:80322:7](http://127.0.0.1:5601/index.js?_b=6004:80322:7)  
at wrappedErrback ([http://127.0.0.1:5601/index.js?\_b=6004:20897:78](http://127.0.0.1:5601/index.js?_b=6004:20897:78))  
at wrappedErrback ([http://127.0.0.1:5601/index.js?\_b=6004:20897:78](http://127.0.0.1:5601/index.js?_b=6004:20897:78))  
at wrappedErrback ([http://127.0.0.1:5601/index.js?\_b=6004:20897:78](http://127.0.0.1:5601/index.js?_b=6004:20897:78))  
at [http://127.0.0.1:5601/index.js?\_b=6004:21030:76](http://127.0.0.1:5601/index.js?_b=6004:21030:76)  
at Scope.$eval ([http://127.0.0.1:5601/index.js?\_b=6004:22017:28](http://127.0.0.1:5601/index.js?_b=6004:22017:28))  
at Scope.$digest ([http://127.0.0.1:5601/index.js?\_b=6004:21829:31](http://127.0.0.1:5601/index.js?_b=6004:21829:31))  
at Scope.$apply ([http://127.0.0.1:5601/index.js?\_b=6004:22121:24](http://127.0.0.1:5601/index.js?_b=6004:22121:24))

Console messages (from kibana):  
./kibana -e 192.168.50.5:9200  
{"@timestamp":"2015-06-05T00:24:34.220Z","level":"info","message":"No existing kibana index found","node\_env":"production"}  
{"@timestamp":"2015-06-05T00:24:34.227Z","level":"info","message":"Listening on 0.0.0.0:5601","node\_env":"production"}  
{"@timestamp":"2015-06-05T00:24:41.260Z","level":"info","message":"GET / 304 - 4ms","node\_env":"production","request":{"method":"GET","url":"/","headers":{"host":"localhost:5601","connection":"keep-alive","cache-control":"max-age=0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,_/_;q=0.8","user-agent":"Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36 OPR/29.0.1795.60","dnt":"1","accept-encoding":"gzip, deflate, lzma, sdch","accept-language":"en-US,en;q=0.8","if-none-match":"W/"717-3353353963"","if-modified-since":"Wed, 01 Apr 2015 16:08:44 GMT"},"remoteAddress":"192.168.0.25","remotePort":36278},"response":{"statusCode":304,"responseTime":4,"contentLength":0}}  
{"@timestamp":"2015-06-05T00:24:41.316Z","level":"info","message":"GET /styles/main.css?\_b=6004 304 - 2ms","node\_env":"production","request":{"method":"GET","url":"/styles/main.css?\_b=6004","headers":{"host":"localhost:5601","connection":"keep-alive","cache-control":"max-age=0","accept":"text/css,_/_;q=0.1","if-none-match":"W/"32508-3353353963"","if-modified-since":"Wed, 01 Apr 2015 16:08:44 GMT","user-agent":"Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36 OPR/29.0.1795.60","dnt":"1","referer":"[http://localhost:5601/","accept-encoding":"gzip](http://localhost:5601/%22,%22accept-encoding%22:%22gzip), deflate, lzma, sdch","accept-language":"en-US,en;q=0.8"},"remoteAddress":"192.168.0.25","remotePort":36278},"response":{"statusCode":304,"responseTime":2,"contentLength":0}}  
{"@timestamp":"2015-06-05T00:24:41.318Z","level":"info","message":"GET /images/initial\_load.gif 304 - 1ms","node\_env":"production","request":{"method":"GET","url":"/images/initial\_load.gif","headers":{"host":"localhost:5601","connection":"keep-alive","cache-control":"max-age=0","accept":"image/webp,_/_;q=0.8","if-none-match":"W/"2e9e-3353353963"","if-modified-since":"Wed, 01 Apr 2015 16:08:44 GMT","user-agent":"Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36 OPR/29.0.1795.60","dnt":"1","referer":"[http://localhost:5601/","accept-encoding":"gzip](http://localhost:5601/%22,%22accept-encoding%22:%22gzip), deflate, lzma, sdch","accept-language":"en-US,en;q=0.8"},"remoteAddress":"192.168.0.25","remotePort":36279},"response":{"statusCode":304,"responseTime":1,"contentLength":0}}  
{"@timestamp":"2015-06-05T00:24:41.319Z","level":"info","message":"GET /bower\_components/requirejs/require.js?\_b=6004 304 - 2ms","node\_env":"production","request":{"method":"GET","url":"/bower\_components/requirejs/require.js?\_b=6004","headers":{"host":"localhost:5601","connection":"keep-alive","cache-control":"max-age=0","accept":"_/_","if-none-match":"W/"14640-3353353963"","if-modified-since":"Wed, 01 Apr 2015 16:08:44 GMT","user-agent":"Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36 OPR/29.0.1795.60","dnt":"1","referer":"[http://localhost:5601/","accept-encoding":"gzip](http://localhost:5601/%22,%22accept-encoding%22:%22gzip), deflate, lzma, sdch","accept-language":"en-US,en;q=0.8"},"remoteAddress":"192.168.0.25","remotePort":36280},"response":{"statusCode":304,"responseTime":2,"contentLength":0}}  
{"@timestamp":"2015-06-05T00:24:41.320Z","level":"info","message":"GET /require.config.js?\_b=6004 304 - 2ms","node\_env":"production","request":{"method":"GET","url":"/require.config.js?\_b=6004","headers":{"host":"localhost:5601","connection":"keep-alive","cache-control":"max-age=0","accept":"_/_","if-none-match":"W/"9a6-3353353963"","if-modified-since":"Wed, 01 Apr 2015 16:08:44 GMT","user-agent":"Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36 OPR/29.0.1795.60","dnt":"1","referer":"[http://localhost:5601/","accept-encoding":"gzip](http://localhost:5601/%22,%22accept-encoding%22:%22gzip), deflate, lzma, sdch","accept-language":"en-US,en;q=0.8"},"remoteAddress":"192.168.0.25","remotePort":36281},"response":{"statusCode":304,"responseTime":2,"contentLength":0}}  
{"@timestamp":"2015-06-05T00:24:41.397Z","level":"info","message":"GET /index.js?\_b=6004 304 - 1ms","node\_env":"production","request":{"method":"GET","url":"/index.js?\_b=6004","headers":{"host":"localhost:5601","connection":"keep-alive","accept":"_/_","user-agent":"Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36 OPR/29.0.1795.60","dnt":"1","referer":"[http://localhost:5601/","accept-encoding":"gzip](http://localhost:5601/%22,%22accept-encoding%22:%22gzip), deflate, lzma, sdch","accept-language":"en-US,en;q=0.8","if-none-match":"W/"4f5fb7-3353353963"","if-modified-since":"Wed, 01 Apr 2015 16:08:44 GMT"},"remoteAddress":"192.168.0.25","remotePort":36281},"response":{"statusCode":304,"responseTime":1,"contentLength":0}}  
{"@timestamp":"2015-06-05T00:24:41.397Z","level":"info","message":"GET /styles/theme/elk.ico 304 - 1ms","node\_env":"production","request":{"method":"GET","url":"/styles/theme/elk.ico","headers":{"host":"localhost:5601","connection":"keep-alive","user-agent":"Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36 OPR/29.0.1795.60","accept":"_/_","dnt":"1","referer":"[http://localhost:5601/","accept-encoding":"gzip](http://localhost:5601/%22,%22accept-encoding%22:%22gzip), deflate, lzma, sdch","accept-language":"en-US,en;q=0.8","if-none-match":"W/"47e-3353353963"","if-modified-since":"Wed, 01 Apr 2015 16:08:44 GMT"},"remoteAddress":"192.168.0.25","remotePort":36280},"response":{"statusCode":304,"responseTime":1,"contentLength":0}}  
{"@timestamp":"2015-06-05T00:24:41.767Z","level":"info","message":"GET /config?\_b=6004 304 - 3ms","node\_env":"production","request":{"method":"GET","url":"/config?\_b=6004","headers":{"host":"localhost:5601","connection":"keep-alive","user-agent":"Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36 OPR/29.0.1795.60","accept":"_/_","dnt":"1","referer":"[http://localhost:5601/","accept-encoding":"gzip](http://localhost:5601/%22,%22accept-encoding%22:%22gzip), deflate, lzma, sdch","accept-language":"en-US,en;q=0.8","if-none-match":"W/"151-5c053bf3""},"remoteAddress":"192.168.0.25","remotePort":36280},"response":{"statusCode":304,"responseTime":3,"contentLength":0}}  
{"@timestamp":"2015-06-05T00:24:42.132Z","level":"info","message":"GET /elasticsearch/ 500 - 149ms","node\_env":"production","request":{"method":"GET","url":"/elasticsearch/","headers":{"host":"localhost:5601","connection":"keep-alive","accept":"application/json, text/plain, _/_","user-agent":"Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36 OPR/29.0.1795.60","dnt":"1","referer":"[http://localhost:5601/","accept-encoding":"gzip](http://localhost:5601/%22,%22accept-encoding%22:%22gzip), deflate, lzma, sdch","accept-language":"en-US,en;q=0.8"},"remoteAddress":"192.168.0.25","remotePort":36280},"response":{"statusCode":500,"responseTime":149,"contentLength":176}}  
{"@timestamp":"2015-06-05T00:24:42.143Z","level":"info","message":"GET /bower\_components/font-awesome/fonts/fontawesome-webfont.woff?v=4.2.0 304 - 0ms","node\_env":"production","request":{"method":"GET","url":"/bower\_components/font-awesome/fonts/fontawesome-webfont.woff?v=4.2.0","headers":{"host":"localhost:5601","connection":"keep-alive","cache-control":"max-age=0","if-none-match":"W/"ffac-3353353963"","if-modified-since":"Wed, 01 Apr 2015 16:08:44 GMT","user-agent":"Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36 OPR/29.0.1795.60","accept":"_/_","dnt":"1","referer":"[http://localhost:5601/","accept-encoding":"gzip](http://localhost:5601/%22,%22accept-encoding%22:%22gzip), deflate, lzma, sdch","accept-language":"en-US,en;q=0.8"},"remoteAddress":"192.168.0.25","remotePort":36280},"response":{"statusCode":304,"responseTime":0,"contentLength":0}}

elastic search is running under a docker-container with the elastic image

---

<div class="post-metadata">

**Author:** ![aanm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aanm/32/528_2.png) [@aanm](https://discuss.elastic.co/u/aanm)\
**Post date:** [June 5, 2015, 3:07pm UTC](https://discuss.elastic.co/t/kibana-unknown-error-while-connecting-to-elasticse/1978/2 "2015-06-05T15:07:00Z")

</div>

My bad, I was using -e localhost:9200 on kibana instead of [http://localhost:9200](http://localhost:9200)

---

<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 6, 2017, 2:18pm UTC](https://discuss.elastic.co/t/kibana-unknown-error-while-connecting-to-elasticse/1978/3 "2017-07-06T14:18:32Z")

</div>


