Qlik Community

Ask a Question

Knowledge Base

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

Announcements
QlikWorld starts MONDAY! last chance to register is now ! REGISTER NOW

Qlik Data Transfer unable to connect to the tenant

Sebastian_Linser

Qlik Data Transfer unable to connect to the tenant

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)

 

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

Comments
Stevan_Klaas
Contributor
Contributor

Hi Sebastian,

 

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

 

Thank you very much,

Stevan

Stevan_Klaas
Contributor
Contributor

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
Partner

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
MVP
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
MVP
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
Partner

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
Revision #:
6 of 6
Last update:
‎2021-04-08 02:58 AM
Updated by: