# Kibana 7.16.3 issues with connecting to elasticsearch

**URL:** <https://discuss.elastic.co/t/kibana-7-16-3-issues-with-connecting-to-elasticsearch/295715>\
**Category:** Kibana\
**Created:** [January 28, 2022, 2:44pm UTC](https://discuss.elastic.co/t/kibana-7-16-3-issues-with-connecting-to-elasticsearch/295715 "2022-01-28T14:44:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dominbdg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominbdg/32/102457_2.png) [@dominbdg](https://discuss.elastic.co/u/dominbdg)\
**Post date:** [January 28, 2022, 2:44pm UTC](https://discuss.elastic.co/t/kibana-7-16-3-issues-with-connecting-to-elasticsearch/295715/1 "2022-01-28T14:44:22Z")

</div>

Hello,  
today I upgraded ES to the latest version and kibana,  
I see in logs that ES cannot be detected:

> "message":"Error [ProductNotSupportedSecurityError]: The client is unable to verify that the server is Elasticsearch due to security privileges on the server side. Some functionality may not be compatible if the server is running an unsupported product.`

and I have below:

> "message":"Unable to retrieve version information from Elasticsearch nodes. security\_exception: [security\_exception] Reason: missing authentication credentials for REST request [/\_nodes?filter\_path=nodes._.version%2Cnodes._.http.publish\_address%2Cnodes.\*.ip]"}

The problem is that I can connect to ES using services, connection is established on port 9200.  
And also I can authenticate using kibana user:

> bash-4.4$ curl -k [http://elasticnode:9200/\_xpack/security/\_authenticate?pretty](http://elasticnode:9200/_xpack/security/_authenticate?pretty) -u kibana  
> Enter host password for user 'kibana':  
> {  
> "username" : "kibana",  
> "roles" : [  
> "kibana\_system"  
> ],  
> "full\_name" : null,  
> "email" : null,  
> "metadata" : {  
> "\_deprecated" : true,  
> "\_deprecated\_reason" : "Please use the [kibana\_system] user instead.",  
> "\_reserved" : true  
> },  
> "enabled" : true,  
> "authentication\_realm" : {  
> "name" : "reserved",  
> "type" : "reserved"  
> },  
> "lookup\_realm" : {  
> "name" : "reserved",  
> "type" : "reserved"  
> },  
> "authentication\_type" : "realm"  
> }

Can some help me what can I do with this issue ?  
I'm using ES 7.16.3  
The thing is that when I launch old kibana 7.8.0 - no issues there

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [January 28, 2022, 3:55pm UTC](https://discuss.elastic.co/t/kibana-7-16-3-issues-with-connecting-to-elasticsearch/295715/2 "2022-01-28T15:55:54Z")

</div>

Hi,

> [@dominbdg](#):
>
> "\_deprecated\_reason" : "Please use the [kibana\_system] user instead.",

As the log said, [kibana] user seems deprecated and you need to use [kibana\_system] user.

---

<div class="post-metadata">

**Author:** ![dominbdg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominbdg/32/102457_2.png) [@dominbdg](https://discuss.elastic.co/u/dominbdg)\
**Post date:** [January 29, 2022, 6:17pm UTC](https://discuss.elastic.co/t/kibana-7-16-3-issues-with-connecting-to-elasticsearch/295715/3 "2022-01-29T18:17:11Z")

</div>

hello,  
Tomo\_M,  
I saw this warning in kibana but this is not this.  
I don't understand, why previously I had username/password as env in kubernetes,  
and now it's not working, so I defined:

```auto
elasticsearch.username: "..."
elasticsearch.password: "..."

```

and this resolved my issue

---

<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:** [February 26, 2022, 6:17pm UTC](https://discuss.elastic.co/t/kibana-7-16-3-issues-with-connecting-to-elasticsearch/295715/4 "2022-02-26T18:17:12Z")

</div>

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