<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Response returning empty in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52658#M27885</link>
    <description>&lt;P&gt;I have analyzed and addressed the following "issue" which may be relevant to this thread:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was observed that there was an intermittent failure when using Authorize.NET's Java SDK version 1.8.5 (which is dependent on HttpClient 4.0.1). Occasionally, when posting a transaction to "/xml/v1/request.api", we would get a response of "100 Continue" - this is part of the expect-continue feature of HTTP 1.1. A response from within the Anet SDK wouldn't occur and a timeout would be reached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SDK was submitting requests to the API which included the "Expect: 100-continue", and the Sandbox Authorize API was either responding with "200 OK" or "100 Continue" - I wasn't able to identify the pattern, if there is one. But, it would be expected that a response of "100 Continue" would be acceptable, because the client stated that in the request headers. This "intermittent" characteristic is why you see a number of people reporting intermittent successes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HttpClient 4.0.1's default behavor is to use Expect / Continue. The Anet SDK unfortunately doesn't provide a way to inject a custom configured HttpClient. So, I had to pull in the 1.8.5 tag from Git. (Thank you for making the source code available.) I added the following after line 81 of &lt;A href="https://github.com/AuthorizeNet/sdk-java/blob/master/src/main/java/net/authorize/util/HttpClient.java" target="_self"&gt;net.authorize.util.HttpClient&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier,monospace"&gt;httpPost.getParams().setBooleanParameter(CoreProtocolPNames.USE_EXPECT_CONTINUE, Boolean.FALSE);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The &lt;FONT face="courier new,courier,monospace"&gt;USE_EXPECT_CONTINUE&lt;/FONT&gt; parameter is described &lt;A href="http://www.atetric.com/atetric/javadoc/org.apache.httpcomponents/httpclient/4.0.1/index.html#USE_EXPECT_CONTINUE" target="_blank"&gt;here&lt;/A&gt;.&amp;nbsp;(Apache doesn't seem to host the old 4.0.1 API anymore.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a blurb in HttpClient's release notes about a fix that went in with version 4.0.2: &lt;A href="https://archive.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES-4.0.x.txt" target="_blank"&gt;"Non-repeatable entity enclosing requests are not correctly retried when 'expect-continue' handshake is active."&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And, HttpClient's 4.1 appears to have changed the default: &lt;A href="https://www.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES-4.3.x.txt" target="_blank"&gt;"'expect: continue' handshake disabled per default."&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I sincerely hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Oct 2015 22:19:26 GMT</pubDate>
    <dc:creator>xmrk</dc:creator>
    <dc:date>2015-10-19T22:19:26Z</dc:date>
    <item>
      <title>Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52524#M27758</link>
      <description>&lt;P&gt;We were using PHP SDK from&amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sdk-php" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-php&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;It was working but then suddenly stop working. Our issue is that the&amp;nbsp;response is returning empty. Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 15:30:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52524#M27758</guid>
      <dc:creator>mepting0235</dc:creator>
      <dc:date>2015-10-12T15:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52525#M27759</link>
      <description>&lt;P&gt;Having a similar issue haven't solved it, but check your authorize log file.&amp;nbsp; It may have more info.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 15:53:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52525#M27759</guid>
      <dc:creator>leo22</dc:creator>
      <dc:date>2015-10-12T15:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52526#M27760</link>
      <description>&lt;P&gt;Where can I find the authorize log file?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 16:09:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52526#M27760</guid>
      <dc:creator>mepting0235</dc:creator>
      <dc:date>2015-10-12T16:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52528#M27762</link>
      <description>&lt;P&gt;You would need to set it before the authorize autoload.php file is included.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set it by putting this: define("AUTHORIZENET_LOG_FILE",&amp;nbsp; "/path/to/log_file_here");&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 16:16:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52528#M27762</guid>
      <dc:creator>leo22</dc:creator>
      <dc:date>2015-10-12T16:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52529#M27763</link>
      <description>&lt;P&gt;Getting the same problem here since Friday as well. Auth.net log message is:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SSL certificate problem: unable to get local issuer certificate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to update ./lib/ssl/cert.pem from the GitHub project, as well as trying the big one from curl.haxx.se, neither one seems to work. I tried setting $VERIFY_PEER to false as well, but that apparently just shuts the whole connection down entirely. If I modify&amp;nbsp;./lib/shared/AuthorizeNetRequest.php to actually set CURLOPT_SSL_VERIFYPEER to false here, it does go through successfully. Obviously modifying the vendor code, and disabling the SSL verification, won't be ideal in the long term... likely fine in localhost/sandbox only, but I wouldn't want either one of those things in production.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 16:43:15 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52529#M27763</guid>
      <dc:creator>jblount13</dc:creator>
      <dc:date>2015-10-12T16:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52530#M27764</link>
      <description>&lt;P&gt;I'm receiving&amp;nbsp;this error....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SSL certificate problem, verify that the CA cert is OK. Details:&lt;BR /&gt;error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 17:41:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52530#M27764</guid>
      <dc:creator>mepting0235</dc:creator>
      <dc:date>2015-10-12T17:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52531#M27765</link>
      <description>&lt;P&gt;It seems the issue is that cert.pem is a sha1 certificate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/AuthorizeNet/sdk-php/blob/master/lib/ssl/cert.pem&amp;nbsp;" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-php/blob/master/lib/ssl/cert.pem&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 18:10:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52531#M27765</guid>
      <dc:creator>mepting0235</dc:creator>
      <dc:date>2015-10-12T18:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52532#M27766</link>
      <description>&lt;P&gt;I put the system in live mode and it seems to be working.....&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 18:32:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52532#M27766</guid>
      <dc:creator>mepting0235</dc:creator>
      <dc:date>2015-10-12T18:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52542#M27776</link>
      <description>&lt;P&gt;I have also same facing , please give me any idea how can resolve it.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 13:07:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52542#M27776</guid>
      <dc:creator>arunmishra</dc:creator>
      <dc:date>2015-10-13T13:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52544#M27778</link>
      <description>&lt;P&gt;If the issue is with .pem file&amp;nbsp;is sha 1, then .pem file having sha 2 may&amp;nbsp;resolve the issue. Anybody know how to create one?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 13:40:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52544#M27778</guid>
      <dc:creator>sajicodea</dc:creator>
      <dc:date>2015-10-13T13:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52548#M27782</link>
      <description>&lt;P&gt;I am also having this issue. Our environment did not chage, however we are recieving an empty response in sandbox mode. RIght now SSL verify peer is set to true, posting to &lt;A href="https://apitest.authorize.net/xml/v1/request.api" target="_blank"&gt;https://apitest.authorize.net/xml/v1/request.api&lt;/A&gt;&lt;A href="https://api.authorize.net/xml/v1/request.api." target="_blank"&gt;.&lt;/A&gt; If i set verify peer to false it works. But why on Friday did this just stop? Any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:30:46 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52548#M27782</guid>
      <dc:creator>rjrconsulting</dc:creator>
      <dc:date>2015-10-13T15:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52562#M27796</link>
      <description>&lt;P&gt;We are having the same issue. Our page errors out because the response is empty. What can we do to fix this ASAP?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our test in the sandbox works perfectly fine, but our live clients are having issues.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 23:50:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52562#M27796</guid>
      <dc:creator>swdesign</dc:creator>
      <dc:date>2015-10-13T23:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52565#M27799</link>
      <description>&lt;P&gt;Any word from Authorize.NET on this? This is a HUGE issue for us since it just started happening and is affecting PAYING clients.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 13:44:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52565#M27799</guid>
      <dc:creator>swdesign</dc:creator>
      <dc:date>2015-10-14T13:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52568#M27801</link>
      <description>&lt;P&gt;We're monitoring this thread but so far we're unable to duplicate the problem. &amp;nbsp;No changes were made to our systems during this time period.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you connect to the domain from that server, using anything? What about traceroute? &amp;nbsp;Were any modules updated on your system which could have effected the connection?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 15:37:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52568#M27801</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2015-10-14T15:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52572#M27805</link>
      <description>&lt;P&gt;When using the sandbox account I get this below. When switching back to the live a.net account it starts working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SSL certificate problem, verify that the CA cert is OK. Details:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 16:32:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52572#M27805</guid>
      <dc:creator>mepting0235</dc:creator>
      <dc:date>2015-10-14T16:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52573#M27806</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/7546"&gt;@RichardH﻿&lt;/a&gt;&amp;nbsp;I have the same situation as&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/9071"&gt;@mepting0235﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using the php-sdk from github:&amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sdk-php" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In sandbox mode whenever trying to communicate with Authorize we receive this response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SSL certificate problem, verify that the CA cert is OK. Details:&lt;BR /&gt;error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No changes were made to our system, this just stopped working on Friday the 9th&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an updated pem file that we need to use or should the one in the git repo be good?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 16:53:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52573#M27806</guid>
      <dc:creator>leo22</dc:creator>
      <dc:date>2015-10-14T16:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52575#M27808</link>
      <description>&lt;P&gt;Just downloaded PHP SDK from&amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sdk-php." target="_blank"&gt;https://github.com/AuthorizeNet/sdk-php.&lt;/A&gt; It seems&amp;nbsp;AIM is working fine. But when tried CIM (AuthorizeNetCIM) it is not working. Showing curl error "SSL certificate problem: unable to get local issuer certificate".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI : In both cases "AUTHORIZENET_SANDBOX" was set to true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 17:13:16 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52575#M27808</guid>
      <dc:creator>sajicodea</dc:creator>
      <dc:date>2015-10-14T17:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52576#M27809</link>
      <description>&lt;P&gt;The AIM is working, but the ARB is not working for us. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 18:00:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52576#M27809</guid>
      <dc:creator>mepting0235</dc:creator>
      <dc:date>2015-10-14T18:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52578#M27811</link>
      <description>&lt;P&gt;Same problem here. Seems it has been appeared last week. The AIM requests is working, but the CIM requests and TD requests return empty responses. Problem is only in sandbox mode.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 18:56:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52578#M27811</guid>
      <dc:creator>makdeb</dc:creator>
      <dc:date>2015-10-14T18:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Response returning empty</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52580#M27813</link>
      <description>&lt;P&gt;When you are using the SDK, are you use the original methods or the new controller model?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2015 19:31:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Response-returning-empty/m-p/52580#M27813</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2015-10-14T19:31:49Z</dc:date>
    </item>
  </channel>
</rss>

