Why does Kibana log says “Checking Elasticsearch version” error?

i have found some suggestions from this thread Troubleshooting Security Plugin Issues

but it also didn’t help me much. moreover i’m not using any keycloak IDP for the setup.

can some one please get me out of this weird error?