- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Nifi error: Unable to save flow controller configuration
- Labels:
-
Apache NiFi
-
NiFi Registry
Created on ‎03-14-2022 12:30 AM - edited ‎03-14-2022 12:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm getting same error again and again. Not able to resolve it. Can anyone help me in it. Nifi running in Linux server
Created ‎03-15-2022 03:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi , @krishna123,
Thanks for the output! This explains the issue that you're seeing.
You mentioned before that you were using Java 1.8.0_275, but the log line you just provided shows that NiFi is actually using Java 1.8.0_74.
In this version of Java, cryptographic key sizes are limited and NiFi cannot not handle AES keys larger than 128 bits. Because of that, NiFi fails to instantiate AES iphers properly. To enable that in your Java version, you would have to download the Java Cryptography Extension (JCE) Unlimited Strength policies and copy them to your Java home manually to allow AES keys of size 256 and larger. These policies are only included by default in the JDK starting from update 1.8.0_162.
If you already have Java 1.8.0_275 installed, make sure NiFi can see it and use it. This will solve your problem. You can verify which Java version NiFi is using by checking the line that I mentioned in the log.
Cheers,
André
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created ‎03-15-2022 02:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎03-15-2022 03:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi , @krishna123,
Thanks for the output! This explains the issue that you're seeing.
You mentioned before that you were using Java 1.8.0_275, but the log line you just provided shows that NiFi is actually using Java 1.8.0_74.
In this version of Java, cryptographic key sizes are limited and NiFi cannot not handle AES keys larger than 128 bits. Because of that, NiFi fails to instantiate AES iphers properly. To enable that in your Java version, you would have to download the Java Cryptography Extension (JCE) Unlimited Strength policies and copy them to your Java home manually to allow AES keys of size 256 and larger. These policies are only included by default in the JDK starting from update 1.8.0_162.
If you already have Java 1.8.0_275 installed, make sure NiFi can see it and use it. This will solve your problem. You can verify which Java version NiFi is using by checking the line that I mentioned in the log.
Cheers,
André
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created ‎03-15-2022 03:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@araujo How can I change the version of Java which Nifi is using?
Created ‎03-15-2022 04:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check your environment path and Java Home settings. NiFi will pick the first Java binary that it finds in your path.
André
--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created ‎03-15-2022 06:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok Thanks @araujo
Created ‎03-22-2022 06:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you manage to get your problem solved?
André
--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created ‎03-23-2022 10:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@araujo No, could not fix the issue
Created ‎03-24-2022 03:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you able to uninstall the Java 1.8.0_74 version?
André
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Created ‎03-24-2022 03:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @krishna123,
I have the same problem. Thank you for helping me

- « Previous
-
- 1
- 2
- Next »