<?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: Trying to configure the proxy of a Web AppBuilder application in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/trying-to-configure-the-proxy-of-a-web-appbuilder/m-p/165297#M4650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So first off you need to test your proxy with the following urls.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="http://host-vm/DotNet/proxy.ashx?ping" title="http://host-vm/DotNet/proxy.ashx?ping"&gt;http://host-vm/DotNet/proxy.ashx?ping&lt;/A&gt; &lt;/LI&gt;&lt;LI&gt; &lt;A href="http://host-vm/DotNet/proxy.ashx?http://server.virtual.private/arcgis/rest/services" title="http://host-vm/DotNet/proxy.ashx?http://server.virtual.private/arcgis/rest/services"&gt;http://host-vm/DotNet/proxy.ashx?http://server.virtual.private/arcgis/rest/services&lt;/A&gt; &lt;A href="http://host-vm/DotNet/proxy.ashx?ping" title="http://host-vm/DotNet/proxy.ashx?ping"&gt;http://host-vm/DotNet/proxy.ashx?ping&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://host-vm/DotNet/proxy.ashx?https://server.virtual.private/arcgis/rest/services" title="http://host-vm/DotNet/proxy.ashx?https://server.virtual.private/arcgis/rest/services"&gt;http://host-vm/DotNet/proxy.ashx?https://server.virtual.private/arcgis/rest/services&lt;/A&gt; &lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Apr 2016 19:00:39 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-04-07T19:00:39Z</dc:date>
    <item>
      <title>Trying to configure the proxy of a Web AppBuilder application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/trying-to-configure-the-proxy-of-a-web-appbuilder/m-p/165296#M4649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to develop with Web AppBuilder for Developers.&lt;/P&gt;&lt;P&gt;Having a hard time with proxy configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Used the following tutorial, but with no success:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.esri.com/esri/supportcenter/2015/04/07/setting-up-a-proxy/" title="https://blogs.esri.com/esri/supportcenter/2015/04/07/setting-up-a-proxy/" rel="nofollow noopener noreferrer" target="_blank"&gt;Setting up a Proxy | Support Services Blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.esri.com/esri/supportcenter/2015/10/28/setting-up-a-proxy-with-web-appbuilder-for-arcgis-developer-edition/" title="https://blogs.esri.com/esri/supportcenter/2015/10/28/setting-up-a-proxy-with-web-appbuilder-for-arcgis-developer-edition/" rel="nofollow noopener noreferrer" target="_blank"&gt;Setting up a proxy with Web AppBuilder Developer Edition | Support Services Blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Scenario:&lt;/P&gt;&lt;P&gt;- ArcGIS Server on: &lt;A href="https://server.virtual.private:6443/arcgis/manager/" title="https://server.virtual.private:6443/arcgis/manager/" rel="nofollow noopener noreferrer" target="_blank"&gt;https://server.virtual.private:6443/arcgis/manager/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Portal for ArcGIS on: &lt;A href="https://projetos-20.intranet.projevias/arcgis/home/" title="https://projetos-20.intranet.projevias/arcgis/home/" rel="nofollow noopener noreferrer" target="_blank"&gt;https://server.virtual.private:7443/arcgis/home/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcGIS for Server and Portal for ArcGIS was installed with WebAdaptor, checked the following urls, and everything is working:&lt;/P&gt;&lt;P&gt;&lt;A href="http://server.virtual.private/arcgis/rest/services" title="http://server.virtual.private/arcgis/rest/services" rel="nofollow noopener noreferrer" target="_blank"&gt;http://server.virtual.private/arcgis/rest/services&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;A href="https://projetos-20.intranet.projevias/arcgis/home/" title="https://projetos-20.intranet.projevias/arcgis/home/" rel="nofollow noopener noreferrer" target="_blank"&gt;http(s)://server.virtual.private/arcgis/home/&lt;/A&gt; (working on both protocols)&lt;A href="https://projetos-20.intranet.projevias/arcgis/home/" title="https://projetos-20.intranet.projevias/arcgis/home/" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Services used on app:&lt;/P&gt;&lt;P&gt;&lt;A href="http://server.virtual.private/arcgis/rest/services/SampleWorldCities/MapServer" title="http://server.virtual.private/arcgis/rest/services/SampleWorldCities/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://server.virtual.private/arcgis/rest/services/SampleWorldCities/MapServer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a app with default options (default 2d), with map that used the SampleWorldCities service.&lt;/P&gt;&lt;P&gt;Registered the Web App on Portal for ArcGIS and get a App ID and App Secret.&lt;/P&gt;&lt;P&gt;(PS: I not using ArcGIS Online).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Windows 7 with IIS 7 on my local machine to develop...&lt;/P&gt;&lt;P&gt;installed the proxy on IIS from the following address:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/esri/resource-proxy/" title="https://github.com/esri/resource-proxy/" rel="nofollow noopener noreferrer" target="_blank"&gt;GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Used the DotNet version, converted to Application, set the pool to use .NET 4.0, and tested entering using the url:&lt;/P&gt;&lt;P&gt;&lt;A href="http://host-vm/DotNet/proxy.ashx" title="http://host-vm/DotNet/proxy.ashx" rel="nofollow noopener noreferrer" target="_blank"&gt;http://mymachineip/DotNet/proxy.ashx&lt;/A&gt;​​ and got a&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman'; font-size: medium;"&gt;{"error": {"code": 400,"message":"This proxy does not support empty parameters."}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I think this is a OK response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok. Following tutorial, registered App on Portal for ArcGIS using the App ID, downloaded the app, put on IIS.&lt;/P&gt;&lt;P&gt;Then, when I try to access, I received a message asking my login and password, because I don't have permission (I don't have configured proxy yet)!&lt;/P&gt;&lt;P&gt;If I enter the username and password of a user of Portal for ArcGIS, everything was working correctly.... so, time to configure the proxy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at tutorial, I modified proxy.config (from DotNet application) with the following information:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;
&amp;lt;ProxyConfig allowedReferers="*" mustMatch="true"&amp;gt;
&amp;nbsp; &amp;lt;serverUrls&amp;gt;
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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%2Fservices.arcgisonline.com" target="_blank"&gt;http://services.arcgisonline.com&lt;/A&gt;&lt;SPAN&gt;" matchAll="true" /&amp;gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;SPAN&gt;&amp;nbsp; &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%2Fserver.virtual.private%2Farcgis%2Fsharing%2Frest" target="_blank"&gt;http://server.virtual.private/arcgis/sharing/rest&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clientId="wWUNYgmDOth4p4Qx" 
&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; clientSecret="79818e1d6f2a4a5ba6b94a7d2bf85fb0" 
&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; matchAll="true" /&amp;gt;
&amp;nbsp;&amp;nbsp; 
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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%2Fserver.virtual.private%2Farcgis%2Frest%2Fservices" target="_blank"&gt;http://server.virtual.private/arcgis/rest/services&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; username="siteadmin" 
&amp;nbsp;&amp;nbsp;&amp;nbsp; password="secret" 
&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; &amp;lt;/serverUrls&amp;gt;
&amp;lt;/ProxyConfig&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really don't know what put on the url, clientID and clientSecret (on clientID and clientSecret I have put the same information that was on Portal for ArcGIS - App ID and App Secret - all the documentation I read were not clear to tell me what should I put).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In config.json (of web app), I have put the following information:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;"httpProxy": {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "useProxy": true,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "alwaysUseProxy": false,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "rules": [
&amp;nbsp;&amp;nbsp; {
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "urlPrefix": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fserver.virtual.private%2Farcgis%2Fsharing%2Frest" target="_blank"&gt;http://server.virtual.private/arcgis/sharing/rest&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;nbsp; "proxyUrl": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fhost-vm%2FDotNet%2Fproxy.ashx" target="_blank"&gt;http://host-vm/DotNet/proxy.ashx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp; {
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "urlPrefix": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fserver.virtual.private%2Farcgis%2Frest%2Fservices" target="_blank"&gt;http://server.virtual.private/arcgis/rest/services&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;nbsp; "proxyUrl": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fhost-vm%2FDotNet%2Fproxy.ashx" target="_blank"&gt;http://host-vm/DotNet/proxy.ashx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; ]
&amp;nbsp; }&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried again access the app (on IIS with proxy), but still asking for username and password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at chome dev tools, there's a warning message with following content:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Error: You do not have permissions to access this resource or perform this operation.(…)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;&lt;SPAN&gt;Object {server: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fserver.virtual.private%2Farcgis" target="_blank"&gt;http://server.virtual.private/arcgis&lt;/A&gt;&lt;SPAN&gt;", tokenServiceUrl: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fserver.virtual.private%2Farcgis%2Fsharing%2FgenerateToken" target="_blank"&gt;https://server.virtual.private/arcgis/sharing/generateToken&lt;/A&gt;&lt;SPAN&gt;", hasPortal: true}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any helps?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:37:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/trying-to-configure-the-proxy-of-a-web-appbuilder/m-p/165296#M4649</guid>
      <dc:creator>RobertoOliveira</dc:creator>
      <dc:date>2021-12-11T08:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to configure the proxy of a Web AppBuilder application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/trying-to-configure-the-proxy-of-a-web-appbuilder/m-p/165297#M4650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So first off you need to test your proxy with the following urls.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="http://host-vm/DotNet/proxy.ashx?ping" title="http://host-vm/DotNet/proxy.ashx?ping"&gt;http://host-vm/DotNet/proxy.ashx?ping&lt;/A&gt; &lt;/LI&gt;&lt;LI&gt; &lt;A href="http://host-vm/DotNet/proxy.ashx?http://server.virtual.private/arcgis/rest/services" title="http://host-vm/DotNet/proxy.ashx?http://server.virtual.private/arcgis/rest/services"&gt;http://host-vm/DotNet/proxy.ashx?http://server.virtual.private/arcgis/rest/services&lt;/A&gt; &lt;A href="http://host-vm/DotNet/proxy.ashx?ping" title="http://host-vm/DotNet/proxy.ashx?ping"&gt;http://host-vm/DotNet/proxy.ashx?ping&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://host-vm/DotNet/proxy.ashx?https://server.virtual.private/arcgis/rest/services" title="http://host-vm/DotNet/proxy.ashx?https://server.virtual.private/arcgis/rest/services"&gt;http://host-vm/DotNet/proxy.ashx?https://server.virtual.private/arcgis/rest/services&lt;/A&gt; &lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 19:00:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/trying-to-configure-the-proxy-of-a-web-appbuilder/m-p/165297#M4650</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-07T19:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to configure the proxy of a Web AppBuilder application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/trying-to-configure-the-proxy-of-a-web-appbuilder/m-p/165298#M4651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking in &lt;A href="https://github.com/Esri/resource-proxy/issues/307" title="https://github.com/Esri/resource-proxy/issues/307"&gt;document - must include oauth2endpoint in the serverurl when using OAUTH2 for WAB · Issue #307 · Esri/resource-proxy · G…&lt;/A&gt;​ I included the&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN&gt;oauth2Endpoint="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fserver.virtual.private%2Farcgis%2Fsharing%2Foauth2" rel="nofollow" target="_blank"&gt;https://server.virtual.private/arcgis/sharing/oauth2&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;on proxy.config (DotNet app).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the page was blank, and I see a error 500 on Chrome Dev Tools when the page try to access the following url:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fhost-vm%2FDotNet%2Fproxy.ashx%3Fhttp%3A%2F%2Fserver.virtual.private%2Farcgis%2Fsharing%2Frest%2Fportals%2Fself%3Ff%3Djson%26dojo.preventCache%3D1460057371274%26callback%3Ddojo.io.script.jsonp_dojoIoScript1._jsonpCallback" rel="nofollow" target="_blank"&gt;http://host-vm/DotNet/proxy.ashx?http://server.virtual.private/arcgis/sharing/rest/portals/self?f=json&amp;amp;dojo.preventCache=1460057371274&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But first, I will try the URLs of Robert Scheitlin:&lt;/P&gt;&lt;P&gt;1. &lt;A href="http://host-vm/DotNet/proxy.ashx?ping" title="http://host-vm/DotNet/proxy.ashx?ping"&gt;http://host-vm/DotNet/proxy.ashx?ping&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;{ "Proxy Version": "1.1.1-beta", "Configuration File": "OK", "Log File": "Not Exist/Readable"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;A href="http://host-vm/DotNet/proxy.ashx?http://server.virtual.private/arcgis/rest/services" title="http://host-vm/DotNet/proxy.ashx?http://server.virtual.private/arcgis/rest/services"&gt;http://host-vm/DotNet/proxy.ashx?http://server.virtual.private/arcgis/rest/services&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;ERROR: The remote certificate is invalid according to the validation procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. &lt;A href="http://host-vm/DotNet/proxy.ashx?https://server.virtual.private/arcgis/rest/services" title="http://host-vm/DotNet/proxy.ashx?https://server.virtual.private/arcgis/rest/services"&gt;http://host-vm/DotNet/proxy.ashx?https://server.virtual.private/arcgis/rest/services&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"error": {"code": 403,"message":"Proxy has not been set up for this URL. Make sure there is a serverUrl in the configuration file that matches: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fserver.virtual.private%2Farcgis%2Frest%2Fservices" rel="nofollow" target="_blank"&gt;https://server.virtual.private/arcgis/rest/services&lt;/A&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%2Fserver.virtual.private%2Farcgis%2Frest%2Fservices" rel="nofollow" target="_blank"&gt;https://server.virtual.private/arcgis/rest/services&lt;/A&gt;&lt;SPAN&gt;"}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. &lt;A href="http://host-vm/DotNet/proxy.ashx?http://server.virtual.private/arcgis/sharing/rest/portals/self?f=json&amp;amp;dojo.preventCache=1460057371274&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback" title="http://host-vm/DotNet/proxy.ashx?http://server.virtual.private/arcgis/sharing/rest/portals/self?f=json&amp;amp;dojo.preventCache=1460057371274&amp;amp;callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback"&gt;http://host-vm/DotNet/proxy.ashx?http://server.virtual.private/arcgis/sharing/rest/portals/self?f=json&amp;amp;dojo.preventCache…&lt;/A&gt; (The URL that got error after put oauth2Endpoint):&lt;/P&gt;&lt;P&gt;ERROR: The remote certificate is invalid according to the validation procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have two problems...&lt;/P&gt;&lt;P&gt;1: I need a valid certificate? this is just for internal developments! The app will not be published until finished!&lt;/P&gt;&lt;P&gt;2: proxy not working for address beginning with 'https' (see URL 3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 19:40:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/trying-to-configure-the-proxy-of-a-web-appbuilder/m-p/165298#M4651</guid>
      <dc:creator>RobertoOliveira</dc:creator>
      <dc:date>2016-04-07T19:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to configure the proxy of a Web AppBuilder application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/trying-to-configure-the-proxy-of-a-web-appbuilder/m-p/165299#M4652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have any advice on the ssl certificate but for&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt; proxy not working for address beginning with 'https' (see URL 2)&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Just add another serverUrl with https to the proxy.config&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 19:56:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/trying-to-configure-the-proxy-of-a-web-appbuilder/m-p/165299#M4652</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-07T19:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to configure the proxy of a Web AppBuilder application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/trying-to-configure-the-proxy-of-a-web-appbuilder/m-p/165300#M4653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Already made changes for this and working...&lt;/P&gt;&lt;P&gt;now only need a solution for a valid SSL!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 20:01:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/trying-to-configure-the-proxy-of-a-web-appbuilder/m-p/165300#M4653</guid>
      <dc:creator>RobertoOliveira</dc:creator>
      <dc:date>2016-04-07T20:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to configure the proxy of a Web AppBuilder application</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/trying-to-configure-the-proxy-of-a-web-appbuilder/m-p/165301#M4654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the similar problem. ArcGIS Server, Portal, WAB 2.1, self-signed certificate. &lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;All&lt;/SPAN&gt; &lt;SPAN class=""&gt;routes are&lt;/SPAN&gt; &lt;SPAN&gt;configured&lt;/SPAN&gt;&lt;SPAN&gt;, but&lt;/SPAN&gt; &lt;SPAN class=""&gt;there is an error&lt;/SPAN&gt;&lt;/SPAN&gt;. &lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;My solution&lt;/SPAN&gt; &lt;SPAN class=""&gt;I found &lt;A href="http://dejanstojanovic.net/aspnet/2014/september/bypass-ssl-certificate-validation/"&gt;here.&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;I put&lt;/SPAN&gt; &lt;SPAN&gt;extra code&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt; proxy.ashx&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;It was&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;public class proxy : IHttpHandler {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private static String version = "1.1.1-beta";&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class RateMeter {&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;It became&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;public class proxy : IHttpHandler {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;static void Main() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;System.Net.ServicePointManager.ServerCertificateValidationCallback = delegate{ return true; }; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private static String version = "1.1.1-beta";&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class RateMeter {&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;But you have to be careful with this code, taking into account other applications&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Sep 2016 19:53:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/trying-to-configure-the-proxy-of-a-web-appbuilder/m-p/165301#M4654</guid>
      <dc:creator>SergeiMitakovich</dc:creator>
      <dc:date>2016-09-18T19:53:26Z</dc:date>
    </item>
  </channel>
</rss>

