<?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: Is there a limit on Token requests by user over time? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-there-a-limit-on-token-requests-by-user-over/m-p/577134#M14808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Problem solved:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're working in an ArcGIS Server site configuration with two machines on a Domain account. The Domain account password had expired and was only reset on one of the machines in the site. When a token request was initiated, the machine where the password was reset returned a valid token and the machine where the password was not reset returned an unauthorized message. This is why we were getting (seemingly) random unauthorized messages. Once the password was reset on both machines only valid tokens were returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;qpk&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Dec 2013 14:19:31 GMT</pubDate>
    <dc:creator>QuinnKorbulic1</dc:creator>
    <dc:date>2013-12-17T14:19:31Z</dc:date>
    <item>
      <title>Is there a limit on Token requests by user over time?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-there-a-limit-on-token-requests-by-user-over/m-p/577133#M14807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're generating tokens programmatically using code similar to what is suggested in the Silverlight API help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;string tokenService = "http://hostname/ArcGIS/tokens?request=getToken&amp;amp;username=test&amp;amp;password=my.password&amp;amp;expiration=30"; System.Net.WebRequest request = System.Net.WebRequest.Create(tokenService);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Net.WebResponse response = request.GetResponse();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.IO.Stream responseStream = response.GetResponseStream();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.IO.StreamReader readStream = new System.IO.StreamReader(responseStream);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; theToken = readStream.ReadToEnd();&lt;/PRE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Sometimes this generates the token successfully but other times we receive an unauthorized error. Using the tokens request page "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://hostname/ArcGIS/tokens" rel="nofollow" target="_blank"&gt;http://hostname/ArcGIS/tokens&lt;/A&gt;&lt;SPAN&gt;" with the same user results in the same behavior. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a limit on the number of tokens a single user can request during a specific time period? If not, why do token requests work sometimes and not others? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 15:30:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-there-a-limit-on-token-requests-by-user-over/m-p/577133#M14807</guid>
      <dc:creator>QuinnKorbulic1</dc:creator>
      <dc:date>2013-12-12T15:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit on Token requests by user over time?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-there-a-limit-on-token-requests-by-user-over/m-p/577134#M14808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Problem solved:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're working in an ArcGIS Server site configuration with two machines on a Domain account. The Domain account password had expired and was only reset on one of the machines in the site. When a token request was initiated, the machine where the password was reset returned a valid token and the machine where the password was not reset returned an unauthorized message. This is why we were getting (seemingly) random unauthorized messages. Once the password was reset on both machines only valid tokens were returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;qpk&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 14:19:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-there-a-limit-on-token-requests-by-user-over/m-p/577134#M14808</guid>
      <dc:creator>QuinnKorbulic1</dc:creator>
      <dc:date>2013-12-17T14:19:31Z</dc:date>
    </item>
  </channel>
</rss>

