<?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: GeoDesic Buffers sample code does not work in my local server in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/geodesic-buffers-sample-code-does-not-work-in-my/m-p/727384#M27706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried it Now, so it was throwing error of host not found&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Mar 2017 20:15:36 GMT</pubDate>
    <dc:creator>EngrUmair</dc:creator>
    <dc:date>2017-03-18T20:15:36Z</dc:date>
    <item>
      <title>GeoDesic Buffers sample code does not work in my local server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/geodesic-buffers-sample-code-does-not-work-in-my/m-p/727382#M27704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am new to use ArcGis Api for javascript, I am using JS Api 3.20.&lt;BR /&gt;&amp;nbsp; &amp;nbsp;I have been trying for 3 days but it does not work.&lt;BR /&gt;&amp;nbsp; &amp;nbsp;I have taken code from the following link&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/ge_geodesic_buffers.html" title="https://developers.arcgis.com/javascript/3/jssamples/ge_geodesic_buffers.html"&gt;Geometry Engine - Geodesic buffers | ArcGIS API for JavaScript 3.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I paste this in My Html file create in VS website for .Net , and setup a local server for my page using IIS server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I also downloaded proxy from GitHub&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/resource-proxy/tree/master/DotNet" title="https://github.com/Esri/resource-proxy/tree/master/DotNet"&gt;resource-proxy/DotNet at master · Esri/resource-proxy · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;setup it in same application in IIS&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Downloaded excel file added in my application &amp;nbsp;&amp;nbsp;&amp;nbsp;from&amp;nbsp;&lt;A class="link-titled" href="https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_week.csv" title="https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_week.csv"&gt;https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_week.csv&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;but still I am getting the following error in console using developer mode when set Proxy URL to this&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; config.defaults.io.proxyUrl = "/192.168.8.188/Proxy/proxy.ashx";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;GET &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F192.168.8.188%3A1555%2F192.168.8.188%2FProxy%2Fproxy.ashx%3Fhttp%3A%2F%2Fearthquake.usgs.gov%2Fearthquakes%2Ffeed%2Fv1.0%2Fsummary%2F4.5_week.csv" rel="nofollow" target="_blank"&gt;http://192.168.8.188:1555/192.168.8.188/Proxy/proxy.ashx?http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_week.csv&lt;/A&gt;&lt;SPAN&gt; 404 (Not Found)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;and when I set proxy url to this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;config.defaults.io.proxyUrl = "/Proxy/";&lt;/P&gt;&lt;P&gt;then the following error occurs in console&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;GET &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F192.168.8.188%3A1555%2FProxy%2F%3Fhttp%3A%2F%2Fearthquake.usgs.gov%2Fearthquakes%2Ffeed%2Fv1.0%2Fsummary%2F4.5_week.csv" rel="nofollow" target="_blank"&gt;http://192.168.8.188:1555/Proxy/?http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_week.csv&lt;/A&gt;&lt;SPAN&gt; 403 (Forbidden)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me out. I would be thankful in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Mar 2017 08:19:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/geodesic-buffers-sample-code-does-not-work-in-my/m-p/727382#M27704</guid>
      <dc:creator>EngrUmair</dc:creator>
      <dc:date>2017-03-18T08:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: GeoDesic Buffers sample code does not work in my local server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/geodesic-buffers-sample-code-does-not-work-in-my/m-p/727383#M27705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Engr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Have you tested your proxy? &amp;nbsp;&lt;STRONG style="border: 0px; background-color: #ffffff; font-weight: inherit;"&gt; &lt;/STRONG&gt;&lt;A class="unlinked"&gt;http://192.168.8.188:1555/Proxy/?&lt;/A&gt;ping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Mar 2017 16:11:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/geodesic-buffers-sample-code-does-not-work-in-my/m-p/727383#M27705</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-03-18T16:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: GeoDesic Buffers sample code does not work in my local server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/geodesic-buffers-sample-code-does-not-work-in-my/m-p/727384#M27706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried it Now, so it was throwing error of host not found&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Mar 2017 20:15:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/geodesic-buffers-sample-code-does-not-work-in-my/m-p/727384#M27706</guid>
      <dc:creator>EngrUmair</dc:creator>
      <dc:date>2017-03-18T20:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: GeoDesic Buffers sample code does not work in my local server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/geodesic-buffers-sample-code-does-not-work-in-my/m-p/727385#M27707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;Engr,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;&amp;nbsp; So that tells you that your proxy is not setup correctly then.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;&amp;nbsp; Have tested your web server on that machine to see if you have it setup correctly and serving HTML file correctly?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Mar 2017 23:47:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/geodesic-buffers-sample-code-does-not-work-in-my/m-p/727385#M27707</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-03-18T23:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: GeoDesic Buffers sample code does not work in my local server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/geodesic-buffers-sample-code-does-not-work-in-my/m-p/727386#M27708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Copy the example from&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/ge_geodesic_buffers.html" title="https://developers.arcgis.com/javascript/3/jssamples/ge_geodesic_buffers.html"&gt;Geometry Engine - Geodesic buffers | ArcGIS API for JavaScript 3.20&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Create a Folder under WebServer. &amp;nbsp;For Example in IIS under&amp;nbsp;C:\inetpub\wwwroot (In my Test the folder is C:\inetpub\wwwroot\Geodesic)&lt;/LI&gt;&lt;LI&gt;Insert de code example in a file&amp;nbsp;&lt;SPAN&gt;C:\inetpub\wwwroot\Geodesic\index.html&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Download the proxy from&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/resource-proxy" title="https://github.com/Esri/resource-proxy"&gt;GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP.&lt;/A&gt;&amp;nbsp;If the WebServer is IIS create a folder in wwwroot proxy (C:\inetpub\wwwroot\proxy) and put all files from &lt;STRONG&gt;/resource-proxy-master\resource-proxy-master\DotNet&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Test the proxy with the next URL&amp;nbsp;&lt;A class="link-titled" href="http://localhost/proxy/proxy.ashx?ping" title="http://localhost/proxy/proxy.ashx?ping"&gt;http://localhost/proxy/proxy.ashx?ping&lt;/A&gt;. &amp;nbsp;The result must be the follow response:&amp;nbsp;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/342936_ping.PNG" /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Edit the file&amp;nbsp;C:\inetpub\wwwroot\proxy\proxy.config and insert the follow statement&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;BR /&gt;&amp;lt;ProxyConfig allowedReferers="*"&lt;BR /&gt; mustMatch="true"&amp;gt;&lt;BR /&gt; &amp;lt;serverUrls&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &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" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt; matchAll="true"/&amp;gt;&lt;BR /&gt; &lt;STRONG&gt;&lt;SPAN&gt;&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%2Fearthquake.usgs.gov" rel="nofollow" target="_blank"&gt;http://earthquake.usgs.gov&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; matchAll="true" /&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt; &amp;lt;/serverUrls&amp;gt;&lt;BR /&gt;&amp;lt;/ProxyConfig&amp;gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Edit the file index.html as follow statement&lt;/P&gt;&lt;P&gt;config.defaults.io.proxyUrl = "/proxy/&lt;STRONG&gt;proxy.ashx&lt;/STRONG&gt;";&lt;/P&gt;&lt;P&gt;6. Test the example using the url&amp;nbsp;&lt;A class="link-titled" href="http://localhost/Geodesic/" title="http://localhost/Geodesic/"&gt;http://localhost/Geodesic/&lt;/A&gt;index.html&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 01:49:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/geodesic-buffers-sample-code-does-not-work-in-my/m-p/727386#M27708</guid>
      <dc:creator>EdwinRoa</dc:creator>
      <dc:date>2017-03-19T01:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: GeoDesic Buffers sample code does not work in my local server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/geodesic-buffers-sample-code-does-not-work-in-my/m-p/727387#M27709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks that worked,&lt;/P&gt;&lt;P&gt;&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; I would like to show my own locations added to local csv file rather than usgs server,&lt;/P&gt;&lt;P&gt;&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;How to do this could you please help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 14:57:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/geodesic-buffers-sample-code-does-not-work-in-my/m-p/727387#M27709</guid>
      <dc:creator>EngrUmair</dc:creator>
      <dc:date>2017-03-19T14:57:19Z</dc:date>
    </item>
  </channel>
</rss>

