I have an ArcGIS Server 10.5 feature service registered with ArcGIS Online added to a webmap which i'm trying to take offline. The feature service has sync enabled and is available for download in Collector, however when i try to download the map, the download makes it to about 3/4 of the progress bar then pauses for a long time and eventually fails with an error that says illegal start of token.
I am able to remote into the ArcGIS Server machine and see that the runtime geodatbase is created successfully and placed in the output directory. This geodatabase can be downloaded manually by requesting the URL for the file directly. If I use the GP tool to convert the runtime geodatabaes to a file geodatabase i can see that the data I requested is in the file.
The error logs for ArcGIS Server show that the request completed successfully.
Does anyone know why Collector might be failing to fully complete the download?
|FINE||Aug 9, 2017, 8:51:41 PM||String request successfully processed. Response size is 381 characters.||System/SyncTools.GPServer|
|VERBOSE||Aug 9, 2017, 8:51:41 PM||Save job j46f1824f2016475385c9b242619f2178 message type Binary message size 381||System/SyncTools.GPServer|
|VERBOSE||Aug 9, 2017, 8:51:41 PM||Save job j46f1824f2016475385c9b242619f2178 message type Binary message size 5544||System/SyncTools.GPServer|
|VERBOSE||Aug 9, 2017, 8:51:41 PM||Execute job j46f1824f2016475385c9b242619f2178||System/SyncTools.GPServer|
|FINE||Aug 9, 2017, 8:51:40 PM||REST request successfully processed. Response size is 370 characters|
Does this happen for all web maps containing services from your server? Is Collector on the latest version? iOS and Windows are at 17.0.1 and Android is at 17.0.2
It appears this was related to the firewall blocking the download of the runtime database and blocking the job file that gets created during an asynchronous request to create a replica.
After opening up these items the map can be successfully taken offline.
Get Outlook for iOS<https://aka.ms/o0ukef>
Can you mark your response as the correct answer? Glad to know you have things working now!