# Kibana has a response "We couldn't log you in. Please try again."

**URL:** <https://discuss.elastic.co/t/kibana-has-a-response-we-couldnt-log-you-in-please-try-again/334069>\
**Category:** Kibana\
**Created:** [May 23, 2023, 4:14am UTC](https://discuss.elastic.co/t/kibana-has-a-response-we-couldnt-log-you-in-please-try-again/334069 "2023-05-23T04:14:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danuptraa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danuptraa/32/121304_2.png) [@Danuptraa](https://discuss.elastic.co/u/Danuptraa)\
**Post date:** [May 23, 2023, 4:14am UTC](https://discuss.elastic.co/t/kibana-has-a-response-we-couldnt-log-you-in-please-try-again/334069/1 "2023-05-23T04:14:32Z")

</div>

Hi everyone,  
Is there anyone who can help me? I have an issue with Kibana. When I try to log in, Kibana gives the response "We couldn't log you in. Please try again." I have read many forums, but none of them seem to address my specific issue.  
I have run the command `"curl -XGET 'http://localhost:9200/_cluster/health'"` and received a response this `{"cluster_name":"elasticsearch","status":"red","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":101,"active_shards":101,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":98,"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":50.753768844221106}` . Perhaps one of you has experienced this before or can provide assistance.

Thank you.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [May 23, 2023, 12:41pm UTC](https://discuss.elastic.co/t/kibana-has-a-response-we-couldnt-log-you-in-please-try-again/334069/2 "2023-05-23T12:41:08Z")

</div>

Hi @Danuptraa,

It looks like your cluster is in red state, meaning one or more primary shards are not assigned. Have you had a look at [some of the common fixes listed in the documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/red-yellow-cluster-status.html#fix-red-yellow-cluster-status).

---

<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:** [June 20, 2023, 12:41pm UTC](https://discuss.elastic.co/t/kibana-has-a-response-we-couldnt-log-you-in-please-try-again/334069/3 "2023-06-20T12:41:46Z")

</div>

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