<?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 Python Script Connection Error SOAP API &amp;quot; An existing connection was forcibly closed by the remote h in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Python-Script-Connection-Error-SOAP-API-quot-An-existing/m-p/1856826#M29534</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm using a python script in Power Bi to connect to another system via SOAP API.&lt;BR /&gt;It was working fine for some time, then the refresh started to work only 50% of the time (even manual refresh), no it's not working at all for some of my scripts. The same script is still working while running it outside of power bi in a jupyter notebook, only not working in power bi anymore.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I got this error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"DataSource.Error: ADO.NET: Python script error.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;lt;pi&amp;gt;ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;During handling of the above exception, another exception occurred:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;During handling of the above exception, another exception occurred:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;lt;/pi&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Details:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;DataSourceKind=Python&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;DataSourcePath=Python&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Message=Python script error.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;lt;pi&amp;gt;ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;During handling of the above exception, another exception occurred:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;During handling of the above exception, another exception occurred:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;lt;/pi&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ErrorCode=-2147467259&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ExceptionType=Microsoft.PowerBI.Scripting.Python.Exceptions.PythonScriptRuntimeException"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Can someone help me with this problem?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 21 May 2021 12:08:29 GMT</pubDate>
    <dc:creator>cvandendriesche</dc:creator>
    <dc:date>2021-05-21T12:08:29Z</dc:date>
    <item>
      <title>Python Script Connection Error SOAP API " An existing connection was forcibly closed by the remote h</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Python-Script-Connection-Error-SOAP-API-quot-An-existing/m-p/1856826#M29534</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm using a python script in Power Bi to connect to another system via SOAP API.&lt;BR /&gt;It was working fine for some time, then the refresh started to work only 50% of the time (even manual refresh), no it's not working at all for some of my scripts. The same script is still working while running it outside of power bi in a jupyter notebook, only not working in power bi anymore.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I got this error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"DataSource.Error: ADO.NET: Python script error.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;lt;pi&amp;gt;ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;During handling of the above exception, another exception occurred:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;During handling of the above exception, another exception occurred:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;lt;/pi&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Details:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;DataSourceKind=Python&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;DataSourcePath=Python&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Message=Python script error.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;lt;pi&amp;gt;ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;During handling of the above exception, another exception occurred:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;During handling of the above exception, another exception occurred:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;lt;/pi&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ErrorCode=-2147467259&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ExceptionType=Microsoft.PowerBI.Scripting.Python.Exceptions.PythonScriptRuntimeException"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Can someone help me with this problem?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 12:08:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Python-Script-Connection-Error-SOAP-API-quot-An-existing/m-p/1856826#M29534</guid>
      <dc:creator>cvandendriesche</dc:creator>
      <dc:date>2021-05-21T12:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script Connection Error SOAP API " An existing connection was forcibly closed by the</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Python-Script-Connection-Error-SOAP-API-quot-An-existing/m-p/1859258#M29551</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/303387"&gt;@cvandendriesche&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are many reasons result in this issue,such as the host or remote network interface is disabled, the remote host uses a hard close,the peer application on the remote host is suddenly stopped.Sometimes trying this from inside a firewalled Corporate network is also caused this error. Please rule out these possibilities first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Liang &lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 05:26:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Python-Script-Connection-Error-SOAP-API-quot-An-existing/m-p/1859258#M29551</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-05-24T05:26:17Z</dc:date>
    </item>
  </channel>
</rss>

