<?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: Connection to AGOL Exception in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1500913#M10285</link>
    <description>&lt;P&gt;That was the issue. Thanks for sharing.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2024 12:14:37 GMT</pubDate>
    <dc:creator>BrianLeroux</dc:creator>
    <dc:date>2024-07-03T12:14:37Z</dc:date>
    <item>
      <title>Connection to AGOL Exception</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1495299#M10214</link>
      <description>&lt;P&gt;I have a script i have been using for the past 6 months that connects to AGOL and copies content into my Portal. Today the script is unable to connect to AGOL. The script connects using&amp;nbsp;gis = GIS(url="&lt;A href="https://amica.maps.arcgis.com/home" target="_blank"&gt;https://amica.maps.arcgis.com/home&lt;/A&gt;",username="myUN",password="myPW").&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Exception                                 Traceback (most recent call last)
In  [9]:
Line 1:     gis = GIS(url="https://amica.maps.arcgis.com/home",username="myUN",password="myPW")

File C:\Users\A10713\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-1\Lib\site-packages\arcgis\gis\__init__.py, in __init__:
Line 637:   raise e

File C:\Users\A10713\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-1\Lib\site-packages\arcgis\gis\__init__.py, in __init__:
Line 576:   self._portal = _portalpy.Portal(

File C:\Users\A10713\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-1\Lib\site-packages\arcgis\gis\_impl\_portalpy.py, in __init__:
Line 237:   self.get_properties(True)

File C:\Users\A10713\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-1\Lib\site-packages\arcgis\gis\_impl\_portalpy.py, in get_properties:
Line 1312:  raise e

File C:\Users\A10713\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-1\Lib\site-packages\arcgis\gis\_impl\_portalpy.py, in get_properties:
Line 1292:  resp = self.con.post(path, self._postdata(), ssl=True)

File C:\Users\A10713\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone-1\Lib\site-packages\arcgis\gis\_impl\_con\_connection.py, in post:
Line 1517:  raise Exception("A general error occurred: %s" % e)

Exception: A general error occurred: maximum recursion depth exceeded while calling a Python object&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;When I check in Fiddler I see the following message for the request.&amp;nbsp;&lt;/P&gt;&lt;P&gt;"After the client received notice of the established CONNECT, it failed to send any data."&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 12:36:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1495299#M10214</guid>
      <dc:creator>BrianLeroux</dc:creator>
      <dc:date>2024-06-20T12:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to AGOL Exception</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1495312#M10215</link>
      <description>&lt;P&gt;Oddly enough I was able to connect after changing my python package manager active environment back to the default arcgispro-py3 environment. I was using a clone as I needed a couple additional packages for another project. Not sure why the clone would block the connection to AGOL.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 12:59:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1495312#M10215</guid>
      <dc:creator>BrianLeroux</dc:creator>
      <dc:date>2024-06-20T12:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to AGOL Exception</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1496965#M10242</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the same error since I upgraded to pro 3.3, do you have the same version ?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 06:28:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1496965#M10242</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2024-06-25T06:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to AGOL Exception</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1497969#M10257</link>
      <description>&lt;P&gt;Currently experiencing the same thing in a dockerized container for arcgis version:&amp;nbsp;&lt;SPAN&gt;2.2.0.1&lt;BR /&gt;&lt;BR /&gt;I have not found a solution yet.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 00:02:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1497969#M10257</guid>
      <dc:creator>ericsamson_tract</dc:creator>
      <dc:date>2024-06-27T00:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to AGOL Exception</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1499886#M10271</link>
      <description>&lt;P&gt;Same issue since upgrading to 3.3. **bleep** ESRI, every time something gets updated; QC must be non-existent there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 15:12:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1499886#M10271</guid>
      <dc:creator>CarlVricella</dc:creator>
      <dc:date>2024-07-01T15:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to AGOL Exception</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1500079#M10275</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;you can take a look here : &lt;A href="https://community.esri.com/t5/arcgis-utility-network-questions/install-untools-breaks-arcgis-gis-connexion/m-p/1498706#M4053" target="_blank"&gt;https://community.esri.com/t5/arcgis-utility-network-questions/install-untools-breaks-arcgis-gis-connexion/m-p/1498706#M4053&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I posted there because it was related to Utility Network package installation, but it may be more common.&lt;/P&gt;&lt;P&gt;Problem -&amp;gt; You need &lt;FONT face="terminal,monaco"&gt;requests &amp;gt;=2.30.0,&amp;lt;2.32.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Solution -&amp;gt; pip install requests==2.31.0 on the cloned environment&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 20:48:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1500079#M10275</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2024-07-01T20:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to AGOL Exception</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1500913#M10285</link>
      <description>&lt;P&gt;That was the issue. Thanks for sharing.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 12:14:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1500913#M10285</guid>
      <dc:creator>BrianLeroux</dc:creator>
      <dc:date>2024-07-03T12:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to AGOL Exception</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1538379#M10661</link>
      <description>&lt;P&gt;I've attempted this fix, but It stays on the same requests version. Is there something I'm missing?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 16:49:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1538379#M10661</guid>
      <dc:creator>JCGuarneri</dc:creator>
      <dc:date>2024-09-13T16:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to AGOL Exception</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1546174#M10742</link>
      <description>&lt;P&gt;For anyone wondering how to do this, this is what I did.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In ArcGIS Pro, Project &amp;gt; Package Manager&lt;/LI&gt;&lt;LI&gt;Click the gear in the upper right-hand corner&lt;/LI&gt;&lt;LI&gt;In the ensuing dialog, highlight and copy the path to the active environment&lt;/LI&gt;&lt;LI&gt;Close ArcGIS Pro&lt;/LI&gt;&lt;LI&gt;Open Command Prompt&lt;/LI&gt;&lt;LI&gt;cd "(pasted path)"&lt;/LI&gt;&lt;LI&gt;cd Scripts&lt;/LI&gt;&lt;LI&gt;Copy and paste the pip command from this thread into Command Prompt&lt;/LI&gt;&lt;LI&gt;You should see a success message that the newer one is uninstalled and old, working one installed&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 15:18:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1546174#M10742</guid>
      <dc:creator>RogerDunnGIS</dc:creator>
      <dc:date>2024-10-07T15:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Connection to AGOL Exception</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1657677#M11723</link>
      <description>&lt;P&gt;Confirmed, if you use the default exe from instalation path it works....my other envs it wont. Not sure why.&lt;/P&gt;&lt;P&gt;Use this:&amp;nbsp; "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe"&lt;/P&gt;&lt;P&gt;PS: Hate Conda, PIP rocks!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 13:40:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/connection-to-agol-exception/m-p/1657677#M11723</guid>
      <dc:creator>JoabelBarbieri</dc:creator>
      <dc:date>2025-10-14T13:40:02Z</dc:date>
    </item>
  </channel>
</rss>

