Skip to main content

"Failed to save the deployment. The deployment service returned an unexpected error" error received when creating Qlik Sense multi-cloud deployment

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

"Failed to save the deployment. The deployment service returned an unexpected error" error received when creating Qlik Sense multi-cloud deployment

Last Update:

Nov 22, 2022 6:54:15 AM

Updated By:

Sonja_Bauernfeind

Created date:

Mar 30, 2021 9:32:27 PM

When configuring any Qlik cloud deployment, the following error is received with or without local bearer token option:

Failed to save the deployment. The deployment service returned an unexpected error

 

Troubleshooting

Review the HybridDeploymentService logs in: from C:\ProgramData\Qlik\Sense\Log\HybridDeploymentService\Trace\.

Note: If no recent log files have been created, then the hybrid deployment serivce is disabled and needs to be enabled. See How to disable the App Distribution Service (ADS) on a machine in a multinode environment  for a solution. Set disable=False

If the service is correctly running, you may see the following error in the logs:

Connection id ""xxxxxxxxxxx"", Request id ""xxxxxxxxxxx:00000001"": An unhandled exception was thrown by the application.    Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException: Bad Data↵↓   at Internal.NativeCrypto.CapiHelper.ToKeyBlob(RSAParameters rsaParameters)↵↓   at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)... 

Resolution

Service Disabled:

If previously disabled, enable the hybrid deployment serivce as per How to disable the App Distribution Service (ADS) on a machine in a multinode environment.

Internal.Cryptography error:

  1. Start Qlik Sense Repository Database service on CENTRAL NODE, or PostgreSQL Server service if running a dedicated instance of PostgreSQL database server.
  2. Using pgAdmin tool or any other database client, connect to QSR database.
  3. Execute following query against SenseServices database:

    DROP TABLE IF EXISTS hybrid_deployment_service.mt_doc_asymmetrickeysencrypt CASCADE;
  4. Navigate to Deployments page of Multi-cloud Setup Console (MSC) and test the deployment. 

 

Please see "For Qlik Sense multi-cloud deployment (September 2020 or later)" on How to recreate or just delete certificates in Qlik Sense - No access to QMC or Hub 

Internal Investigation ID(s) 

QB-4600, QB-15119

 

Environment

Qlik Sense Enterprise on Windows 
Qlik Cloud 
Qlik Sense Multi-Cloud

Labels (1)
Version history
Last update:
‎2022-11-22 06:54 AM
Updated by: