Kibana 7.16.3 issues with connecting to elasticsearch

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 -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

Hi,

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

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:

elasticsearch.username: "..."
elasticsearch.password: "..."

and this resolved my issue

1 Like

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