KB-1568 403 Forbidden error or Connection timed out error when attempting to deploy an application to an Appian Cloud site from the command line using the Deployment Automation Manager

Symptoms

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:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<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>
</body></html>

or the following error message:

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.

Cause

IP whitelisting is enabled on the Appian Cloud site and the request from the Deployment Automation Manager script is not coming from an IP within the whitelisted range.

Action

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 whitelist.
  2. Ensure that the request from the command line script is originating from a public IP address that is already whitelisted for the Appian Cloud site.

Affected Versions

This article applies to all versions of Appian Cloud.

Last Reviewed: April 2018

Related
Recommended