Hi all,
We have just upgraded Appian from 23.3 to Appian 25.2 and when starting Tomcat we have found the following error in the log:
[PUT], host [http://localhost:9200], URI [/user-activity-8-0/_settings?master_timeout=30s&timeout=30s], status line [HTTP/1.1 401 Unauthorized] {"error":{"root_cause":[{"type":"security_exception","reason":"unable to authenticate user [appian] for REST request [/user-activity-8-0/_settings?master_timeout=30s&timeout=30s]","header":{"WWW-Authenticate":["Basic realm=\"security\", charset=\"UTF-8\"","ApiKey"]}}],"type":"security_exception","reason":"unable to authenticate user [appian] for REST request [/user-activity-8-0/_settings?master_timeout=30s&timeout=30s]","header":{"WWW-Authenticate":["Basic realm=\"security\", charset=\"UTF-8\"","ApiKey"]}},"status":401} at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:347) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:313) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:288) at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2699) at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:2171) ... 110 more 2025-07-21 15:59:01,622 [main] FATAL com.appiancorp.common.web.StartupHaltingServletContextListener - Appian initialization FAILED: see above stacktrace for details
It seems we are unable to configure the password for the user appian in elasticsearch. In order to do that we configured the following properties:
conf.password.SearchServer
<APPIAN_HOME>/conf/passwords.properties
conf.search-server.user.appian.password
<APPIAN_HOME>/search-server/conf/custom.properties
But we are still getting the same error. Are we missing anything? How can we ensure that we have the correct user and password to connect to elasticsearch?
Discussion posts and replies are publicly visible