I have a distributed collaboration set up between ArcGIS Enterprise and ArcGIS Online. The collaboration is currently synchronizing 16 feature layers as copies.
I am seeing frequent failures with the collaboration syncing one or more layers. The Collaboration Sync Status area of /portal/sharing/rest currently looks like this:
Digging in to one of the "completed_with_failures" records, I see messages like this:
[{ "taskStatusId": "9f50f1eba2404a04a61df6f351163539", "results": { "succeededCount": 15, "failedCount": 1, "notProcessedCount": 0 }, "failed": [{ "itemId": "823cac5574374d7d840e77eb67580ba8", "itemTitle": "Base_Parcel_Collaboration", "message": "Failed to export item '823cac5574374d7d840e77eb67580ba8' into a replication package : 'Exporting item failed'" }], "notProcessed": [], "created": 1709654574646 }]
Looking at the "completed_with_failures" errors, it appears that it is not always the same layer that causes the issue. In many cases it's a parcel layer that isn't changing anyway.
I increased the log levels for both Portal and Server to DEBUG and found entries similar to this in the portal logs:
Failed to synchronize replica. Failed to synchronize a replica on hosted feature layer 'https://gis.<redacted>.com/server/rest/services/Distributed_Collaboration/Base_Parcel_Collaboration/FeatureServer'. {"resultUrl":"","replicaName":"","submissionTime":1709653058000,"lastUpdatedTime":1709653067000,"status":"Failed","error":{"code":408,"description":"SyncTools service error.(null)"}}. Failed to synchronize a replica on hosted feature layer 'https://gis.<redacted>.com/server/rest/services/Distributed_Collaboration/Base_Parcel_Collaboration/FeatureServer'. {"resultUrl":"","replicaName":"","submissionTime":1709653058000,"lastUpdatedTime":1709653067000,"status":"Failed","error":{"code":408,"description":"SyncTools service error.(null)"}}
So it looks like the sync service is having an issue with...something(?), but I'm not sure where else to look. Hoping someone here has an idea on where to look / what to try to track down these intermittent errors.
Additional details:
ArcGIS Enterprise 11.1.0, fully patched
Geodatabase is running on SQL Server 2019 in AWS RDS
Collaboration is syncing 16 feature services as copies. Each service contains a single layer from the geodatabase.
Sync issue is intermittent between layers, but the most frequent errors appear to be with the parcel layers.
Thanks!
Yeah, it seems like a promising technology with a couple of frustrating shortcomings. For my purposes I still cannot fully leverage a distributed collaboration because of the limitation on the size of the output hosted feature layers. If this were increased from 1 GB to 5 GB or so I think I'd be all in.
As far as reliability goes I still receive the "Exporting item failed" messages daily for two of my layers but it hasn't been worth my time to take it up with support. Aside from that, it seems like it's been pretty reliable for me and it even survived without any hiccups when I upgraded my ArcGIS Enterprise environment from 11.1 to 11.3.
Agreed. We are on 11.3 and the copying of data from portal to AGOL is full of errors and inconsistencies when using distributed collaboration.