Cannot Enable Replication: java.net.ConnectException on AhsayCBS
June 4, 2025
Product Version
AhsayCBS: 7.13.0.0 - 7.17.x
Operating System
All Platforms
Symptom
When enabling replication to another AhsayCBS server the following error is shown on the AhsayCBS web console when saving the settings
Failed to mkdirs, path: settings, (com.ahsay.afc.cloud.d: [RpsManager.list] Failed to list path: . Reason: java.net.ConnectException: Connection timed out: connect)
Cause
This issue can occur if the hostname or IP address entered in the Host Name value is incorrect.
Resolution
To resolve the issue, verify if the hostname or IP address of the AhsayCBS (Accepting Data) server or replication server is correct:
For installation on Windows:
- Open a web browser on the AhsayCBS backup server.
- Enter the hostname or IP address of the AhsayCBS (Accepting Data) server or replication server.
- If the hostname or IP address is correct, the AhsayCBS web console should be displayed.
For installation on Linux / Unix:
- Login to the AhsayCBS backup server using ssh as root.
- Use the 'ping' command such as 'ping ${hostname}' or 'ping ${IP_address}' to verify if it resolves correctly.