Can't connect to Enterprise search

Hello everyone,

I installed the enterprise-search plugin @7.16.1.
The enterprise-search service is started without error.
But my Kibana still show " Unable to connect ".

I have no idea. Anybody can help?

{ELKM3}elasticsearch.yml:

node.name: ELKM3
node.master: true
bootstrap.memory_lock: true
network.host: 172.20.21.3
cluster.initial_master_nodes: ELKM1

xpack.security.enabled: true
xpack.security.authc.api_key.enabled: true
xpack.license.self_generated.type: basic
xpack.security.transport.ssl.enabled: true
action.auto_create_index: ".app-search-*-logs-*,-.app-search-*,+*"

kibana.yml:

elasticsearch.hosts: ["https://ELKM1:9200"]
server.publicBaseUrl: "https://ELKK1:5601"
enterpriseSearch.host: https://ELKM3:3002

enterprise-search.yml:

ent_search.external_url: https://ELKM3:3002
ent_search.listen_host: 172.20.21.3
ent_search.listen_port: 3002
ent_search.auth.<auth_name>.source: standard

enterprise-search run status:

* enterprise-search.service - Elastic Enterprise Search
   Loaded: loaded (/usr/lib/systemd/system/enterprise-search.service; disabled; vendor preset: enabled)
   Active: active (running) since Thu 2021-12-23 13:48:06 CST; 13min ago
     Docs: https://www.elastic.co/guide/en/enterprise-search/current/index.html
 Main PID: 11438 (java)
    Tasks: 55 (limit: 4915)
   CGroup: /system.slice/enterprise-search.service
           |-11438 java -cp /usr/share/enterprise-search/lib/war/lib/jruby-stdlib-9.2.13.0.jar:/usr/share/enterprise-search/lib/war/lib/jruby-core-9.2.13.0-complete.jar -Dsun.jnu.encoding=UTF-8 -Dfile.encod
           `-11576 /usr/share/enterprise-search/bin/vendor/filebeat/filebeat-linux-x86_64 -v --path.config=/tmp --c=ent-search-filebeat.yml

Dec 23 13:48:06 ELKM3 enterprise-search[11438]: Found java executable in PATH
Dec 23 13:48:06 ELKM3 enterprise-search[11438]: Java version detected: 1.8.0_265 (major version: 8)
Dec 23 13:48:06 ELKM3 enterprise-search[11438]: Enterprise Search is starting...
Dec 23 13:48:06 ELKM3 enterprise-search[11438]: Logs can be found in the location configured via the 'log_directory' setting (typically /var/log/enterprise-search)
Dec 23 13:48:17 ELKM3 enterprise-search[11438]: *** [DEPRECATION WARNING] The auth source 'standard' is deprecated and will be removed in version '8.0.0'.
Dec 23 13:48:29 ELKM3 enterprise-search[11438]: 2021-12-23 13:48:29.689:INFO::main: Logging initialized @22702ms to org.eclipse.jetty.util.log.StdErrLog
Dec 23 13:48:30 ELKM3 enterprise-search[11438]: 2021-12-23 13:48:30.041:INFO:oejs.Server:main: jetty-9.4.43.v20210629; built: 2021-06-30T11:07:22.254Z; git: 526006ecfa3af7f1a27ef3a288e2b
Dec 23 13:48:30 ELKM3 enterprise-search[11438]: 2021-12-23 13:48:30.074:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@105637ea{/,file:///usr/share/enterprise-sear
Dec 23 13:48:30 ELKM3 enterprise-search[11438]: 2021-12-23 13:48:30.095:INFO:oejs.AbstractConnector:main: Started ServerConnector@52f93a84{HTTP/1.1, (http/1.1)}{172.20.21.3:3002}
Dec 23 13:48:30 ELKM3 enterprise-search[11438]: 2021-12-23 13:48:30.095:INFO:oejs.Server:main: Started @23108ms

Hi Frank_Kuo -

In the Enterprise Search configuration, do you have the kibana.host setting configured correctly? See the settings configuration guide for more as well.

Thanks for your replaying.

Yes, sure.
enterprise-search.yml:

# ---------------------------------- Kibana -----------------------------------
#
# The primary URL at which users interact with Kibana. This is used when
# Enterprise Search links users to Kibana.
#
kibana.host: https://ELKK1:5601
#
# Define the exposed URL at which users will reach Kibana.
# Defaults to kibana.host
#
kibana.external_url: https://ELKK1:5601

enterprise-search run status:

#########################################################

Success! Elastic Enterprise Search is starting successfully.

In a few moments, you'll be able to access Enterprise Search from Kibana at the following address:

* URL: https://ELKK1:5601/app/enterprise_search/overview

  * If this is your first time starting Enterprise Search, check the console output above for your user authentication credentials.
  * Visit the documentation: https://www.elastic.co/guide/en/enterprise-search/7.16/index.html

Secret session key has been generated.

Set the key in your config file to persist user sessions through process restarts:

secret_session_key: 9ee7200057e00ed2baafe9b8


#########################################################

But, it still unable to connect my Kibana. T_T

help...pleasee :sob:

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