<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1270 "HTTP/1.1 403 Forbidden" thrown when attempting to run the HTTP Query smart service</title><link>https://community.appian.com/support/w/kb/483/kb-1270-http-1-1-403-forbidden-thrown-when-attempting-to-run-the-http-query-smart-service</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1270 "HTTP/1.1 403 Forbidden" thrown when attempting to run the HTTP Query smart service</title><link>https://community.appian.com/support/w/kb/483/kb-1270-http-1-1-403-forbidden-thrown-when-attempting-to-run-the-http-query-smart-service</link><pubDate>Tue, 07 Mar 2017 15:30:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9b09cc35-c29d-4bbe-a5b3-be73c7dbb003</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/483/kb-1270-http-1-1-403-forbidden-thrown-when-attempting-to-run-the-http-query-smart-service#comments</comments><description>Current Revision posted to Appian Knowledge Base by Nick Vigilante on 3/7/2017 3:30:32 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When using the HTTP Query node in a process model, the node fails and the following error is shown in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;INFO  [stdout] (Appian Work Item - 39 - ProcessExec01 : UnattendedJavaActivityRequest) 2016-09-16 14:33:22,586 [Appian Work Item - 39 - ProcessExec01 : UnattendedJavaActivityRequest] ERROR com.appian.integration.httpclient.function.HttpFunction - ConnectorRuntimeException [title=HTTP error connecting to &lt;a href="https://%3Curl%3E%2C/" target="_blank" rel="noreferrer"&gt;https://&amp;lt;url&amp;gt;,&lt;/a&gt; com.appian.integration.core.exception.ConnectorRuntimeException: HTTP/1.1 403 Forbidden]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;During the client key exchange, the certificate length is 0. Opening the packet capture in &lt;a href="https://www.wireshark.org/"&gt;Wireshark&lt;/a&gt; shows the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Client Key Exchange &amp;gt; Handshake Protocol: Certificate &amp;gt; Certificate Length=0
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;Appian is unable to find a certificate from the Admin Console that satisfies the customer&amp;#39;s list of trusted certificate authorities.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Upload a valid client certificate to the Admin Console&lt;/li&gt;
&lt;li&gt;Add the client certificate to the server&amp;#39;s list of trusted certificate authorities&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To determine the list of certificate authorities the server is expecting:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Generate a packet capture by running the following:
&lt;pre&gt;sudo tcpdump -n -i eth0:0 port 443 -w &amp;lt;pcap file name&amp;gt;.pcap&lt;/pre&gt;
If this is regarding a cloud site, please contact Appian Technical Support for generating the packet capture.&lt;/li&gt;
&lt;li&gt;Open the packet capture in Wireshark:
&lt;pre&gt;Certificate Request, Server Hello Done &amp;gt; Secure Sockets Layer &amp;gt; Handshake Protocol: Certificate Request &amp;gt; Distinguished Names&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;March 2017&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: web services, application design&lt;/div&gt;
</description></item></channel></rss>