Cannot download map with AGOL Tiled Basemap

3561
6
12-17-2014 10:40 AM
ThomasColson
MVP Frequent Contributor

Following these exact instructions for taking a map offline, I am unable to perform the map download operation in Collector (IoS). I have successfully:

Published a FS with Sync-Enabled;

Tested CRUD operations in the FS through SDE Direct Connect, FS Local-copy editing in desktop, Editing through Portal, Editing in collector WITHOUT taking it offline;

Created a map with the AGOL tiled base map and the FS layer per Take maps offline—Collector for ArcGIS | ArcGIS.

Have a valid and active AGOL for Organizations Account, as well as a Portal instance.

Upon selecting "Download Map" in collector, the following error occurs: Unable to Download the Map the operation couldn't be completed .(NSURLErrorDomain error -1001.).

The Map is on Portal for ArcGIS 10.2.2...the FS is hosted on a separate, and Non-Federated ArcGIS Server 10.2.2. As explained above, communication between all pieces here seem to work, and I can edit in every scenario EXCEPT for taking it offline. What could be the problem here?

0 Kudos
6 Replies
RussRoberts
Esri Notable Contributor

The NSURL error message you are seeing is a server timeout error. If you could increase the timeout time on your server and retry the download and see if that works.

0 Kudos
ThomasColson
MVP Frequent Contributor

Which one, ArcGIS (Set to 1800 alreaday) or Portal? Even with 1800, I'm seeing this error at 2-3 minutes into the attempt. I've tried different wireless points and channels, getting good signal strength at 5 mbs. Happens on Ipad and Iphone. Other than this  issue though, portal working great, these new releases are getting much better.

0 Kudos
ThomasColson
MVP Frequent Contributor

Here's what I'm seeing in the server log. Seems like syncing is starting, and a success message is reported, but the device isn't so convinced.....

HTTP Referer: arcgisios

inputJSON = {"dataFormat":"sqlite","replicaID":"{52AC3E61-8238-4CB7-8F33-3978DE70E21C}","async":true,"editsUploadFormat":"sqlite","returnAttachmentsDataByUrl":false,"syncLayers":[{"id":0,"syncDirection":"bidirectional","serverGen":1418842511230}],"returnIdsForAdds":false,"editsUploadId":"i538b3b93-1284-4b70-803e-fd6b7a0bd2a1","transportType":"esriTransportTypeUrl"}

GraphicFeatureServer.HandleREST_SynchronizeReplicaOperation has started.

JobID: j1d4b84ddc024406fa5033a4f0ef79fbc. jobURL: http://***********/arcgis/rest/services/ESRI_TEST_MSFT_OFFLINE/FeatureServer/jobs/j1d4b84ddc024406fa...

GraphicFeatureServer.HandleREST_SynchronizeReplicaOperation has completed.

0 Kudos
RussRoberts
Esri Notable Contributor

Can you try to download the map with a basemap already on the device. Do you see the same timeout error?

Russ

0 Kudos
ThomasColson
MVP Frequent Contributor

Yes, I can (eventually) get the map and layer on the device. the problem is syncing back. In further testing, the sync-to-portal works almost all of the time on an Iphone 5s with the latest Ios, this is not working at all on an Ipad Air (same OS). Have eliminated the wireless being at fault as I get the same exact results (success on phone, failure on ipad) at work, home, and starbucks wireless.

0 Kudos
ThomasColson
MVP Frequent Contributor

Collector version is 10.2.7 on both devices.

0 Kudos