Kibana NetworkError while trying to access /api/core/capabiities

I'm trying to setup an ELK stack on Arch Linux and am unable to access the Kibana dashboard.

When trying to access Kibana it hangs on the 'loading elastic' loading screen and eventually fails by timing out on the request to /api/core/capabilities.

The curl request for the resource is:

curl 'http://localhost:5601/api/core/capabilities' -X POST -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0' -H 'Accept: /' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: http://localhost:5601/app/home' -H 'Content-Type: application/json' -H 'kbn-version: 7.10.2' -H 'Origin: http://localhost:5601' -H 'Connection: keep-alive' --data-raw '{"applications":["error","status","kibana","dev_tools","short_url_redirect","home","management","dashboards","timelion","visualize","kibanaOverview","discover"]}'

I've verified that elasticsearch is properly configured and has both logstash and kibana indexes.

zsh/3 1454 % curl -X GET 'localhost:9200/_cat/indices?v' health status index uuid pri rep docs.count docs.deleted store.size pri.store.size yellow open logstash-2021.11.17-000001 wUTKwoZATECtD8N6iAUvBg 1 1 0 0 208b 208b green open .kibana_1 ailQynFWQJ-dR601UG1xcQ 1 0 2 0 9.1kb 9.1kb

Platform information:

  • Kernel: 5.15.2-arch1-1 #1 SMP PREEMPT Fri, 12 Nov 2021 19:22:10 +0000 x86_64 GNU/Linux
  • NodeJS: 16.11.1-1
  • Java: jre11-openjdk-headless 11.0.13.u8-1
  • Ruby: 3.0.2-2
  • Elasticsearch: 7.10.2-1
  • Logstash: 7.10.1-1
  • Kibana: 7.10.2-1

The issue occurs on both Chromium and Firefox, both normal and incognito sessions and I'm connecting to Kibana directly without the use of a proxy

This appears to be an issue with the Arch Linux community/kibana package!

I created an Ubuntu 20.04 VM and was able to get Kibana running against my Arch Elasticsearch instance without any issues.

I subsequently repackaged the kibana deb file using debtap and installed it on my Arch server resulting in a working installation.

I'm glad you were able to solve you issue!

Just to anyone else who finds this understand, Arch Linux is not a supported OS by Elastic: Support Matrix | Elastic

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