Support Questions
Find answers, ask questions, and share your expertise

Could not decrypt sensitive value - NiFi

Could not decrypt sensitive value - NiFi

Hi,

 

When i try to restart the cluster after installing a workflow, I end up getting ERROR org.apache.nifi.controller.StandardFlowService: Failed to load flow from cluster due to: org.apache.nifi.cluster.ConnectionException: Failed to connect node to cluster due to: org.apache.nifi.encrypt.EncryptionException: org.apache.nifi.encrypt.EncryptionException: Could not decrypt sensitive value (nifi-app.log). Not sure what would be the cause for this error. 

1 REPLY 1
Highlighted

Re: Could not decrypt sensitive value - NiFi

Cloudera Employee

@bsivalingam83  This error generally occurs when you copied the flow.xml.gz from another NiFi cluster and tries to load it in new NiFi setup. This happens because the "nifi.sensitive.props.key" from first NiFi setup is different from "nifi.sensitive.props.key" value from second NiFi setup.

 

If flow.xml.gz is not copied and CFM is 1.0.x version then you may need to check 
https://docs.cloudera.com/cfm/1.0.1/upgrading-cfm/content/upgrading-cfm.html to resolve the issue