<?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: WAB with proxy 404 error in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447521#M41338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Randall -- we develop in WAB developer 2.7 with the node.js rather than command line (as suggested in the link).&amp;nbsp; However, the issue I'm having is with authenticating the deployed WAB itself.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this though as it'll likely fix the other issue when developing!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2018 16:04:05 GMT</pubDate>
    <dc:creator>JamesCrandall</dc:creator>
    <dc:date>2018-06-11T16:04:05Z</dc:date>
    <item>
      <title>WAB with proxy 404 error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447515#M41332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-WAB Developer 2.7&lt;/P&gt;&lt;P&gt;-.jsp proxy&lt;/P&gt;&lt;P&gt;-https&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a WAB deployment that needs to authenticate secured feature services via proxy. Consider:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I am able to authenticate by clicking directly on a url with the proxy referenced as such:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://domain.com/proxy/proxypage.jsp?https://domain.com/sitename/rest/services/foldername/feature_service_name" rel="nofollow noopener noreferrer" target="_blank"&gt;https://domain.com/proxy/proxypage.jsp?https://domain.com/sitename/rest/services/foldername/feature_service_name&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Opening the WAB gives a 404 error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what's in&amp;nbsp;the config.json:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="string token"&gt;"wabVersion"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"2.7"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"isTemplateApp"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"isWebTier"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"httpProxy"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"useProxy"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"alwaysUseProxy"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"url"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fproxy%2Fproxypage.jsp" target="_blank"&gt;https://domain.com/proxy/proxypage.jsp&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"rules"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"urlPrefix"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fsitename%2Frest%2Fservices%2Ffoldername%2Ffeature_service_name%2FFeatureServer" target="_blank"&gt;https://domain.com/sitename/rest/services/foldername/feature_service_name/FeatureServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;"proxyUrl"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%2Fproxy%2Fproxypage.jsp" target="_blank"&gt;https://domain.com/proxy/proxypage.jsp&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&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;/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;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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:58:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447515#M41332</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2021-12-11T19:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: WAB with proxy 404 error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447516#M41333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I would drop the FeatureServer portion of the url from your config.json rule.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 15:06:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447516#M41333</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-06-11T15:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: WAB with proxy 404 error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447517#M41334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made the suggested&amp;nbsp;change in the config.json but still getting the 404 when attempting to access outside our network.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The WAB opens fine when logged into corp network.&lt;/P&gt;&lt;P&gt;2. I can access the secured FS directly outside network with url specified in OP&amp;nbsp; This seems to suggest that the proxy.jsp page is correctly setup and there is another issue with the WAB somewhere?&amp;nbsp; The web map and wab are both shared to public from their AGOL items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 15:43:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447517#M41334</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2018-06-11T15:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: WAB with proxy 404 error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447518#M41335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the actual url that is resulting in the 404 error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 15:53:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447518#M41335</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-06-11T15:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: WAB with proxy 404 error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447519#M41336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This kinda sounds like a forward proxy issue instead of a proxy page issue. Unsure why the images are broken here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/technical-article/000013274" title="https://support.esri.com/en/technical-article/000013274"&gt;How To: Set a proxy in the Web AppBuilder (Developer Edition)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 15:59:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447519#M41336</guid>
      <dc:creator>RandallWilliams</dc:creator>
      <dc:date>2018-06-11T15:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: WAB with proxy 404 error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447520#M41337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sent as DM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 16:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447520#M41337</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2018-06-11T16:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: WAB with proxy 404 error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447521#M41338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Randall -- we develop in WAB developer 2.7 with the node.js rather than command line (as suggested in the link).&amp;nbsp; However, the issue I'm having is with authenticating the deployed WAB itself.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this though as it'll likely fix the other issue when developing!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 16:04:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447521#M41338</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2018-06-11T16:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: WAB with proxy 404 error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447522#M41339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was an internal network problem and not related to the proxy page or WAB config.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 17:32:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wab-with-proxy-404-error/m-p/447522#M41339</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2018-06-13T17:32:54Z</dc:date>
    </item>
  </channel>
</rss>

