Elasticsearch url is redirecting after installing X-Pack


(MJay) #1

After installing X-Pack http://elasticserver:9200/ prompts for Basic authentication and after providing elastic/changeme as username and password again it prompts for the credentials.

Elasticsearch version: 5.4.3
X-Pack version : 5.4.3


(Niraj Kumar) #2

@mruthyu Do you see anything in logs?


(MJay) #3

I see the following in hot data nodes.
[2017-08-19T17:42:22,731][WARN ][o.e.x.m.MonitoringService] [node-hotnode-2] monitoring execution failed
org.elasticsearch.xpack.monitoring.exporter.ExportException: Exception when closing export bulk
at org.elasticsearch.xpack.monitoring.exporter.ExportBulk$1$1.(ExportBulk.java:106) ~[?:?]
at org.elasticsearch.xpack.monitoring.exporter.ExportBulk$1.onFailure(ExportBulk.java:104) ~[?:?]


(MJay) #4

Also the following in master node log

[2017-08-19T17:32:32,791][ERROR][o.e.x.w.e.ExecutionService] [node-master-2] failed to update watch record [oc4pU6shQ6Kvt5UOb1v2aw_elasticsearch_cluster_status_2e200efb-54c3-4903-8392-1738fc8fceb8-2017-08-19T17:31:32.786Z]
org.elasticsearch.ElasticsearchTimeoutException: java.util.concurrent.TimeoutException: Timeout waiting for task.
at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:71) ~[elasticsearch-5.4.3.jar:5.4.3]
at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:63) ~[elasticsearch-5.4.3.jar:5.4.3]
at org.elasticsearch.xpack.watcher.support.init.proxy.WatcherClientProxy.index(WatcherClientProxy.java:73) ~[x-pack-5.4.3.jar:5.4.3]
at org.elasticsearch.xpack.watcher.history.HistoryStore.put(HistoryStore.java:102) ~[x-pack-5.4.3.jar:5.4.3]
at org.elasticsearch.xpack.watcher.execution.ExecutionService.execute(ExecutionService.java:290) [x-pack-5.4.3.jar:5.4.3]
at org.elasticsearch.xpack.watcher.execution.ExecutionService$WatchExecutionTask.run(ExecutionService.java:492) [x-pack-5.4.3.jar:5.4.3]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:569) [elasticsearch-5.4.3.jar:5.4.3]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: java.util.concurrent.TimeoutException: Timeout waiting for task.
at org.elasticsearch.common.util.concurrent.BaseFuture$Sync.get(BaseFuture.java:232) ~[elasticsearch-5.4.3.jar:5.4.3]
at org.elasticsearch.common.util.concurrent.BaseFuture.get(BaseFuture.java:67) ~[elasticsearch-5.4.3.jar:5.4.3]
at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:69) ~[elasticsearch-5.4.3.jar:5.4.3]
... 9 more


(MJay) #5

Health of the elasticsearch cluster is GREEN.


(MJay) #6

When I use x-pack API to get the users list I see the following error. How to start native user service?

{"error":{"root_cause":[{"type":"illegal_state_exception","reason":"users cannot be retrieved as native user service has not been started"}],"type":"illegal_state_exception","reason":"users cannot be retrieved as native user service has not been started"},"status":500}


(system) #7

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