<?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: Directions Widget doesn't work with a custom NAServer in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259036#M325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I hadn't :-P... &amp;nbsp;I works in Internet Explorer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've then cleared the cookies and browser data from Chrome, but&amp;nbsp;the problem persists&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2016 10:21:00 GMT</pubDate>
    <dc:creator>CarlosSousaFerreira</dc:creator>
    <dc:date>2016-08-29T10:21:00Z</dc:date>
    <item>
      <title>Directions Widget doesn't work with a custom NAServer</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259030#M319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've created a &lt;SPAN style="color: #4c4c4c;"&gt;Web Mapping Application using the WebApp Builder and tried to add a Directions Widget configured with a custom (public) NAServer, but it doesn't work: it keeps trying to load the service (see image below) and then it gives me an error of service "not found or not recognized" and suggests me to check the URL and/or credentials.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c;"&gt;&lt;IMG class="image-1 j-img-floatend jive-image" src="https://community.esri.com/legacyfs/online/217961_pastedImage_1.png" style="float: right;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c;"&gt;The NAServer is public, so there is no need to provide any credentials, and the URL is check and recognized automatically when you set it in the configuration form of the widget.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c;"&gt;The routing service of the NAServer works fine, as I successfully used it in ArcMap.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c;"&gt;I even accomplished to set a sample application, using the code provided in:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/widget_directions_basic.html" title="https://developers.arcgis.com/javascript/3/jssamples/widget_directions_basic.html"&gt;Directions | ArcGIS API for JavaScript 3.17&lt;/A&gt;&amp;nbsp;, and it works fine, as shown in the image below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c;"&gt;&lt;IMG class="jive-image image-2 j-img-centered j-img-original" src="https://community.esri.com/legacyfs/online/217962_pastedImage_6.png" style="margin-left: auto; margin-right: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c;"&gt;The problem seems to be with the configuration of the directions widget.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c;"&gt;I already tried to download the application and check the configuration code for the widget, but with no success.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c;"&gt;Any thoughts / suggestions? Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 18:48:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259030#M319</guid>
      <dc:creator>CarlosSousaFerreira</dc:creator>
      <dc:date>2016-08-26T18:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Directions Widget doesn't work with a custom NAServer</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259031#M320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Have you checked your browsers web console to see if the error(s) there shed any light on what your NA Service is missing that the widget is looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 18:52:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259031#M320</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-08-26T18:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Directions Widget doesn't work with a custom NAServer</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259032#M321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just tried it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/217963_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives the following warning:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fxhr.spec.whatwg.org%2F" rel="nofollow" target="_blank"&gt;https://xhr.spec.whatwg.org/&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 18:59:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259032#M321</guid>
      <dc:creator>CarlosSousaFerreira</dc:creator>
      <dc:date>2016-08-26T18:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Directions Widget doesn't work with a custom NAServer</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259033#M322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; does the spinning icon ever go away? if so what does the web console say then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 19:30:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259033#M322</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-08-26T19:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Directions Widget doesn't work with a custom NAServer</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259034#M323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It takes quite some time, but yeah. It then fires a "Timeout exceeded" error on the console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the widget i&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;t gives me a&amp;nbsp;message&amp;nbsp;of service "not found or not recognized" and suggests me to check the URL and/or credentials.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/218000_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The routing service that I'm using it's from an HTTPS server. Could the problem be that it is trying to access the service through HTTP and receives an error? If so, how can I correct this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 23:36:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259034#M323</guid>
      <dc:creator>CarlosSousaFerreira</dc:creator>
      <dc:date>2016-08-26T23:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Directions Widget doesn't work with a custom NAServer</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259035#M324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carlos have you tried in a browser other than Chrome?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Aug 2016 17:54:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259035#M324</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-08-27T17:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Directions Widget doesn't work with a custom NAServer</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259036#M325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I hadn't :-P... &amp;nbsp;I works in Internet Explorer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've then cleared the cookies and browser data from Chrome, but&amp;nbsp;the problem persists&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 10:21:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259036#M325</guid>
      <dc:creator>CarlosSousaFerreira</dc:creator>
      <dc:date>2016-08-29T10:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Directions Widget doesn't work with a custom NAServer</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259037#M326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Chrome has had some issue with esri requests and https. One way around is to use a proxy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 12:52:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259037#M326</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-08-29T12:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Directions Widget doesn't work with a custom NAServer</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259038#M327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. Thanks for your efforts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 16:45:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/directions-widget-doesn-t-work-with-a-custom/m-p/259038#M327</guid>
      <dc:creator>CarlosSousaFerreira</dc:creator>
      <dc:date>2016-08-29T16:45:19Z</dc:date>
    </item>
  </channel>
</rss>

