You are currently reviewing an older revision of this page.

KB-XXXX Unable to acquire a Read connection. Safe to retry

Symptoms

The following error in seen in the application server log:

com.appiancorp.kougar.driver.exceptions.SafeRetryException: Unable to acquire a Read connection. Safe to retry.

Cause

The error indicates that the application server is unable to communicate with the engines within a reasonable amount of time. This error is often seen when starting up an environment. It can also be seen at other times when the environment is already up and running, but there is a high load on the engines.

Action

If you are running Appian version 17.2 or prior, run the checkengine script: <APPIAN_HOME>/server/_scripts/diagnostic/checkengine.bat|.sh.

If you are running Appian version 17.3 or above, run the status script: <APPIAN_HOME>/services/bin/status.bat|.sh.

I would recommend that you review the performance logs from the time that you encountered the error to see if there was an unusually high load on the system. Based on that information, it may be worthwhile to factor that amount of resource utilization into your application design and/or architecture.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: December 2017