<?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: asp.net - connection errors in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/asp-net-connection-errors/m-p/58101#M32773</link>
    <description>&lt;P&gt;Sometimes intermittent&amp;nbsp;errors like this can be cause by malformed data being sent to the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is your application calling &lt;A href="https://secure2.authorize.net/gateway/transact.dll" target="_blank"&gt;https://secure2.authorize.net/gateway/transact.dll&lt;/A&gt; or&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api.authorize.net/xml/v1/request.api" target="_blank"&gt;https://api.authorize.net/xml/v1/request.api&lt;/A&gt; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 May 2017 21:50:50 GMT</pubDate>
    <dc:creator>NexusSoftware</dc:creator>
    <dc:date>2017-05-17T21:50:50Z</dc:date>
    <item>
      <title>asp.net - connection errors</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/asp-net-connection-errors/m-p/58097#M32769</link>
      <description>&lt;P&gt;I inherited an old ASP.NET 2.0 app that uses the AuthorizeNet.dll. It is difficult for me to tell what version of the DLL we are using as the original developer did not retain the downloaded source code and the DLL does not have an embedded version number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nevertheless, the server code is quite simple - it uses the AuthorizationRequest and Gateway objects to receive a GatewayResponse object from Authorize.net. The code has been running smoothly for a long time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This morning we started receiving hard errors listed below. This is hitting the production Authorize.Net servers - not the sandbox. I am aware that the Sandbox no longer supports TLS 1.0. And yes, we will be upgrading this server to .NET 45 and TLS 1.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is strange is that some transactions do go through. So the connection issues seem to be intermittent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me figure out where to start looking? Anything in the firewall? Ports? Server addresses? Thanks -- Bryan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[SocketException (0x2746): An existing connection was forcibly closed by the remote host]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) +7181331&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) +196&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) +7154527&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) +190&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) +7302834&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) +214&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; System.Threading.ExecutionContext.runTryCode(Object userData) +376&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) +98&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) +1131&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) +88&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) +20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; System.Net.ConnectStream.WriteHeaders(Boolean async) +360&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[WebException: The underlying connection was closed: An unexpected error occurred on a send.]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 19:26:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/asp-net-connection-errors/m-p/58097#M32769</guid>
      <dc:creator>BryanK</dc:creator>
      <dc:date>2017-05-17T19:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: asp.net - connection errors</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/asp-net-connection-errors/m-p/58101#M32773</link>
      <description>&lt;P&gt;Sometimes intermittent&amp;nbsp;errors like this can be cause by malformed data being sent to the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is your application calling &lt;A href="https://secure2.authorize.net/gateway/transact.dll" target="_blank"&gt;https://secure2.authorize.net/gateway/transact.dll&lt;/A&gt; or&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api.authorize.net/xml/v1/request.api" target="_blank"&gt;https://api.authorize.net/xml/v1/request.api&lt;/A&gt; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 21:50:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/asp-net-connection-errors/m-p/58101#M32773</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2017-05-17T21:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: asp.net - connection errors</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/asp-net-connection-errors/m-p/58102#M32774</link>
      <description>&lt;P&gt;If your application uses a firewall to filter outbound connections, make sure that the firewall is set to allow outbound traffic to flow to the Akamai cloud by configuring your outbound firewall to “ANY.”&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your application connects to Authorize.Net directly via an IP address, you will need to update it to connect via domain name.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://api2.authorize.net/xml/v1/request.api" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api2.authorize.net/xml/v1/request.api&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://secure2.authorize.net/gateway/transact.dll" target="_blank" rel="nofollow noopener noreferrer"&gt;https://secure2.authorize.net/gateway/transact.dll&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Connecting directly via an IP address is strongly discouraged as merchants will not receive the benefits of routing through Akamai, and could suffer a loss of service if transactions are re-routed among our various data centers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 22:01:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/asp-net-connection-errors/m-p/58102#M32774</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2017-05-17T22:01:01Z</dc:date>
    </item>
  </channel>
</rss>

