Buffer is not working on Park Locator app

1364
5
06-09-2017 08:57 AM
JustinNettleton
Occasional Contributor

I have set up the park locator app on premise. I can see my map and layers on the application but when i search an address and click onit, nothing happens and the buffer function does not work. Same if I just click a location on the map. I have gone through the config file and I believe I have set everything up right. Has anyone else ever had this issue or have any tips for me?

Thanks, 

0 Kudos
5 Replies
JakeSkinner
Esri Esteemed Contributor

Hi Justin,

Is the app externally accessible?  If so, can you share the link?

I would recommend clicking F12 on your keyboard before executing the buffer and see what messages are reported in the Console tab.  This should give some indication of where it's failing at.

0 Kudos
JustinNettleton
Occasional Contributor

Thanks for the repose. I did as you suggested and I got some errors. Below is a screen shot of those errors (sorry, small to read). I have also included the url to the app.  http://gis.mcleancountyil.gov/gisapps/parklocator/ 

   

0 Kudos
JakeSkinner
Esri Esteemed Contributor

Looks like you may not have your proxy setup correctly.  Take a look at the proxy.config file in a text editor.  This is located in your application\Proxy folder.  Steps on how to configure this can be found here:

Configure proxy - Park Locator | ArcGIS for Local Government 

0 Kudos
JustinNettleton
Occasional Contributor

I have looked at the documentation and the Proxy, I am not really sure what I am doing wrong. But my knowledge in this area is limited.  My services are hosted on ArcGIS online. I am referencing a map on ArcGIS online. I have registered my app on arcgis online and put that information in the proxy file. What I am missing?

<?xml version="1.0" encoding="utf-8" ?>
<!-- Proxy config is used to set the ArcGIS Server services that the proxy will forward to.
        mustMatch="true" - to only proxy to sites listed, false to proxy to any site.
        logFile="<file with local path>" - if specified, events will be written to the log file.
-->
<ProxyConfig allowedReferers="*"
             mustMatch="true">
    <serverUrls>
    <serverUrl url="http://yourserver/arcgis/"
        matchAll="true">
    </serverUrl>
    <serverUrl url="http://tasks.arcgisonline.com/" matchAll="true">
    </serverUrl>
    <serverUrl url="http://www.arcgis.com/sharing/rest/"
        matchAll="true">
    </serverUrl>
    <serverUrl url="http://geocode.arcgis.com/arcgis/rest/"
        matchAll="true">
    </serverUrl>
    <serverUrl url="http://route.arcgis.com/arcgis/rest/" matchAll="true"
        clientId="kvCJ5hCnXRNNARPy"
        clientSecret="e4f06c6bac7044e2848e7f0eb7dbb5cb"
        rateLimit="50"
        rateLimitPeriod="10">
    </serverUrl>
    <serverUrl url="https://api-ssl.bitly.com/v3/shorten"
      matchAll="true"
      accessToken="09392d98805bea10e1a1ad5c8fd206b43985c6c0"
      tokenParamName="access_token"
      rateLimit="50"
      rateLimitPeriod="10">
    </serverUrl>
  </serverUrls>
</ProxyConfig>
0 Kudos