<?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: ArcGIS Server (AGS) 10.5.1 Fetching Token Error in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-ags-10-5-1-fetching-token-error/m-p/616819#M23694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I only have a Server deployment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide a link to the location in the Rest API documentation that would show how to manually generate a token?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that manual process throws an error, would Fiddler potentially provide some answers on the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2019 22:58:57 GMT</pubDate>
    <dc:creator>MichaelVolz</dc:creator>
    <dc:date>2019-02-12T22:58:57Z</dc:date>
    <item>
      <title>ArcGIS Server (AGS) 10.5.1 Fetching Token Error</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-ags-10-5-1-fetching-token-error/m-p/616817#M23692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a python script that originated from GitHub to stop AGS services, specifically geocode services, so that the associated address locator can be rebuilt from updated data.&amp;nbsp; This python script has been running successfully for over a year, but recently is throwing the error "&lt;SPAN style="font-size: 11.0pt;"&gt;Error while fetching tokens from admin URL. Please check the URL and try again."&amp;nbsp; The AGS 10.5.1 software has not changed so I am confused as to why all of a sudden I am getting these errors.&amp;nbsp; I am getting the error in all my organization's AGS environments (development, test, and production) where both development and production are 2-server load balanced sites and the test environment is a single server site.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Has anyone ever seen the error I have indicated above?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;If so, were you able to determine the root cause of the error?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Any help or feedback related to this issue is greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 20:22:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-ags-10-5-1-fetching-token-error/m-p/616817#M23692</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2019-02-11T20:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server (AGS) 10.5.1 Fetching Token Error</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-ags-10-5-1-fetching-token-error/m-p/616818#M23693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this a full ArcGIS Enterprise deployment, or only Server? Can you generate a token manually through the Rest API?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 21:49:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-ags-10-5-1-fetching-token-error/m-p/616818#M23693</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2019-02-12T21:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server (AGS) 10.5.1 Fetching Token Error</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-ags-10-5-1-fetching-token-error/m-p/616819#M23694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I only have a Server deployment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide a link to the location in the Rest API documentation that would show how to manually generate a token?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that manual process throws an error, would Fiddler potentially provide some answers on the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 22:58:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-ags-10-5-1-fetching-token-error/m-p/616819#M23694</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2019-02-12T22:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server (AGS) 10.5.1 Fetching Token Error</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-ags-10-5-1-fetching-token-error/m-p/616820#M23695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's tough to say whether Fiddler would give you anything as it's not clear whether the script is sending invalid requests, (in which case it would be useful), or Server is simply having trouble generating tokens, (in which case it won't be helpful).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To generate a token manually, navigate to this endpoint:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://sampleserver6.arcgisonline.com/arcgis/tokens/" title="https://sampleserver6.arcgisonline.com/arcgis/tokens/"&gt;https://server.domain.com:6443/arcgis/tokens/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/services-reference/generate-token.htm" title="https://developers.arcgis.com/rest/services-reference/generate-token.htm"&gt;Generate Token—ArcGIS REST API: Services Directory | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2019 22:28:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-ags-10-5-1-fetching-token-error/m-p/616820#M23695</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2019-02-15T22:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server (AGS) 10.5.1 Fetching Token Error</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-ags-10-5-1-fetching-token-error/m-p/616821#M23696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While on the server where the script runs, that token generator utility did not work unless Fiddler was running.&amp;nbsp; I am able to use that token generator utility on a desktop, though, if that means anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2019 23:27:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-ags-10-5-1-fetching-token-error/m-p/616821#M23696</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2019-02-15T23:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server (AGS) 10.5.1 Fetching Token Error</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-ags-10-5-1-fetching-token-error/m-p/616822#M23697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it only works when Fiddler is running, it's likely a certificate problem. When you run Fiddler and you tell it to decrypt HTTPS traffic, Fiddler will install the Fiddler root certificate as a trusted certificate on the machine. Fiddler is intercepting the request and since the machine trusts the Fiddler certificate, it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd try to reach the URL you're making requests to in a browser on the machine and see if you get an untrusted certificate warning. If so, within the browser, export the certificate and then import it into the trusted root certificate store on the machine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2019 00:15:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-ags-10-5-1-fetching-token-error/m-p/616822#M23697</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2019-02-16T00:15:27Z</dc:date>
    </item>
  </channel>
</rss>

