<?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: Python API can't return layers and tables in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-can-t-return-layers-and-tables/m-p/795843#M1805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Can you try specifying just the hostname without &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt; in the proxy_host parameter?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2018 15:57:54 GMT</pubDate>
    <dc:creator>RohitSingh2</dc:creator>
    <dc:date>2018-03-28T15:57:54Z</dc:date>
    <item>
      <title>Python API can't return layers and tables</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-can-t-return-layers-and-tables/m-p/795842#M1804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems the Python API can't return layers and tables in a feature service if a proxy is used when instantiating the arcgis.GIS class.&lt;/P&gt;&lt;P&gt;If I don't use proxy in the arcgis.GIS class instantiation, it works OK. but we are required to use proxy to visit internet in our organisation....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the screenshot in the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it only me or I hit a bug in the API?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 06:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-can-t-return-layers-and-tables/m-p/795842#M1804</guid>
      <dc:creator>simoxu</dc:creator>
      <dc:date>2018-03-09T06:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Python API can't return layers and tables</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-can-t-return-layers-and-tables/m-p/795843#M1805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Can you try specifying just the hostname without &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt; in the proxy_host parameter?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 15:57:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-can-t-return-layers-and-tables/m-p/795843#M1805</guid>
      <dc:creator>RohitSingh2</dc:creator>
      <dc:date>2018-03-28T15:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Python API can't return layers and tables</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-can-t-return-layers-and-tables/m-p/795844#M1806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use just the hostname of my corporate proxy, it works!&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #808000; font-size: 12px;"&gt;&lt;SPAN&gt;gis=GIS(url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fdcsi.maps.arcgis.com" rel="nofollow" target="_blank"&gt;http://abc.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;",username="simoxu",proxy_host="xxx.xxx.abc.gov.au",proxy_port="8080")&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am happy my corporate proxy is working now, but my Cntlm proxy does not work with the API.&amp;nbsp; (there was a time my corporate proxy didn't work with my ArcREST python code, I had to set up a local proxy using cntlm&amp;nbsp; to relay the request to the corporate proxy. ) if I use cntlm proxy with ArcGIS API for Python,&amp;nbsp; I can't get the layers and tables. I am sure the cntlm is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 12px; color: #808000;"&gt;&lt;SPAN&gt;gis=GIS(url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fabc.maps.arcgis.com" rel="nofollow" target="_blank"&gt;https://abc.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;",username="XXXX",proxy_host="127.0.0.1",proxy_port="3218")&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 01:01:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-can-t-return-layers-and-tables/m-p/795844#M1806</guid>
      <dc:creator>simoxu</dc:creator>
      <dc:date>2018-04-04T01:01:46Z</dc:date>
    </item>
  </channel>
</rss>

