Hi there,
I have come across an issue where Collector fails to create a replica for an offline map where the map service / feature service has an SOI enabled. This has been tested with a vanilla empty SOI from the .NET template. The create replica and job calls appear to pass through fine but when the relica is actually created (and it does get created) and the call is passed back to the Sync tools an internal error occurs.
What is returned to Collector is
{"resultUrl":"","replicaName":"","submissionTime":1454618828000,"lastUpdatedTime":1454619008000,"status":"Failed","error":{"code":500,"description":"Failed to create replica."}}
Downloading of the map onto device then fails.
The logs detail the following - it looks like a bug but are we able to code around this in the SOI?
Thanks,
Fraser
FINE | String request successfully processed. Response size is 378 characters. | System/SyncTools.GPServer |
|
VERBOSE | Save job j52cc43e658e140bc8116b166a26eb8e7 message type Binary message size 378 | System/SyncTools.GPServer |
|
VERBOSE | Save job j52cc43e658e140bc8116b166a26eb8e7 message type Binary message size 552 | System/SyncTools.GPServer |
|
SEVERE | Error executing tool. CreateFeatureServiceReplica Job ID: j52cc43e658e140bc8116b166a26eb8e7 : ErrorMsg@SyncGPService:{"code":500,"description":"Failed to create replica."} Failed to execute (Create Feature Service Replica). | System/SyncTools.GPServer |
|
VERBOSE | Execute job j52cc43e658e140bc8116b166a26eb8e7 | System/SyncTools.GPServer |
|
FINE | REST request successfully processed. Response size is 103 characters. | System/SyncTools.GPServer | /createReplica |
FINE |
| System/SyncTools.GPServer |
|
FINE | Removing GeoTransformation: from GeoTransformation Defaults. | System/SyncTools.GPServer | SetupGeoTransformation::~SetupGeoTransformation |
SEVERE | An error occurred. | System/SyncTools.GPServer | GraphicFeatureServer::CreateSyncReplicaREST |
FINE |
| System/SyncTools.GPServer |
|
DEBUG | VirtualOutputDirectory: /rest/directories/arcgisoutput/SOI_MapServer/, CanUseUrls: 0, InServer: 1 | System/SyncTools.GPServer |
|
DEBUG | Time (ms): 59 (/arcgis/rest/services/SOI/FeatureServer/jobs/j52cc43e658e140bc8116b166a26eb8e7) | Rest |
DEBUG | Got Response: (SOI, MapServer) | Rest |
DEBUG | Posting response from worker thread. |
| |
FINE | REST request successfully processed. Response size is 117 characters. |
| jobs/j52cc43e658e140bc8116b166a26eb8e7 |
DEBUG | End GraphicFeatureServer.HandleREST_JobResource method. |
|
INFO | Request for the service 'System/SyncTools.GPServer' processed successfully. Response sent to the user '22a48e75-2607-4687-998f-27274f871f76'. | Soap |
DEBUG | Posting response from worker thread. | System/SyncTools.GPServer |
DEBUG | Request received in worker thread. | System/SyncTools.GPServer |
FINE | Binary request successfully processed. Response size is 1003 bytes. | System/SyncTools.GPServer |
|
FINE | Binary request received. Request size is 375 bytes. | System/SyncTools.GPServer |
|
DEBUG | Waiting for response from worker thread - System/SyncTools.GPServer. | System/SyncTools.GPServer |
DEBUG | Sending request to worker thread - System/SyncTools.GPServer. | System/SyncTools.GPServer |
DEBUG | Delegating request to GPServer - System/SyncTools.GPServer. | System/SyncTools.GPServer |
in debug soi have you errors ?
Hi,
There are no errors in the SOI - using the vanilla template the SOI just hands straight off to the appropriate delegate as a TRESTHandler - which in this case is the feature server. The error seems to happen in the server code following that pass off. Unless the SOI is handing it to the wrong delegate (but it looks ok?)
Ta
Fraser
We have the same issue - A createReplica Request fails when an interceptor is enabled. Errors seen are the same as above.
We have also tried disabling the interceptor to download the map and then re-enabling it to sync. However when syncing it fails (Error Log for Sync failure shown below).
Now 10.4 is available in myEsri. Have you a chance try with ags 10.4 ?
Yes we have tried 10.4 pre-release and we have the same issue.
Hi,
we have the same issue. Collector fails to download map if the service is extended by SOI. We are using 10.4 enviroment.
SEVERE | 21. 3. 2016 10:32:47 | Error executing tool. CreateFeatureServiceReplica |
Job ID: j5de19757bc734b779ab307c371d9f08a :
ErrorMsg@SyncGPService:{"code":500,"description":"Failed to create replica."}
Failed to execute (Create Feature Service Replica).
System/SyncTools.GPServer
Jakub
All, this has been logged as BUG-000094193. Please contact Esri Technical Support for options on how to proceed.