Kibana Discover not working

Hello all,
When I try to open the Discover in Kibana version 8.1.0, facing an issue as below, could anyone suggest why is it happening and how to address this?

HI @nandatibco

Welcome to the community. Could you provide more information about your environment?
What are the Elasticsearch and kibana settings?

bets regards

Hi Gerson,

Thank you for looking into this issue, below are the configurations for ES & Kibana:

Please let me know if more details required.

ES:
single node with:
xpack.security.enabled: true
xpack.security.enrollment.enabled: false

Kibana:
http.port: 8085
Elasticsearch.hosts: http://mytest.test.com:8085
xpack.security.enabled: true
xpack.security.enrollment.enabled: false

Complete error message:

*at search_interceptor_SearchInterceptor.handleSearchError (https://test.monitor.com:7081/50485/bundles/plugin/data/kibana/data.plugin.js:1:305796)*
*at t.selector (https://test.monitor.com:7081/50485/bundles/plugin/data/kibana/data.plugin.js:1:308534)*
*at t.error (https://test.monitor.com:7081/50485/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:423:909935)*
*at t._error (https://test.monitor.com:7081/50485/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:21:17952)*
*at t.error (https://test.monitor.com:7081/50485/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:21:17646)*
*at t.error (https://test.monitor.com:7081/50485/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:340:50933)*
*at Object.error (https://test.monitor.com:7081/50485/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:423:943544)*
*at t.__tryOrUnsub (https://test.monitor.com:7081/50485/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:21:19758)*
*at t.error (https://test.monitor.com:7081/50485/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:21:19126)*
*at t._error (https://test.monitor.com:7081/50485/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:21:17952)*

Regards,
Nanda

@nandatibco

in the log you sent there is a port 7081, is it the communication port with kibana? and port 8085 would be the one for communication with Elasticsearch?