KB-1568 Errors when deploying application to Appian Cloud site from the command line using Deployment Automation Manager


When attempting to deploy an application to an Appian Cloud site via the Deployment Automation Manager's command line tool, the script returns either a 403 forbidden error:

<title>403 Forbidden</title>
<p>You don't have permission to access /suite/plugins/servlet/stateless/remotedeploymentautomation
on this server.</p>
<p>Additionally, a 403 Forbidden
error was encountered while trying to use an ErrorDocument to handle the request.</p>

or the following connection timeout error:

org.apache.http.conn.HttpHostConnectException: Connect to example@appiancloud.com:443 [example.appiancloud.com/<IP_ADDRESS>] failed: Connection timed out: connect

No login attempts are seen in login-audit.csv and no traffic to the servlet URL is seen in the JBoss access logs.


Trusted IPs are configured on the Appian Cloud site and the request from the Deployment Automation Manager script is not coming from an IP within the allowed range.


There are 2 options:

  1. Contact Appian Support by creating a support case with the public IP address that the script request is originating from so that it can be added to the list of trusted/allowed IPs.
  2. Ensure that the request from the command line script is originating from a public IP address that is already configured as a trusted IP for the Appian Cloud site.

Affected Versions

This article applies to all versions of Appian Cloud.

Last Reviewed: June 2020