<?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 Proxy Error instantiating a GIS() with ArcGIS API for Python using OAuth2 in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/proxy-error-instantiating-a-gis-with-arcgis-api/m-p/1235875#M8066</link>
    <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;I need to create a GIS through the ArcGIS API for Python using OAuth2 authentication scheme described here&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/.&lt;/A&gt;&amp;nbsp; I am successfully routed to my Enterprise Organization login shown here...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TylerT_0-1669728937810.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57095i6BEB363179CDC92E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TylerT_0-1669728937810.png" alt="TylerT_0-1669728937810.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I grab the code and paste back into Jupyter and end up with this proxy error.&lt;/P&gt;&lt;PRE&gt;(Caused by ProxyError('Your proxy appears to only use HTTP and not HTTPS, try changing your proxy URL to be HTTP. See: &lt;A href="https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#https-proxy-error-http-proxy" target="_blank" rel="noopener"&gt;https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#https-proxy-error-http-proxy&lt;/A&gt;'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Some research on the matter indicates I might need to pass in a proxy dictionary such as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;proxy = {
    "https":'https://something',
    "http":'http://something'
    }

# then pass proxy=proxy into GIS()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question (for now) is where do I find the proxy urls?&amp;nbsp; If I need to talk to my Enterprise IT, what exactly should I ask for, so we're talking the same language?&amp;nbsp; Of course, if you have better overall solutions, please chime in.&amp;nbsp; Much appreciated.&lt;/P&gt;&lt;P&gt;Tyler&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArcGIS Pro 3.0.2&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 14:02:43 GMT</pubDate>
    <dc:creator>TylerT</dc:creator>
    <dc:date>2022-11-29T14:02:43Z</dc:date>
    <item>
      <title>Proxy Error instantiating a GIS() with ArcGIS API for Python using OAuth2</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/proxy-error-instantiating-a-gis-with-arcgis-api/m-p/1235875#M8066</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;I need to create a GIS through the ArcGIS API for Python using OAuth2 authentication scheme described here&amp;nbsp;&lt;A href="https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/.&lt;/A&gt;&amp;nbsp; I am successfully routed to my Enterprise Organization login shown here...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TylerT_0-1669728937810.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57095i6BEB363179CDC92E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TylerT_0-1669728937810.png" alt="TylerT_0-1669728937810.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I grab the code and paste back into Jupyter and end up with this proxy error.&lt;/P&gt;&lt;PRE&gt;(Caused by ProxyError('Your proxy appears to only use HTTP and not HTTPS, try changing your proxy URL to be HTTP. See: &lt;A href="https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#https-proxy-error-http-proxy" target="_blank" rel="noopener"&gt;https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#https-proxy-error-http-proxy&lt;/A&gt;'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Some research on the matter indicates I might need to pass in a proxy dictionary such as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;proxy = {
    "https":'https://something',
    "http":'http://something'
    }

# then pass proxy=proxy into GIS()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question (for now) is where do I find the proxy urls?&amp;nbsp; If I need to talk to my Enterprise IT, what exactly should I ask for, so we're talking the same language?&amp;nbsp; Of course, if you have better overall solutions, please chime in.&amp;nbsp; Much appreciated.&lt;/P&gt;&lt;P&gt;Tyler&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArcGIS Pro 3.0.2&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 14:02:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/proxy-error-instantiating-a-gis-with-arcgis-api/m-p/1235875#M8066</guid>
      <dc:creator>TylerT</dc:creator>
      <dc:date>2022-11-29T14:02:43Z</dc:date>
    </item>
  </channel>
</rss>

