You are currently reviewing an older revision of this page.

DRAFT INT-XXXX - Data-server does not start with Could not establish WebSocket connection with <HOST_AND_POST>.

Symptoms

The Appian Data-Server will fail to start with the message "killed" in the stdout command line window.

When reviewing the watchdog.log file, the following message will be seen:

Failed to start HS gateway (port=5401)"}
Could not establish WebSocket connection with localhost:5401. The target Go process exited abnormally. Check for earlier errors (e.g. Go startup errors).
...
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /0.0.0.0:5401
...
Failed to start RTS-0 gateway (port=5404)"}
Could not establish WebSocket connection with localhost:5404. The target Go process exited abnormally. Check for earlier errors (e.g. Go startup errors).
...
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /0.0.0.0:5404

Cause

This message is seen when the user attempting to start the data-server does not have the required privileges to access the required ports and services that the data-server uses to start and run.

Action

The customer will need to work with his network admins and IT team to determine why those ports and services are blocked for that specific user. The customer will need to unblock those services and ports for the data-server to start.

Workaround

Starting the data-server as root will allow the data-server to start, but is not recommended as this will cause issues for the customer in the future.

Affected Versions:

This applies to all versions of Appian. 

Last Reviewed: March 2018