<?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: Save Credentials not working - Error generating token in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/save-credentials-not-working-error-generating/m-p/1020380#M29332</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/143552"&gt;@MarcoPoetsch&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can check if your certificate is valid with a ssl checker&amp;nbsp;&lt;A href="https://www.sslchecker.com/sslchecker" target="_blank" rel="noopener"&gt;SSL Certificate Checker (sslchecker.com).&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If the certificate and chain is valid then I had a funny chase where I got the above error because I had a password with []#" character, try using a a-zA-Z0-9and dot combination for both the user account that your server is federated with as well as&amp;nbsp; portal and see if that resolves the problem.&lt;/P&gt;&lt;P&gt;let me know if it works&amp;nbsp;&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Henry&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2021 05:54:54 GMT</pubDate>
    <dc:creator>HenryLindemann</dc:creator>
    <dc:date>2021-01-27T05:54:54Z</dc:date>
    <item>
      <title>Save Credentials not working - Error generating token</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/save-credentials-not-working-error-generating/m-p/1020299#M29330</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I'm having some issues when I try to save credentials from a secured service.&lt;BR /&gt;The secured service is in Enterprise 10.6.1, and I want to save the layer in ArcGIS Online.&lt;/P&gt;&lt;P&gt;However, when I try to store the credentials, I get following error message:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6226418948001w400h268r549" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6226418948001" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6226418948001w400h268r549');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6226418948001"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;DIV class="dijitDialogTitleBar"&gt;&lt;STRONG&gt;&lt;SPAN class="dijitDialogTitle"&gt;----------&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class="dijitDialogTitleBar"&gt;&lt;STRONG&gt;&lt;SPAN class="dijitDialogTitle"&gt;Error&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class="dijitDialogPaneContent"&gt;&lt;DIV class="general-dialog-content"&gt;&lt;P&gt;Error generating token&lt;BR /&gt;Error generating token&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="dijitDialogTitle"&gt;&amp;nbsp; ----------&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Having a look in the browser console/network it seems that the token has been generated:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="token.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/4617i99C53FB69785468F/image-size/large?v=v2&amp;amp;px=999" role="button" title="token.png" alt="token.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, a few lines later under "addItem" it also says:&lt;BR /&gt;&lt;STRONG&gt;{"error":{"code":500,"message":"Error generating token","details":["Error generating token"]}}&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Saving credentials from another server seems to work fine. So I guess this has to do with some settings in Enterprise or with a firewall/SSL?&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 26 Jan 2021 23:49:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/save-credentials-not-working-error-generating/m-p/1020299#M29330</guid>
      <dc:creator>MarcoPoetsch</dc:creator>
      <dc:date>2021-01-26T23:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Save Credentials not working - Error generating token</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/save-credentials-not-working-error-generating/m-p/1020301#M29331</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;does anything in this thread help you?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-online-questions/error-generating-token-store-credentials-agol-server-10-3-1/td-p/429033" target="_blank"&gt;https://community.esri.com/t5/arcgis-online-questions/error-generating-token-store-credentials-agol-server-10-3-1/td-p/429033&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 23:52:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/save-credentials-not-working-error-generating/m-p/1020301#M29331</guid>
      <dc:creator>BillFox</dc:creator>
      <dc:date>2021-01-26T23:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Save Credentials not working - Error generating token</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/save-credentials-not-working-error-generating/m-p/1020380#M29332</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/143552"&gt;@MarcoPoetsch&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can check if your certificate is valid with a ssl checker&amp;nbsp;&lt;A href="https://www.sslchecker.com/sslchecker" target="_blank" rel="noopener"&gt;SSL Certificate Checker (sslchecker.com).&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If the certificate and chain is valid then I had a funny chase where I got the above error because I had a password with []#" character, try using a a-zA-Z0-9and dot combination for both the user account that your server is federated with as well as&amp;nbsp; portal and see if that resolves the problem.&lt;/P&gt;&lt;P&gt;let me know if it works&amp;nbsp;&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Henry&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 05:54:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/save-credentials-not-working-error-generating/m-p/1020380#M29332</guid>
      <dc:creator>HenryLindemann</dc:creator>
      <dc:date>2021-01-27T05:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Save Credentials not working - Error generating token</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/save-credentials-not-working-error-generating/m-p/1021388#M29355</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/400739"&gt;@HenryLindemann&lt;/a&gt; , this solved half of the issue.&lt;/P&gt;&lt;P&gt;I can now store credentials from ArcGIS Online services in Portal.&lt;BR /&gt;However, I'm still getting the &lt;EM&gt;Generating Token&lt;/EM&gt; error in ArcGIS Online when accessing data from Enterpsie&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 03:41:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/save-credentials-not-working-error-generating/m-p/1021388#M29355</guid>
      <dc:creator>MarcoPoetsch</dc:creator>
      <dc:date>2021-01-29T03:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Save Credentials not working - Error generating token</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/save-credentials-not-working-error-generating/m-p/1021389#M29356</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9969"&gt;@BillFox&lt;/a&gt; , no, unfortunately not yet. IT is investigating the wirewall settings. Maybe this will resolve the problem.&lt;BR /&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 03:42:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/save-credentials-not-working-error-generating/m-p/1021389#M29356</guid>
      <dc:creator>MarcoPoetsch</dc:creator>
      <dc:date>2021-01-29T03:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Save Credentials not working - Error generating token</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/save-credentials-not-working-error-generating/m-p/1021402#M29357</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/143552"&gt;@MarcoPoetsch&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Which solution worked for you?&lt;/P&gt;&lt;P&gt;Do you have any CORS restrictions setup.&lt;/P&gt;&lt;P&gt;If you open up your back end server &lt;A href="https://dns.com:6443/arcgis" target="_blank"&gt;https://dns.com:6443/arcgis&lt;/A&gt;&amp;nbsp;and &lt;A href="https://dns.com:7443/arcgis" target="_blank"&gt;https://dns.com:7443/arcgis&lt;/A&gt;&amp;nbsp;in a chrome browser do you get any certificate warning if yes can you load a cert and the chain.&lt;/P&gt;&lt;P&gt;I had a funny chase where the client stepped down internal traffic to http so can you have a look in the IIS logs that the traffic is coming in over 443&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\inetpub\logs\LogFiles\W3SVC1&lt;/P&gt;&lt;P&gt;2021-01-25 06:30:17 fe80::59ae:bd8d:ffe9:c622%3 GET /portal/home/10.8.1/js/calcite-fonts/fonts/d4ffabb3-dd7c-472a-bdfb-6700383c6354-greek.woff - &lt;STRONG&gt;443&lt;/STRONG&gt; - fe80::59ae:bd8d:ffe9:c622%3 Mozilla/5.0+(Windows+NT+10.0;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko &lt;A href="https://henrycerttrain.esri-southafrica.com/portal/home/accountswitcher-callback.html" target="_blank"&gt;https://henrycerttrain.esri-southafrica.com/portal/home/accountswitcher-callback.html&lt;/A&gt; 304 0 0 12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also a TLS patch at 10.6.1 is this patch installed?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 06:36:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/save-credentials-not-working-error-generating/m-p/1021402#M29357</guid>
      <dc:creator>HenryLindemann</dc:creator>
      <dc:date>2021-01-29T06:36:24Z</dc:date>
    </item>
  </channel>
</rss>

