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.
I upgraded to the latest version of the ArcGIS Python API and added the following garbage collection code to my script:
import gc#every time before I upload somethinggc.collect()
import gc
#every time before I upload something
gc.collect()
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...
FYI same issue here -> https://community.esri.com/thread/254332-getting-winerrors-10060-and-10054-when-using-arcgis-api-for-python-against-portal-1061
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.