<?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: Networking error leads to orphaned transaction? in cybersource APIs</title>
    <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Networking-error-leads-to-orphaned-transaction/m-p/82388#M57</link>
    <description>&lt;P&gt;Orphaned transactions and distributed deadlocks happen when there is a session established to the database without any current running requests, but there was a request (one query or more) that holds locking on database object(s).&lt;/P&gt;&lt;P&gt;Orphaned transactions can cause a lot of locking and blocking on the database, and usually it is related to the application and how it is code is written “badly” or in a way that meets the atomicity of the transactions: "commit all or rollback all".&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 05:04:07 GMT</pubDate>
    <dc:creator>SandraLewisFrin</dc:creator>
    <dc:date>2022-04-28T05:04:07Z</dc:date>
    <item>
      <title>Networking error leads to orphaned transaction?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Networking-error-leads-to-orphaned-transaction/m-p/82369#M53</link>
      <description>&lt;P&gt;Background: We've been successfully using Authorize.net on a very active web site since 2015. Our server is written in Java and we're using the provided Java SDK.&lt;/P&gt;&lt;P&gt;Recently, we became aware of a case where a customer's credit card was charged, but their order was not processed. When we investigated the problem, we found these messages in our logs:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2022-04-15 15:07:48,991 Http request execute failed: 'Read timed out'
2022-04-15 15:07:48,992 Adding ErrorMessage: Code: 'java.net.SocketTimeoutException', Text: 'Read timed out'
2022-04-15 15:07:48,992 Invalid response:'net.authorize.api.contract.v1.ANetApiResponse@443cfbdf'
2022-04-15 15:07:48,992 [Read timed out]&lt;/LI-CODE&gt;&lt;P&gt;What we think happened is that we posted a CreateTransactionRequest which was received and successfully processed, but while our server was waiting for a response, there was some kind of network outage or failure that caused us to get a SocketTimeoutException.&lt;/P&gt;&lt;P&gt;As you might imagine, our code is set up to catch exceptions during payment processing and when one is caught, it rolls back its database transaction and tells the user that the transaction failed.&lt;/P&gt;&lt;P&gt;Can what I describe happen? If it did happen this way, would the Authorize.net side still let the payment go through?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 23:28:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Networking-error-leads-to-orphaned-transaction/m-p/82369#M53</guid>
      <dc:creator>flarosa</dc:creator>
      <dc:date>2022-04-26T23:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Networking error leads to orphaned transaction?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Networking-error-leads-to-orphaned-transaction/m-p/82388#M57</link>
      <description>&lt;P&gt;Orphaned transactions and distributed deadlocks happen when there is a session established to the database without any current running requests, but there was a request (one query or more) that holds locking on database object(s).&lt;/P&gt;&lt;P&gt;Orphaned transactions can cause a lot of locking and blocking on the database, and usually it is related to the application and how it is code is written “badly” or in a way that meets the atomicity of the transactions: "commit all or rollback all".&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 05:04:07 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Networking-error-leads-to-orphaned-transaction/m-p/82388#M57</guid>
      <dc:creator>SandraLewisFrin</dc:creator>
      <dc:date>2022-04-28T05:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Networking error leads to orphaned transaction?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Networking-error-leads-to-orphaned-transaction/m-p/82505#M84</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When I upgraded a 1.2GB wallet.dat from 1.4.0 to 1.5.0, I instantly observed HUGE delays in JSON RPC (over 30 seconds per query). During the 30 seconds, the wallet was constantly flushing and writing 250MB/sec IO to disk (SSD based). This essentially made it completely useless to run as a pool wallet as I was only getting 2-3 payouts per minute (thanks RPC), and since MPOS (frontend) uses RPC for dashboard data, it was causing 30 second page load times (and im most cases, page load failures).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 08:43:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Networking-error-leads-to-orphaned-transaction/m-p/82505#M84</guid>
      <dc:creator>VictorJohnsonan</dc:creator>
      <dc:date>2022-05-06T08:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Networking error leads to orphaned transaction?</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Networking-error-leads-to-orphaned-transaction/m-p/84254#M416</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;In order to mark this as an orphaned, distributed transaction SPID&lt;A title="," href="https://techrayss.com/what-printers-can-be-used-for-sublimation/" target="_blank" rel="noopener"&gt;,&lt;/A&gt; SQL Server changes the SPID from a&amp;nbsp;positive number to&amp;nbsp;the counting for that issue.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 12:57:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Networking-error-leads-to-orphaned-transaction/m-p/84254#M416</guid>
      <dc:creator>joseemily</dc:creator>
      <dc:date>2022-09-22T12:57:06Z</dc:date>
    </item>
  </channel>
</rss>

