<?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 Proxy problem in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-problem/m-p/165503#M4660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt;Hello,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt;I deployed&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt; &lt;SPAN class="hps"&gt;a WebApp application&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;on my server&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and I use&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a proxy&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;access a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;secure&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;webmap &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;in my arcgis&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;online organization&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Everything works fine&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and users&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;don’t need&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;registered&lt;/SPAN&gt; user/&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;password&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;But sometimes&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;for no reason,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I have a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;connection&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;popup&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;By clicking on&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Cancel&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;refreshing the page, all&lt;/SPAN&gt; re&lt;SPAN class="hps"&gt;loads correctly&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt;&lt;SPAN lang="en"&gt;By checking with Fiddler , I can see that the call to webmap is well with the proxy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;How&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;can I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;disable this&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;popup&lt;/SPAN&gt; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt;&lt;IMG alt="help.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/173793_help.png" style="width: 971px; height: 657px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jan 2016 21:10:08 GMT</pubDate>
    <dc:creator>SebastienPelletier</dc:creator>
    <dc:date>2016-01-26T21:10:08Z</dc:date>
    <item>
      <title>Proxy problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-problem/m-p/165503#M4660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt;Hello,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt;I deployed&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt; &lt;SPAN class="hps"&gt;a WebApp application&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;on my server&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and I use&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a proxy&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;access a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;secure&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;webmap &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;in my arcgis&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;online organization&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;Everything works fine&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and users&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;don’t need&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;registered&lt;/SPAN&gt; user/&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;password&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;But sometimes&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;for no reason,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I have a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;connection&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;popup&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;By clicking on&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Cancel&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;refreshing the page, all&lt;/SPAN&gt; re&lt;SPAN class="hps"&gt;loads correctly&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt;&lt;SPAN lang="en"&gt;By checking with Fiddler , I can see that the call to webmap is well with the proxy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;How&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;can I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;disable this&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;popup&lt;/SPAN&gt; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #222222; font-family: 'Arial','sans-serif'; mso-ansi-language: EN;"&gt;&lt;IMG alt="help.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/173793_help.png" style="width: 971px; height: 657px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 21:10:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-problem/m-p/165503#M4660</guid>
      <dc:creator>SebastienPelletier</dc:creator>
      <dc:date>2016-01-26T21:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-problem/m-p/165504#M4661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sebastian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I would recommend you be less specific with your serverUrl in your proxy.config file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I.e. &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F___.maps.arcgis.com" rel="nofollow" target="_blank"&gt;http://___.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;", username="x", password="y", matchAll="true" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 21:34:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-problem/m-p/165504#M4661</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-01-26T21:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-problem/m-p/165505#M4662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if this will resolve your issue, but we alter the tokenUtils.js file (located in the \jimu.js folder) and do the following before we deploy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14538443875951761" data-renderedposition="92_8_912_16" jivemacro_uid="_14538443875951761"&gt;&lt;P&gt;def = esriNS.id.getCredential(sharingUrl);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14538443804782376" data-renderedposition="171_8_912_16" jivemacro_uid="_14538443804782376"&gt;&lt;P&gt;def = esriNS.id.getCredential(sharingUrl,{oAuthPopupConfirmation:false});&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, set the popup to false in the registerOAuthInfo: function in the same file;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14538444012399512 jive_text_macro" data-renderedposition="250_8_912_16" jivemacro_uid="_14538444012399512"&gt;&lt;P&gt;popup: false;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 21:40:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-problem/m-p/165505#M4662</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2016-01-26T21:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-problem/m-p/165506#M4663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Thanks&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Robert&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Unfortunately&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I had already tried&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and I had the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;same problem&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 13:33:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-problem/m-p/165506#M4663</guid>
      <dc:creator>SebastienPelletier</dc:creator>
      <dc:date>2016-01-27T13:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy problem</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-problem/m-p/165507#M4664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;IThank you James,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt; tried the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;suggestion,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I thought it&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;had solved&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;my problem&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;because I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;had to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;access the site&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;multiple times&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;on different computers&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;without problems&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;until the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;popup&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;back.&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Here is a detail&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of the error: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;IMG alt="InvalidToken.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/174221_InvalidToken.PNG" style="width: 807px; height: 395px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 16:22:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-problem/m-p/165507#M4664</guid>
      <dc:creator>SebastienPelletier</dc:creator>
      <dc:date>2016-01-27T16:22:14Z</dc:date>
    </item>
  </channel>
</rss>

