<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Service Publishing - Token Renewal Failed in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/service-publishing-token-renewal-failed/m-p/591570#M22899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/384638"&gt;Adam Roberts&lt;/A&gt;‌ - 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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Feb 2020 03:27:38 GMT</pubDate>
    <dc:creator>JordanKing3</dc:creator>
    <dc:date>2020-02-14T03:27:38Z</dc:date>
    <item>
      <title>Service Publishing - Token Renewal Failed</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/service-publishing-token-renewal-failed/m-p/591567#M22896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&amp;nbsp;on a mapped network drive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Token Renewal Failed (No credentials available).&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;10014&lt;/P&gt;&lt;P&gt;Core server call to create service failed (/admin/createService).&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;23850&lt;/P&gt;&lt;P&gt;Failed to create the service.: Token renewal failed (No credentials available).&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;23836&lt;/P&gt;&lt;P&gt;Token renewal failed (No credentials available).&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;100104&lt;/P&gt;&lt;P&gt;Error executing tool: Publish Service Definition – Failed to execute (Publish Service Definition). &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;20010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies, I am not able to copy the full log. The numbers to the right are the associated error code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any advice for publishing large services? or know if there&amp;nbsp;are any other workaround to get around what we are experiencing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jordan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 11:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/service-publishing-token-renewal-failed/m-p/591567#M22896</guid>
      <dc:creator>JordanKing3</dc:creator>
      <dc:date>2019-08-01T11:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Service Publishing - Token Renewal Failed</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/service-publishing-token-renewal-failed/m-p/591568#M22897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 06:07:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/service-publishing-token-renewal-failed/m-p/591568#M22897</guid>
      <dc:creator>JordanKing3</dc:creator>
      <dc:date>2019-08-02T06:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Service Publishing - Token Renewal Failed</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/service-publishing-token-renewal-failed/m-p/591569#M22898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/221060"&gt;Jordan King&lt;/A&gt;&amp;nbsp;- We have the exact same issue (running 10.7.1 and&amp;nbsp;unfortunately our service takes 9 hours to fail).&amp;nbsp; Were you able to figure out how to get past this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 14:10:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/service-publishing-token-renewal-failed/m-p/591569#M22898</guid>
      <dc:creator>AdamRoberts</dc:creator>
      <dc:date>2019-12-13T14:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Service Publishing - Token Renewal Failed</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/service-publishing-token-renewal-failed/m-p/591570#M22899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/384638"&gt;Adam Roberts&lt;/A&gt;‌ - 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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2020 03:27:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/service-publishing-token-renewal-failed/m-p/591570#M22899</guid>
      <dc:creator>JordanKing3</dc:creator>
      <dc:date>2020-02-14T03:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Service Publishing - Token Renewal Failed</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/service-publishing-token-renewal-failed/m-p/591571#M22900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the update.&amp;nbsp; To get around this issue, we were able to save off the SD file and then publish via arcpy:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
sd &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'{path-to-sd-file}\SA.sd'&lt;/SPAN&gt;
con &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'{path-to-ags-file}\server.ags'&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;UploadServiceDefinition_server&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sd&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; con&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;A&amp;nbsp;serendipitous find for sure since we now use this approach for all our service publishing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:24:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/service-publishing-token-renewal-failed/m-p/591571#M22900</guid>
      <dc:creator>AdamRoberts</dc:creator>
      <dc:date>2021-12-12T01:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Service Publishing - Token Renewal Failed</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/service-publishing-token-renewal-failed/m-p/1548565#M40755</link>
      <description>&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any update to this thread?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AB&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 03:45:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/service-publishing-token-renewal-failed/m-p/1548565#M40755</guid>
      <dc:creator>anbinh</dc:creator>
      <dc:date>2024-10-15T03:45:18Z</dc:date>
    </item>
  </channel>
</rss>

