
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"Failed to save the deployment. The deployment service returned an unexpected error" error received when creating Qlik Sense multi-cloud deployment
Nov 22, 2022 6:54:15 AM
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:
- Start Qlik Sense Repository Database service on CENTRAL NODE, or PostgreSQL Server service if running a dedicated instance of PostgreSQL database server.
- Using pgAdmin tool or any other database client, connect to QSR database.
-
Execute following query against SenseServices database:
DROP TABLE IF EXISTS hybrid_deployment_service.mt_doc_asymmetrickeysencrypt CASCADE;
-
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