Collector (IOS app) issue downloading for offline use with Windows Auth enabled.

3814
3
02-18-2015 09:04 AM
RyanDay
New Contributor III

We have Portal for ArcGIS setup with Windows Authentication and HTTPS.  We are having issues downloading for offline use with the Apple version of Collector (The android version works), it errors on download with error:

the operation couldn't be completed. (NSRULErrorDomain Error - 1013)

Via the IIS logs (web adapter), the basemap looks to be successfully downloaded, and the CreateReplica call executes and just looks like it dies at the very last call for the Geodatabase file from the arcgisoutput directory (FeatureService).

The IIS log has 3 401's

2015-02-18 15:55:32 172.16.61.98 GET /arcgis/rest/directories/arcgisoutput/DataCollection/Residential_Versioned_MapServer/_ags_data{746DE8EA60C141E4A9A1E7D6D0F98ECE}.geodatabase - 443 - 172.17.1.41 Collector-iOS-10.2.7:ArcGISiOS-10.2.4/8.1.2/iPad4,4 401 2 5 139

2015-02-18 15:55:32 172.16.61.98 GET /arcgis/rest/directories/arcgisoutput/DataCollection/Residential_Versioned_MapServer/_ags_data{746DE8EA60C141E4A9A1E7D6D0F98ECE}.geodatabase - 443 - 172.17.1.41 Collector-iOS-10.2.7:ArcGISiOS-10.2.4/8.1.2/iPad4,4 401 2 5 104

2015-02-18 15:55:32 172.16.61.98 GET /arcgis/rest/directories/arcgisoutput/DataCollection/Residential_Versioned_MapServer/_ags_data{746DE8EA60C141E4A9A1E7D6D0F98ECE}.geodatabase - 443 - 172.17.1.41 Collector-iOS-10.2.7:ArcGISiOS-10.2.4/8.1.2/iPad4,4 401 2 5 40

The file is there, and if i were to turn on 'Anonymous Access' on the web adapter the download does successfully complete (but nothing else works right since its set to use windows domain still).

Whereas the Android app gets to this step and passes the windows auth credentials correctly, the apple app doesn't seem to be sending them at all.

Anyone have this setup working? know what i'm missing?

Cheers,

Ryan.

0 Kudos
3 Replies
RyanDay
New Contributor III

Is this functionality even available in the current version of IOS Collector (10.2.7) ?  - Integration with Portal for Arcgis and ArcGIS Sever 10.3?

0 Kudos
DeniseKing
Esri Regular Contributor

Hi Ryan,

We are unable to reproduce the behavior you report during testing on 10.3 Portal with IWA. There are several Ryan Day users in our system - what is your place of employment to get this started? Please provide additional information to work with Support to help troubleshoot this issue.

Thanks,

Denise

Denise King | Technical Lead - Apps/Mobile

dking@esri.com

0 Kudos
deleted-user-AYsXjhkrwuAA
New Contributor III

Hi Ryan Day​ - did you ever find a resolution to this?

We are just encountering the same problem but now from ArcGIS Collector (10.3.3) - again 401 errors in the IIS logs where some requests from Collector are sent with credentials but others are not and fail with a 401.

What's frustrating is that Collector has my credentials, uses them to authenticate like you can see in the call to the job but then doesn't bother to send them when trying to download the geodatabase  :\

DateTimeVerbURLUsernameHTTP Status
2015-10-0612:36:40GET/arcgisprivate/rest/services/test/frm_inspections_own/FeatureServer/jobs/jd468af57cf524e7ab031198e08385b6c[My Windows Username]200
2015-10-0612:36:40GET/arcgisprivate/rest/directories/arcgisoutput/test/frm_inspections_own_MapServer/_ags_data{F18E7D6E68B34B878DEE0C88E00E0E65}.geodatabase-401
2015-10-0612:36:40GET/arcgisprivate/rest/directories/arcgisoutput/test/frm_inspections_own_MapServer/_ags_data{F18E7D6E68B34B878DEE0C88E00E0E65}.geodatabase-401

Thanks

Andrew

0 Kudos