Kibana could not perform access check to Enterprise Search

I am setting up a self-managed setup (Elasticsearch, Kibana, Enterprise search) for a simple search application. Everything works fine with http. Once I enable ssl on enterprisesearch and on kibana, I get "Unable to connect", and the specific log message from kibana log is

{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.4.0"},"@timestamp":"2022-12-21T01:06:56.172+00:00","message":"Could not perform access check to Enterprise Search: TypeError[ERR_INVALID_PROTOCOL]: Protocol \"https:\" not supported. Expected "http:"","log":{"level":"ERROR","logger":"plugins.enterpriseSearch"},"process":{"pid":215374},"trace":{"id":"7eebab3699db9dd62fe5fbdc14f637ce"},"transaction":{"id":"07f3ef1e7bcdefaf"}}

I looked up at common errors page and it does not have any solution for this log message..any pointers? looks like i am doing some simple mistake somewhere, but unable to fix.

thanks for the help

@Carlos_D - tagging you as I saw you had responded with solutions for a similar query sometime back.


Hey there, did you also enable ssl for Elasticsearch as well? Set up basic security for the Elastic Stack plus secured HTTPS traffic | Elasticsearch Guide [8.5] | Elastic


What do you see in the Enterprise Search logs as well as the Kibana logs?

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