Skip to main content

Official Support Articles

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

JAN. 24, Q&A with Qlik: Making the Move to Qlik Cloud Reporting: REGISTER NOW

net/http error: TLS handshake timeout during App Get request with Qlik-CLI

Showing results for 
Search instead for 
Did you mean: 
Digital Support
Digital Support

net/http error: TLS handshake timeout during App Get request with Qlik-CLI

A TLS handshake timeout is reached when running a simple App Get requests via Qlik-CLI. The same request via Invoke-WebRequest completes quickly and successfully.

PowerShell Script example with error:

$tenant = ""
$tenantId = 'xxxxxx'
$apikey = "STRIPPED"
qlik context update $tenant --api-key $apikey
qlik context use $tenant
qlik app get "xxxxxx" v#-----------------------------------------------------------------------------------
qlik : Server-type not set, guessing "cloud"
At line:7 char:1
+ qlik app get "xxxxxxx" -v
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{{ + CategoryInfo : NotSpecified: (Server-type not set, guessing "cloud":String) [], RemoteException}}
{{ + FullyQualifiedErrorId : NativeCommandError}}

GET xxxxxx
> Authorization: Bearer xxxxx
> Content-Type: application/json
> Referer: xxxxxx 
> User-Agent: qlik/2.8.0 (windows)
Error: Get "xxxxxxx": net/http: TLS handshake timeout



Qlik-CLI doesn't pick up the Internet Proxy defined in Internet Options at the OS level, while PowerShell does.

To resolve this, set the https_proxy environment variable via PowerShell or at the OS level permanently to guarantee Qlik-CLI can connect to their tenant via the permitted path in their network setup.


Set the environment variable at beginning of the script:


Remove the environment variable when done:



Related Content 

Getting started with Qlik-CLI 



Qlik Cloud 


Internal Investigation ID(s) 


Labels (1)
Version history
Last update:
‎2022-12-07 06:15 AM
Updated by: