Hey Guys,
We're trying to publish a very large MXD (60mb) and associated SD file (10mb) to ArcGIS Server and we keep getting a failed error after around 30 minutes or so.
For context, we have a 10.6.1 AGS, which is federated. The service we are trying to publish has a lot of layers in it (over 100) and has an associated pre-built cache, which sits on a mapped network drive.
We've tried to publish it through ArcGIS Desktop and also by uploading the SD file to the Server Manager and on both occasions we get this same log results after around 30 minutes of waiting for the publishing to complete:
Token Renewal Failed (No credentials available). 10014
Core server call to create service failed (/admin/createService). 23850
Failed to create the service.: Token renewal failed (No credentials available). 23836
Token renewal failed (No credentials available). 100104
Error executing tool: Publish Service Definition – Failed to execute (Publish Service Definition). 20010
Apologies, I am not able to copy the full log. The numbers to the right are the associated error code.
I'm guessing the token it grabs before it publishes may have a 30 minute expiry time and for some reason it is unable to get another one?
Does anyone have any advice for publishing large services? or know if there are any other workaround to get around what we are experiencing?
Cheers,
Jordan
Just an update to this, we went into the ArcGIS Server Security settings and changed the short-lived token time value to 120 minutes. We then tested publishing again and it still timed out with the same errors as above, way before 120 minutes too. So I guess this is not the correct token setting...
Jordan King - We have the exact same issue (running 10.7.1 and unfortunately our service takes 9 hours to fail). Were you able to figure out how to get past this issue?
Adam Roberts - not as yet. We are about to upgrade to 10.7.1 in the next couple of months, so we will try again at that version.
Thanks for the update. To get around this issue, we were able to save off the SD file and then publish via arcpy:
import arcpy
sd = '{path-to-sd-file}\SA.sd'
con = '{path-to-ags-file}\server.ags'
arcpy.UploadServiceDefinition_server(sd, con)
A serendipitous find for sure since we now use this approach for all our service publishing.
We are having the same issue now in ArcGIS Enterprise 11.3 when publishing referenced feature/map service from ArcGIS Pro 3.3. The referenced data is stored in SQL Azure Enterprise Geodatabase version 11.3.
Is there any update to this thread?
Regards,
AB