When starting the Appian RPA agent, the icon will appear to be gray, which indicates that there is no connection to the site. From the jidoka-client.log in the same folder where the agent was installed, the following trace can be seen:
|ERROR|com.novayre.jidoka.client.JidokaClient.connect:1043|java.io.IOException: Maximum retry attempts reached |...| java.io.IOException: Maximum retry attempts reached…Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
This is usually occurs because there is a certificate not trusted by the JVM in your host machine for one of the following reasons:
Since the agent is running in the JVM, the certificate must be added to the Java Truststore. In order to identify the missing certificates, follow the steps below:
-Djavax.net.debug=all
AppianRPAagent.exe > jidoka-client-ssl.log 2>&1
Open the newly generated jidoka-client-ssl.log to see all the information related with the communication attempt performed and all the certificates failed to validate. The following terms will help you find the required information.
trustStore is
adding as trusted certificates
PKIX path building failed
Once the missing certificate has been located, it needs to be added to the Java Truststore.
JAVA_HOME\jre\lib\security\
JRE_HOME/bin/keytool -import -trustcacerts -alias <certAlias> -file <certFile> -keystore <trustStoreFilePath>
<certAlias>, <certFile> and <trustStoreFilePath>
Enter keystore password:
Trust this certificate? [no]:
Certificate was added to keystore
Please open a support case if you have any questions with any of these steps.
If the certificate is injected by an external application in the host machine, such as an antivirus or firewall, then the external application can be reconfigured to skip the certificate injection.
This article applies to all versions of Appian Cloud.
Last Reviewed: November 2023