<?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: ArcGIS Pro Solution Deployment Tool fails deploying solution in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-solution-deployment-tool-fails/m-p/579384#M25439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;+ &lt;A href="https://community.esri.com/space/2052"&gt;Solutions&lt;/A&gt;‌ &lt;A href="https://community.esri.com/group/4310"&gt;Local Government Solutions Users&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 May 2019 16:23:31 GMT</pubDate>
    <dc:creator>KoryKramer</dc:creator>
    <dc:date>2019-05-21T16:23:31Z</dc:date>
    <item>
      <title>ArcGIS Pro Solution Deployment Tool fails deploying solution</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-solution-deployment-tool-fails/m-p/579383#M25438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been having problems with the solution deployment tool where I get an error saying it "Unable to Initialize. Failed to connect to source portal". The solution I was trying to deploy was the Incident Status Dashboard but I get the message on all solutions and switching to different ArcGIS online accounts does not solve the error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did some troubleshooting by upgrading Pro to 2.3.2 and updated the deployment tool to version 2019.3.19 on Windows 10 but the issue has not gone away.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what might be causing the error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="448084" alt="Error in solution deployment tool" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/448084_ProError.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks Brady&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2019 16:21:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-solution-deployment-tool-fails/m-p/579383#M25438</guid>
      <dc:creator>BradySmith</dc:creator>
      <dc:date>2019-05-21T16:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Solution Deployment Tool fails deploying solution</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-solution-deployment-tool-fails/m-p/579384#M25439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;+ &lt;A href="https://community.esri.com/space/2052"&gt;Solutions&lt;/A&gt;‌ &lt;A href="https://community.esri.com/group/4310"&gt;Local Government Solutions Users&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2019 16:23:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-solution-deployment-tool-fails/m-p/579384#M25439</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2019-05-21T16:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Solution Deployment Tool fails deploying solution</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-solution-deployment-tool-fails/m-p/579385#M25440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brady,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is sometimes caused by an issue in python not being able to connect to Arcgis Online, often&amp;nbsp;related to a proxy. Could you try the following to narrow down the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;From the analysis tab open the python window&lt;/LI&gt;&lt;LI&gt;Paste the following code and hit enter:&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcgis&lt;/P&gt;&lt;P&gt;online = arcgis.GIS()&lt;/P&gt;&lt;P&gt;print(online)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be helpful if you could send back what is printed to the python window.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2019 21:00:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-solution-deployment-tool-fails/m-p/579385#M25440</guid>
      <dc:creator>ChrisFox</dc:creator>
      <dc:date>2019-05-21T21:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Solution Deployment Tool fails deploying solution</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-solution-deployment-tool-fails/m-p/579386#M25441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris, thanks for the response. Here is what I got when I followed the steps above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 1318, in do_open&lt;/P&gt;&lt;P&gt;encode_chunked=req.has_header('Transfer-encoding'))&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\http\client.py", line 1239, in request&lt;/P&gt;&lt;P&gt;self._send_request(method, url, body, headers, encode_chunked)&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\http\client.py", line 1285, in _send_request&lt;/P&gt;&lt;P&gt;self.endheaders(body, encode_chunked=encode_chunked)&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\http\client.py", line 1234, in endheaders&lt;/P&gt;&lt;P&gt;self._send_output(message_body, encode_chunked=encode_chunked)&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\http\client.py", line 1026, in _send_output&lt;/P&gt;&lt;P&gt;self.send(msg)&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\http\client.py", line 964, in send&lt;/P&gt;&lt;P&gt;self.connect()&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\http\client.py", line 1392, in connect&lt;/P&gt;&lt;P&gt;super().connect()&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\http\client.py", line 936, in connect&lt;/P&gt;&lt;P&gt;(self.host,self.port), self.timeout, self.source_address)&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\socket.py", line 724, in create_connection&lt;/P&gt;&lt;P&gt;raise err&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\socket.py", line 713, in create_connection&lt;/P&gt;&lt;P&gt;sock.connect(sa)&lt;/P&gt;&lt;P&gt;ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it&lt;/P&gt;&lt;P&gt;During handling of the above exception, another exception occurred:&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;File "&amp;lt;string&amp;gt;", line 2, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py", line 332, in __init__&lt;/P&gt;&lt;P&gt;raise e&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py", line 320, in __init__&lt;/P&gt;&lt;P&gt;referer=self._referer)&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\portalpy.py", line 163, in __init__&lt;/P&gt;&lt;P&gt;client_id=client_id)&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py", line 290, in __init__&lt;/P&gt;&lt;P&gt;self.login(username, password, expiration, client_id)&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py", line 536, in login&lt;/P&gt;&lt;P&gt;resp = self.post('', { 'f': 'json' }, add_token=False) # probe portal to find auth scheme&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py", line 1107, in post&lt;/P&gt;&lt;P&gt;resp = opener.open(url, data=encoded_postdata.encode())&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 526, in open&lt;/P&gt;&lt;P&gt;response = self._open(req, data)&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 544, in _open&lt;/P&gt;&lt;P&gt;'_open', req)&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 504, in _call_chain&lt;/P&gt;&lt;P&gt;result = func(*args)&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 1361, in https_open&lt;/P&gt;&lt;P&gt;context=self._context, check_hostname=self._check_hostname)&lt;/P&gt;&lt;P&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\urllib\request.py", line 1320, in do_open&lt;/P&gt;&lt;P&gt;raise URLError(err)&lt;/P&gt;&lt;P&gt;urllib.error.URLError: &amp;lt;urlopen error [WinError 10061] No connection could be made because the target machine actively refused it&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2019 22:32:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-solution-deployment-tool-fails/m-p/579386#M25441</guid>
      <dc:creator>BradySmith</dc:creator>
      <dc:date>2019-05-21T22:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Solution Deployment Tool fails deploying solution</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-solution-deployment-tool-fails/m-p/579387#M25442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brady,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code you executed is the basic logic to make an anonymous connection to ArcGIS Online which is what the solution deployment tool needs to deploy the solutions to your org. Something in your environment is preventing python from making this connection. For example sometimes people try the same from their home network and it works fine, something on their work network causes it to fail. I don't have a lot of experience in this area, my recommendation would be to contact Technical Support to troubleshoot your environment and specifically why you can't make this anonymous connection to ArcGIS Online through python. If you resolve this issue, it should resolve the issue with the Solution Deployment tool failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Chris&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2019 13:38:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-solution-deployment-tool-fails/m-p/579387#M25442</guid>
      <dc:creator>ChrisFox</dc:creator>
      <dc:date>2019-05-22T13:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Solution Deployment Tool fails deploying solution</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-solution-deployment-tool-fails/m-p/579388#M25443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, I had the very same issue ans resolved it !&lt;/P&gt;&lt;P&gt;Following this thread about bypassing proxy :&amp;nbsp;&lt;A class="link-titled" href="https://stackoverflow.com/questions/28521535/requests-how-to-disable-bypass-proxy/28521696" title="https://stackoverflow.com/questions/28521535/requests-how-to-disable-bypass-proxy/28521696"&gt;python - requests: how to disable / bypass proxy - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I succeeded in connecting anonymously to AGOL with the code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import os&lt;BR /&gt;import requests&lt;/P&gt;&lt;P&gt;os.environ['NO_PROXY'] = 'arcgis.com'&lt;BR /&gt;import arcgis&lt;/P&gt;&lt;P&gt;online = arcgis.GIS()&lt;/P&gt;&lt;P&gt;print(online)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then was able to deploy the tool using ArcGIS Solution&lt;/P&gt;&lt;P&gt;Hope this will help you&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/480003_ukfxle3tU1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2020 04:50:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-solution-deployment-tool-fails/m-p/579388#M25443</guid>
      <dc:creator>DSIProvince_Nord</dc:creator>
      <dc:date>2020-01-31T04:50:34Z</dc:date>
    </item>
  </channel>
</rss>

