Tomcat 401 Unauthorized - Waiting for Appian component Search Server to be healthy...

Upgrading to Appian version 24.4 and cannot get the Tomcat server to initialize completely.

The following is a snippet from the tomcat-stdout.log:

"host [http://localhost:9200], URI [/], status line [HTTP/1.1 401 Unauthorized]
{"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticate":["Basic realm=\"security\", charset=\"UTF-8\"","ApiKey"]}}],"type":"security_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticate":["Basic realm=\"security\", charset=\"UTF-8\"","ApiKey"]}},"status":401}"

.....

[wait-for-component] INFO  com.appiancorp.common.startup.WaitForStatefulComponents - Waiting for Appian component Search Server to be healthy...

I've ensured the apiKeys match in <APPIAN_HOME>/conf/custom.properties and <APPIAN_HOME>/search-server/conf/custom.properties as identified in KB-2227 regarding apiKey mismatch

Does anyone have any suggestions on what else I can look at?

Thanks!

  Discussion posts and replies are publicly visible

Parents Reply
  • From what I can tell, yes.

    search-server.log snippet

    [INFO ][org.elasticsearch.cluster.routing.allocation.AllocationService] [localhost] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.security-7][0]]])." previous.health="RED" reason="shards started [[.security-7][0]]"

    I should have prefaced my initial question with the fact that I'm a Red Hat Admin who has been thrust into getting this running. I have ZERO prior experience with any Appian software, so forgive any ignorant questions I have

Children
  • 0
    Certified Lead Developer
    in reply to pgraves04

    Exceute status.bat located inside services/bin folder and share results.

    The syntax is status.bat -p <PASSWORD>

  • Detected Appian version 24.4.460.0 from build.info

    service manager started @ 2/27/25, 2:07 PM REACHABLE

    k license valid: true
    up time: 1 hour 28 minutes 55 seconds

    Engine Mode State TxnId
    ------------------------------------------------------------------
    analytics00 PRIMARY Running 819832
    analytics01 PRIMARY Running 819868
    analytics02 PRIMARY Running 819860
    channels PRIMARY Running 815893
    content PRIMARY Running 835745
    download-stats PRIMARY Running 816984
    execution00 PRIMARY Running 819032
    execution01 PRIMARY Running 819114
    execution02 PRIMARY Running 819001
    forums PRIMARY Running 815794
    groups PRIMARY Running 816190
    notifications PRIMARY Running 816073
    notifications-email PRIMARY Running 816453
    portal PRIMARY Running 816068
    process-design PRIMARY Running 23815826

    Kafka Broker Connectivity
    ------------------------------------------------------------------
    localhost:9092 Reachable controller ISR: All replicas in sync

    Zookeeper Connectivity
    ------------------------------------------------------------------
    localhost:2181 Reachable standalone