<?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>article The I/O operation has been aborted because of either a thread exit or an application request. in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/The-I-O-operation-has-been-aborted-because-of-either-a-thread/ta-p/1717816</link>
    <description>&lt;P&gt;The Qlik Sense proxy cannot be accessed via .NET code.&lt;/P&gt;
&lt;P&gt;A 403 forbidden error is returned.&lt;/P&gt;
&lt;P&gt;The logs indicate:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;The I/O operation has been aborted because of either a thread exit or an application request.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="qlik-migrated-tkb-headings"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;Cause:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;The .NET code was defaulting to a disabled TLS version.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example: TLS 1.0 and 1.1 are disabled, but not 1.2. The .NET code may default to 1.0, which is disabled.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;Specify in the .NET code &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12&lt;/SPAN&gt; to target TLS 1.2, which should enable the API call to work correctly. The equivalent can be used in Powershell by adding &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12&lt;/SPAN&gt; to the calling script.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Feb 2021 09:07:53 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2021-02-23T09:07:53Z</dc:date>
    <item>
      <title>The I/O operation has been aborted because of either a thread exit or an application request.</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/The-I-O-operation-has-been-aborted-because-of-either-a-thread/ta-p/1717816</link>
      <description>&lt;P&gt;The Qlik Sense proxy cannot be accessed via .NET code.&lt;/P&gt;
&lt;P&gt;A 403 forbidden error is returned.&lt;/P&gt;
&lt;P&gt;The logs indicate:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;The I/O operation has been aborted because of either a thread exit or an application request.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="qlik-migrated-tkb-headings"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;Cause:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;The .NET code was defaulting to a disabled TLS version.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example: TLS 1.0 and 1.1 are disabled, but not 1.2. The .NET code may default to 1.0, which is disabled.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;Specify in the .NET code &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12&lt;/SPAN&gt; to target TLS 1.2, which should enable the API call to work correctly. The equivalent can be used in Powershell by adding &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12&lt;/SPAN&gt; to the calling script.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 09:07:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/The-I-O-operation-has-been-aborted-because-of-either-a-thread/ta-p/1717816</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2021-02-23T09:07:53Z</dc:date>
    </item>
  </channel>
</rss>

