<?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: Python Script Error 10054 Connection abort in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/python-script-error-10054-connection-abort/m-p/516663#M7155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I upgraded to the latest version of the ArcGIS Python API and added the following garbage collection code to my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;import gc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#every time before I upload something&lt;/P&gt;&lt;P&gt;gc.collect()&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From some research I did it seems like Python wants to put the entire file into memory before uploading it, and occasionally this can cause the error...&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI same issue here -&amp;gt;&amp;nbsp;&lt;A href="https://community.esri.com/thread/254332-getting-winerrors-10060-and-10054-when-using-arcgis-api-for-python-against-portal-1061"&gt;https://community.esri.com/thread/254332-getting-winerrors-10060-and-10054-when-using-arcgis-api-for-python-against-portal-1061&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2020 00:57:49 GMT</pubDate>
    <dc:creator>DanMallett</dc:creator>
    <dc:date>2020-09-11T00:57:49Z</dc:date>
    <item>
      <title>Python Script Error 10054 Connection abort</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/python-script-error-10054-connection-abort/m-p/516662#M7154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm runing a python script to update some features in the AGOL from my university, i have the creator permissions, but it gives me the error 10054 connection abort by the host every time i run the code, can someone help me? Thanks, have a great day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2020 04:23:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/python-script-error-10054-connection-abort/m-p/516662#M7154</guid>
      <dc:creator>MartimPresser</dc:creator>
      <dc:date>2020-08-03T04:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script Error 10054 Connection abort</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/python-script-error-10054-connection-abort/m-p/516663#M7155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I upgraded to the latest version of the ArcGIS Python API and added the following garbage collection code to my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;import gc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#every time before I upload something&lt;/P&gt;&lt;P&gt;gc.collect()&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From some research I did it seems like Python wants to put the entire file into memory before uploading it, and occasionally this can cause the error...&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI same issue here -&amp;gt;&amp;nbsp;&lt;A href="https://community.esri.com/thread/254332-getting-winerrors-10060-and-10054-when-using-arcgis-api-for-python-against-portal-1061"&gt;https://community.esri.com/thread/254332-getting-winerrors-10060-and-10054-when-using-arcgis-api-for-python-against-portal-1061&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2020 00:57:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/python-script-error-10054-connection-abort/m-p/516663#M7155</guid>
      <dc:creator>DanMallett</dc:creator>
      <dc:date>2020-09-11T00:57:49Z</dc:date>
    </item>
  </channel>
</rss>

