Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Could not decrypt sensitive value - NiFi

avatar
Rising Star

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

avatar
Expert Contributor

@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