Security_exception: missing authentication credentials for REST request

After upgrading elastic pods using docker images from 8.4.1 to 8.9.1 i am getting this error in kibana always. Any idea why? and how to solve?

[2023-09-09T17:58:21.908+00:00][WARN ][plugins.security.authenticator] Session is no longer available and cannot be re-authenticated.
[2023-09-09T17:58:21.908+00:00][ERROR][plugins.security.authentication] Re-authentication cannot be handled.
[2023-09-09T17:58:21.914+00:00][WARN ][plugins.security.authenticator] Session is no longer available and cannot be re-authenticated.
[2023-09-09T17:58:21.914+00:00][ERROR][plugins.security.authentication] Re-authentication cannot be handled.
[2023-09-09T17:58:21.945+00:00][ERROR][plugins.alerting.monitoring_alert_cluster_health] Executing Rule default:monitoring_alert_cluster_health:7122a3a0-334c-11ed-9aec-0f43b2522a95 has resulted in Error: security_exception
Root causes:
security_exception: missing authentication credentials for REST request [/_security/user/_has_privileges], caused by: "" - ResponseError: security_exception
Root causes:
security_exception: missing authentication credentials for REST request [/_security/user/_has_privileges]
at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:479:27)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)
at Security.hasPrivileges (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/security.js:795:16)
at checkPrivilegesAtResources (/usr/share/kibana/node_modules/@kbn/security-plugin/server/authorization/check_privileges.js:68:20)
at Object.atSpaces (/usr/share/kibana/node_modules/@kbn/security-plugin/server/authorization/check_privileges.js:129:16)
at SavedObjectsSecurityExtension.checkSavedObjectsPrivileges [as checkPrivilegesFunc] (/usr/share/kibana/node_modules/@kbn/security-plugin/server/authorization/check_saved_objects_privileges.js:33:20)
at SavedObjectsSecurityExtension.checkPrivileges (/usr/share/kibana/node_modules/@kbn/security-plugin/server/saved_objects/saved_objects_security_extension.js:452:14)
at SavedObjectsSecurityExtension.checkAuthorization (/usr/share/kibana/node_modules/@kbn/security-plugin/server/saved_objects/saved_objects_security_extension.js:225:9)
at SavedObjectsSecurityExtension.authorize (/usr/share/kibana/node_modules/@kbn/security-plugin/server/saved_objects/saved_objects_security_extension.js:423:25)
at SavedObjectsSecurityExtension.authorizeGet (/usr/share/kibana/node_modules/@kbn/security-plugin/server/saved_objects/saved_objects_security_extension.js:645:12)
at performGet (/usr/share/kibana/node_modules/@kbn/core-saved-objects-api-server-internal/src/lib/apis/get.js:64:31)
at SavedObjectsRepository.get (/usr/share/kibana/node_modules/@kbn/core-saved-objects-api-server-internal/src/lib/repository.js:213:12)
at SavedObjectsClient.get (/usr/share/kibana/node_modules/@kbn/core-saved-objects-api-server-internal/src/saved_objects_client.js:67:12)
at UiSettingsClient.read (/usr/share/kibana/node_modules/@kbn/core-ui-settings-server-internal/src/clients/ui_settings_client_common.js:145:20)
at UiSettingsClient.getUserProvided (/usr/share/kibana/node_modules/@kbn/core-ui-settings-server-internal/src/clients/ui_settings_client_common.js:50:42)
at UiSettingsClient.getAll (/usr/share/kibana/node_modules/@kbn/core-ui-settings-server-internal/src/clients/base_ui_settings_client.js:54:26)
at Object.fieldFormatServiceFactory (/usr/share/kibana/node_modules/@kbn/field-formats-plugin/server/plugin.js:35:31)
at Object.dataViewsServiceFactory (/usr/share/kibana/node_modules/@kbn/data-views-plugin/server/data_views_service_factory.js:31:19)
at Object.asScoped (/usr/share/kibana/node_modules/@kbn/data-plugin/server/search/search_service.js:330:39)
at TaskRunner.runRule (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner.js:248:32)
at TaskRunner.run (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner.js:594:49)
at TaskManagerRunner.run (/usr/share/kibana/node_modules/@kbn/task-manager-plugin/server/task_running/task_runner.js:274:22)

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