Hi All
I have had a version of the code example below that reconciles/posts branch versions on a nightly basis for quite some time now. The day I upgraded to ArcGIS Pro 3.3 it no longer works. The main failure point seems to be in the urllib.request.urlopen request to get the list of versions to reconcile for each service. I've tested the URL and it is valid along with the token. Does anyone know if something has changed with the urllib since previous versions.
FYI I tested the sample code below (which says ArcGIS Pro 3.3) but it also fails.
https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/automate-reconcile-and-post-operations-for-sync-enabled-branch-versioned-data.htm#ESRI_SECTION1_8E1E8184695B4CF0A23EE719F53FC67F
Any help would be great. Thanks!
do you mean urllib3?
" conda list "only lists it as a package
There appears to be something new in the urllib (or urllib3) libraries with Pro 3.3. I just rolled back to ArcGIS Pro 3.2 and the script and the request.url open successfully returns the list of versions as expected.
I can use urlopen with a webpage (https://google.com) but I get the error when trying to access our server rest endpoint (https://my.server.local/rest). I'm missing something here.
There error is:
HTTPSConnectionPool(host='myserver.mc.local', port=443): Max retries exceeded with url: /arcgis/rest/services?f=json (Caused by ProtocolError('Connection aborted.', ConnectionResetError(100 54, 'An existing connection was forcibly closed by the remote host', None, 10054, None)))
I have also discovered that this fails also when using the ArcGIS for Python API when trying to get a list of services in the same internal portal instance.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.