Select to view content in your preferred language

Collector (classic and current) Timeout issue on download

1645
1
Jump to solution
08-28-2019 02:38 AM
AdrianMarsden
Honored Contributor

OK - after a few years without working with Collector, we've had a new need - so I'm having to recall how to set it all up again

Initially on Classic but now on the current version

The sync fails with Timeout message.  However small an area is selected.

Nothing in the server logs

Lots of lines in the IIS log like

2019-08-28 09:25:32 10.100.200.73 POST /arcgis/rest/services/BaseMap/MapServer/exportTiles/jobs/jebd763605bde467ab2c1884ed398432c_et token=CAwn6mbR81poeh_gY6Imo7d3aN_vQ4YGauHigm_SBQa54HPnh 443 - 34.234.176.30 ArcGISRuntime-iOS/10.3.0+(iOS+12.3.1;+iPad4,2)+arcgis-collector/19.0.2+(26354975-2DEE-44DC-81B1-11E5A36760F9) http://www.arcgis.com 200 0 0 155
2019-08-28 09:25:32 10.100.200.73 POST /arcgis/rest/services/BaseMap/MapServer/exportTiles/jobs/jebd763605bde467ab2c1884ed398432c_et/results/out_service_url token=CAwn6mbR81poeh_gY6Imo7d3aN_vQ4YGauHigm_SBQa54HPnh 443 - 34.234.176.30 ArcGISRuntime-iOS/10.3.0+(iOS+12.3.1;+iPad4,2)+arcgis-collector/19.0.2+(26354975-2DEE-44DC-81B1-11E5A36760F9) http://www.arcgis.com 200 0 0 111

So the request is getting through to the server.

Server is 10.6.1 on a DMZ server that is pulling data from out LAN SQL servers.

A layers.tpk file is created in the server output folder that matches the requested area.

It looks like this tpk file isn't then being sent to the device.

Using the current version with logging on I get the final line in the log -

28/08/2019, 15:09 [FB892B7B-AFFF-4AB4-9629-1B48C85D0772] - job failed 28/08/2019, 15:09 [FB892B7B-AFFF-4AB4-9629-1B48C85D0772] - Error downloading map: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x281327660 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <F5A70B7C-F225-445F-92F3-3BF420C90712>.<1269>, _NSURLErrorRelatedURLSessionTaskErrorKey=(

    "LocalDataTask <F5A70B7C-F225-445F-92F3-3BF420C90712>.<1269>"

), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://maps.xxxx/arcgis/rest/directories/arcgisoutput/BaseMap2019_MapServer/_agsLMapCacheLC8FE?f=json, NSErrorFailingURLKey=https://maps.xxxx/arcgis/rest/directories/arcgisoutput/BaseMap2019_MapServer/_agsLMapCacheLC8FE?f=json, _kCFStreamErrorDomainKey=4} 28/08/2019, 15:09 [FB892B7B-AFFF-4AB4-9629-1B48C85D0772] - job failed

Any ideas?

Cheers


ACM

EDIT: A direct REST request for the tiles also works without any issue.  

0 Kudos
1 Solution

Accepted Solutions
AdrianMarsden
Honored Contributor

EDIT - this seemed to be an internal thing - our WiFi wasn't liking the URL - odd that the device was connecting direct to the server, rather than via AGOl, but got it sorted now

View solution in original post

1 Reply
AdrianMarsden
Honored Contributor

EDIT - this seemed to be an internal thing - our WiFi wasn't liking the URL - odd that the device was connecting direct to the server, rather than via AGOl, but got it sorted now