Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

The I/O operation has been aborted because of either a thread exit or an application request.

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

The I/O operation has been aborted because of either a thread exit or an application request.

Last Update:

Feb 23, 2021 4:07:53 AM

Updated By:

Sonja_Bauernfeind

Created date:

Jun 14, 2019 6:43:21 AM

The Qlik Sense proxy cannot be accessed via .NET code.

A 403 forbidden error is returned.

The logs indicate:

The I/O operation has been aborted because of either a thread exit or an application request.

 

 

Environment:

Qlik Sense Enterprise on Windows 

 

Cause:


The .NET code was defaulting to a disabled TLS version. 

Example: TLS 1.0 and 1.1 are disabled, but not 1.2. The .NET code may default to 1.0, which is disabled. 

 

Resolution:


Specify in the .NET code System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 to target TLS 1.2, which should enable the API call to work correctly. The equivalent can be used in Powershell by adding [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 to the calling script.

Labels (1)
Contributors
Version history
Last update:
‎2021-02-23 04:07 AM
Updated by: