KB-1752 Data server start failed due to WebSocket connection failure

This issue has been resolved in an Appian hotfix/new Appian version. Please apply the latest hotfix to your Appian installation or upgrade to the latest version of Appian.

Symptoms

The data server fails to start with the following errors:

ERROR com.appian.data.server.Watchdog - Shutting down with exit code 1... com.appian.data.server.UnrecoverableError: Established WebSocket connection but failed to receive heartbeat from localhost:5400
.
.
.
ERROR com.appian.data.server.Watchdog - Start up failed. Shutting down... Cause:
java.lang.IllegalStateException: Unable to kill data-server component using d:\appian\data-server\bin\..\lib\scripts\kill-component.bat
at com.appian.data.server.Watchdog.killComponent(Watchdog.java:549)
at com.appian.data.server.Watchdog.heal(Watchdog.java:263)
at com.appian.data.server.Watchdog.healOnStart(Watchdog.java:208)
at com.appian.data.server.Watchdog.startup(Watchdog.java:135)
at com.appian.data.server.Watchdog.main(Watchdog.java:687)
Caused by: java.util.concurrent.TimeoutException: Timed out waiting for java.lang.ProcessImpl@e3cee7b to finish, timeout: 5000 milliseconds, executed command [d:\appian\data-server\bin\..\lib\scripts\kill-component.bat, hs]
at org.zeroturnaround.exec.ProcessExecutor.newTimeoutException(ProcessExecutor.java:1079)
at org.zeroturnaround.exec.ProcessExecutor.waitFor(ProcessExecutor.java:1042)
at org.zeroturnaround.exec.ProcessExecutor.execute(ProcessExecutor.java:860)
at com.appian.data.server.Watchdog.killComponent(Watchdog.java:547)

Cause

During data server startup, if the Watchdog is unable to detect the other data server components, it will time out and exit. This issue has been addressed in the following hotfixes/versions:

Action

Apply the latest hotfix to your Appian installation. 

Affected Versions

This article applies to Appian 18.1 and 18.2.

Last Reviewed: October 2018

Related
Recommended