Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!

Qlik Data Transfer unable to connect to the tenant

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sebastian_Linser

Qlik Data Transfer unable to connect to the tenant

Last Update:

Jun 29, 2022 8:21:12 AM

Updated By:

Benoit_C

Created date:

Dec 9, 2020 4:21:29 AM

  1. When trying to install and configure Qlik Data Transfer (QDT) for the first time, you might have got the error message:

    unable to connect to the tenant

    In the logs for the DataUploadService located under %ProgramData%\Qlik\DataTransfer\Log  you might see the lines:

    localhost 2.1.3 Global ERROR Error: Spaces service not responding
    at s (C:\Program Files\Qlik\DataTransfer\DataUploadService\index.js:214:40472)
    at verifyTenant (C:\Program Files\Qlik\DataTransfer\DataUploadService\index.js:214:41364)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)

    You also might see such lines:

    20220404T135848.460+0200 localhost 7.3.0 Global ERROR Error: Unauthorized.

     

    Environment

    • Qlik Data Transfer all versions

     

    Resolution

    To see if this is a network issue you can check set a global windows environmental variable:

    SET NODE_TLS_REJECT_UNAUTHORIZED=0 

    After this you need to restart the Qlik Data Transfer Service to pick up the new variable. Be aware that adding this variable add some vulnerability to the system since it would trust any package as response from the website even without the proper header. So use this only to see if you can connect but not in a prod environment. You need the help of your internal IT to get this solved in a secure way.

    If it works after this variable was added then please reach out to your network team checking the firewall / vpn configuration to the Qlik Sense SaaS endpoint, e,g, https://yourname.eu.qlikcloud.com.

    Once they have reconfigured the routing and possible ssl certificate resigning you can remove the environment variable and have a second test to connect with the QDT gui.

    Cause 

    missconfigured VPN or firewall or proxy or a SSL/TLS proxy

    Troubleshooting

    When you have such issue where it's not possible to connect to the Tenant from the Qlik Data Transfer you would need to check in a first place all below points:

    1. Check if your environment has a proxy. Qlik Data Transfer will not work correctly with a proxy: Qlik DataTransfer does not support the use of web proxies. If your system uses proxies, you must add a proxy bypass rule specifically for Qlik DataTransfer.

    2. Check that the Tenant user which has created the API key has a Professional access on that tenant and has a developer role on that tenant.

    3. Check if you can connect to the Tenant from the server with a browser.

    4. If you can connect with no issue, check what certificate you do have when connected. It should be displayed as below:

      cert.png

      If you have something different, like for example this:


      cert2.png

      This would mean something in your infrastructure is capturing and modifying the certificate. The result would be that Qlik Data Transfer will not be able to connect to the Tenant.

    5. The policy SSL Configuration Settings must be set to only support ciphers in IANA format on the machine on which you are installing Qlik DataTransfer.

      If you have Qlik Data Transfer installed in Windows 2012 R2, t
      he following cipher suites must be present:

      • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

      • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256

      • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

      • TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384

      • TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256

    6. Check with the tool from below article if there is an environmental setting (like policies, Windows variable..) which might be the cause:
      https://community.qlik.com/t5/Knowledge/Windows-Commands-To-Retrieve-Environment-Information-v2-20/t...
    7. If all the above is correct you might want to check if you can do an API call from your server with Powershell and check if you would have a more accurate error in case it's not working:
      https://community.qlik.com/t5/Knowledge/Qlik-Sense-Enterprise-SaaS-Call-a-REST-API-endpoint-PowerShe...
Comments
Stevan_Klaas
Partner - Contributor II
Partner - Contributor II

Hi Sebastian,

 

Where do you find the logs for the DataUploadService you mentioned ?

 

Thank you very much,

Stevan

Stevan_Klaas
Partner - Contributor II
Partner - Contributor II

Sorry just spotted it in documentation...

 

Logs and data file storage

Qlik DataTransfer log files are located here: %ProgramData%\Qlik\DataTransfer\Log

Sebastian_Linser

Hello, i will update the article so the location is visible directly. Thank you for pointing this out.

 

Serkan
Partner - Creator
Partner - Creator

Hello @Sebastian_Linser 

curently we have an issue with the data transfer when trying to obload files from a local folder. Error message is " Error wile moving file to qix-datafiles" or "Error while temp storage upload". Do you have an idea what could be here the issue?

Serkan_0-1619102547627.png

Regards

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @Serkan 

Did you get this working in the end. We have hit the same problem.

We are also unable to see apps in any of the spaces when setting up new tasks. When looking at existing tasks we can see the app that we set to refresh originally, but not any others.

It was working for a time, and we believe that it may have been a change of licence for the user that generated the API key that cause the issue. A new API key has been generated since.

Any suggestions welcome! Thanks.

Steve

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Not sure if it will help anyone else, but did get this working. I think that the issue was that the professional licence was removed from the user and that stopped the uploads. Granting that licence again didn't fix the issue immediately. After granting the permissions we created a new API key and restarted the data transfer service - not sure which of those things fixed it in the end.

Steve

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @Serkan !

Steven's idea is a great place to start. Should that not help you resolve it, I'd recommend taking the query over to our community forums to engage with our active community. This one is the best choice: Connectivity & Data Prep.

Serkan
Partner - Creator
Partner - Creator

Hello @Sonja_Bauernfeind , hello @stevedark ,

currently we have the issue that we are not able to upload files from a local folder. In the meantime we uninstalled and made an fresh installation of the qlik data transfer. Also we assigned to the user which tries to upload data (qvd, txt) a professional license. The user is also owner of the shared-space and is Tenant-Admin + Developer. Nothing helped.  We get the following error message. 

Serkan_0-1620055380836.png

Regards

Serkan

Version history
Last update:
‎2022-06-29 08:21 AM
Updated by: