<?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: Usings requests to detect broken links in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/usings-requests-to-detect-broken-links/m-p/325797#M89</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: Current hypothesis is there are outbound rules blocking on arcgis.com. Sample notebook for requests only work on arcgis.com domain/subdomain - timeout errors otherwise. Sample notebook for notification does not send on a range of smtp servers.&lt;/P&gt;&lt;P&gt;If I download these sample notebooks to my PC, run them with the jupyter-notebook.exe installed with arcgis pro, and change arcgis('Home') to point to our AGOL site - they both work.&lt;/P&gt;&lt;P&gt;Convenient to have notebooks as part of AGOL, but kind of broken if they can't do requests or email.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2020 23:18:15 GMT</pubDate>
    <dc:creator>DaveSivertsen</dc:creator>
    <dc:date>2020-04-24T23:18:15Z</dc:date>
    <item>
      <title>Usings requests to detect broken links</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/usings-requests-to-detect-broken-links/m-p/325796#M88</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just getting started with AGOL Notebooks. Working through the example for detecting broken links. It works great for resources on our AGOL site, but &lt;STRONG&gt;request()&lt;/STRONG&gt; fails when attempting to access feature services provided by ArcServer 10.7.1 on an AWS platform.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;requests.get('https://arc.g****r.net:6443/arcgis/rest/services/OperationalLayers/PCII/FeatureServer/0', verify=False)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The AWS Server is a one-off, not running webadaptor - HTTPS GIS traffic goes to port 6443. The security certificate is current and valid for the host name. Entering the URL directly in a browser loads the ArcGIS REST Services Directory page and shows it as secure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running python2.7 directly on a PC, this request succeeds, although it warns of an insecure request.&lt;/P&gt;&lt;P&gt;In the AGOL Notebook setting, the request eventually fails with a timeout error.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;ConnectionError&lt;/SPAN&gt;: HTTPSConnectionPool(host='arc.g****r.net', port=6443): Max retries exceeded with url: /arcgis/rest/services/OperationalLayers/PCII/FeatureServer/0 (Caused by NewConnectionError('&amp;lt;urllib3.connection.VerifiedHTTPSConnection object at 0x7f3c1b51e630&amp;gt;: Failed to establish a new connection: [Errno 110] Connection timed out',))&lt;/PRE&gt;&lt;P&gt;Suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 18:56:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/usings-requests-to-detect-broken-links/m-p/325796#M88</guid>
      <dc:creator>DaveSivertsen</dc:creator>
      <dc:date>2020-04-16T18:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Usings requests to detect broken links</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/usings-requests-to-detect-broken-links/m-p/325797#M89</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: Current hypothesis is there are outbound rules blocking on arcgis.com. Sample notebook for requests only work on arcgis.com domain/subdomain - timeout errors otherwise. Sample notebook for notification does not send on a range of smtp servers.&lt;/P&gt;&lt;P&gt;If I download these sample notebooks to my PC, run them with the jupyter-notebook.exe installed with arcgis pro, and change arcgis('Home') to point to our AGOL site - they both work.&lt;/P&gt;&lt;P&gt;Convenient to have notebooks as part of AGOL, but kind of broken if they can't do requests or email.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2020 23:18:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/usings-requests-to-detect-broken-links/m-p/325797#M89</guid>
      <dc:creator>DaveSivertsen</dc:creator>
      <dc:date>2020-04-24T23:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Usings requests to detect broken links</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/usings-requests-to-detect-broken-links/m-p/325798#M90</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An additional note. Using requests to detect broken links is somewhat flawed. It operates on the notion that a good link will return 200 and a bad one 404- unreachable. Map links are commonly "broken" by updating a map or tiles., In this case, the webmap will not load, but the link will return 200 as valid, with a message from the services directory that the service is not available.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2020 20:04:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/usings-requests-to-detect-broken-links/m-p/325798#M90</guid>
      <dc:creator>DaveSivertsen</dc:creator>
      <dc:date>2020-05-19T20:04:01Z</dc:date>
    </item>
  </channel>
</rss>

