# Issue with Kibana - {"statusCode":404,"error":"Not Found","message":"Not Found"}

**URL:** <https://discuss.elastic.co/t/issue-with-kibana-statuscode-404-error-not-found-message-not-found/229997>\
**Category:** Kibana\
**Created:** [April 27, 2020, 5:32pm UTC](https://discuss.elastic.co/t/issue-with-kibana-statuscode-404-error-not-found-message-not-found/229997 "2020-04-27T17:32:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Georgios\_Nikoloudis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/georgios_nikoloudis/32/67212_2.png) [@Georgios\_Nikoloudis](https://discuss.elastic.co/u/Georgios_Nikoloudis)\
**Post date:** [April 27, 2020, 5:32pm UTC](https://discuss.elastic.co/t/issue-with-kibana-statuscode-404-error-not-found-message-not-found/229997/1 "2020-04-27T17:32:59Z")

</div>

Hi  
I have installed the ELK.  
I enabled the xpack and the even though the kibana status is showing all "green" when I am trying to access the kibana site I am getting the error:  
{"statusCode":404,"error":"Not Found","message":"Not Found"}

Can you please advice?  
Thanks  
Georgios

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [April 27, 2020, 5:40pm UTC](https://discuss.elastic.co/t/issue-with-kibana-statuscode-404-error-not-found-message-not-found/229997/2 "2020-04-27T17:40:10Z")

</div>

Hi

Which version of the stack are you using ? What do the Elasticsearch and Kibana logs indicate ?  
Can you also check the health of your cluster ? The cluster health API allows to get a very simple status on the health of the cluster.  
`GET _cluster/health `

[https://www.elastic.co/guide/en/elasticsearch/reference/6.8/cluster-health.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/cluster-health.html)

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![Georgios\_Nikoloudis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/georgios_nikoloudis/32/67212_2.png) [@Georgios\_Nikoloudis](https://discuss.elastic.co/u/Georgios_Nikoloudis)\
**Post date:** [April 27, 2020, 5:52pm UTC](https://discuss.elastic.co/t/issue-with-kibana-statuscode-404-error-not-found-message-not-found/229997/3 "2020-04-27T17:52:56Z")

</div>

I have installed it today - its the latest verstion

I tried the below

`root@ubuntu-4gb-hel1-1:/etc/kibana# curl -uelastic -X GET "localhost:9200/_cluster/health" `  
Enter host password for user 'elastic':  
`{"cluster_name":"my-application","status":"green","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":4,"active_shards":4,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":0,"delayed_unassigned_shards":0,"number_of_pending_tasks":0,"number_of_in_flight_fetch":0,"task_max_waiting_in_queue_millis":0,"active_shards_percent_as_number":100.0}`

also the `http://localhost:5601/status is all green`

Thanks  
Georgios

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [April 27, 2020, 6:08pm UTC](https://discuss.elastic.co/t/issue-with-kibana-statuscode-404-error-not-found-message-not-found/229997/4 "2020-04-27T18:08:38Z")

</div>

Please open Kibana in an incognito window and check if you are able to reach . Status green is an indication that health of your cluster is good.

Also, do you have a proxy in between?

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![Georgios\_Nikoloudis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/georgios_nikoloudis/32/67212_2.png) [@Georgios\_Nikoloudis](https://discuss.elastic.co/u/Georgios_Nikoloudis)\
**Post date:** [April 27, 2020, 6:13pm UTC](https://discuss.elastic.co/t/issue-with-kibana-statuscode-404-error-not-found-message-not-found/229997/5 "2020-04-27T18:13:08Z")

</div>

the page opens without a problem - I put the username/password and then I can login. Shall I clean the cookies,etc. from the browser?

Thanks a lot  
Georgios

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [April 27, 2020, 6:19pm UTC](https://discuss.elastic.co/t/issue-with-kibana-statuscode-404-error-not-found-message-not-found/229997/6 "2020-04-27T18:19:23Z")

</div>

Cool, glad it worked.

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![Georgios\_Nikoloudis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/georgios_nikoloudis/32/67212_2.png) [@Georgios\_Nikoloudis](https://discuss.elastic.co/u/Georgios_Nikoloudis)\
**Post date:** [April 27, 2020, 6:37pm UTC](https://discuss.elastic.co/t/issue-with-kibana-statuscode-404-error-not-found-message-not-found/229997/7 "2020-04-27T18:37:49Z")

</div>

but how shall i fix this

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [April 27, 2020, 10:46pm UTC](https://discuss.elastic.co/t/issue-with-kibana-statuscode-404-error-not-found-message-not-found/229997/8 "2020-04-27T22:46:27Z")

</div>

Can you restart your browser, and/or clear session cookies. When you create user through User Managemenet API all relevant information is stored in Elasticsearch, including username and password **hash**. When user logs in, Kibana **encrypts** username/password pair and stores it in the cookie. Then when Kibana receives subsequent requests, it decrypts cookie, extracts user information and asks Elasticsearch to verify whether username/password pair is correct. If it's then Elasticsearch returns all information that Kibana may want to know (e.g. user roles).

That's how **basic** authentication works internally right now, that may and most likely will change in the future.

Hope it helps.

Thanks  
Rashmi

---

<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:** [May 25, 2020, 10:46pm UTC](https://discuss.elastic.co/t/issue-with-kibana-statuscode-404-error-not-found-message-not-found/229997/9 "2020-05-25T22:46:28Z")

</div>

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