Member since
07-30-2019
3427
Posts
1632
Kudos Received
1011
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 85 | 01-27-2026 12:46 PM | |
| 491 | 01-13-2026 11:14 AM | |
| 1031 | 01-09-2026 06:58 AM | |
| 917 | 12-17-2025 05:55 AM | |
| 978 | 12-15-2025 01:29 PM |
09-08-2023
11:52 AM
@Ashwani This could be a Proxy configuration issue, could be SAN issue, or something else. I'd suggest enabling developer tools in your browser and observe the network transactions when you attempt to access your NiFi. There is no correlation between you current setup and the fact that it worked when using the Single User authentication. Single User utilizes a local username and Password to authenticate your user. When you have the single user provider configured authentication and then try to access NiFi, NiFi will "WANT" a client certificate. If the Client does not provide a trusted clientAuth certificate in that TLS exchange, NiFi will try the next configured user authentication method. In that setup that would be the single user provider. I am not sure the complete setup you have in place now, but if TLS is only method configured for user authentication, NiFi will "Require" a trusted clientAuth certificate is presented. If a trusted certificate can not be provided, NiFi simply closes the connection. It is the responsibility of the Proxy to facilitate the passing of the clientAuth certificate to the NiFi. I see from your shared images numerous IP addresses. The screenshot from your browser shows a 3.x.x.x address, the configured proxy.host is a 18.x.x.x address, and your NiFi node is a 172.x.x.x address. What is this 3.x.x.x address for? I suggest adding the address you use in your browser as a SAN entry as well. The shared certificates all look correct except for possibly needing that additional 3.x.x.x address as a SAN entry. Have you tried using openssl to observer the TLS exchange (serverHello) response when you try to initiate a connection to the NiFi? openssl s_client -connect <ipaddress or hostname>:<port> -showcerts I'd expect in the serverHello a listed of trusted authorities (localhost from your NiFi truststore). If you are not getting that but some other list, your Proxy is trying to negotiate a TLS exchange instead of proxying the exchange with the NiFi endpoint maybe. Also possible your proxy is not passing the clientAuth certificate to your NiFi or the proxy is trying to establish its own TLS handshake with NiFi to which a successful mutualTLS handshake is not successful. And just for completeness, you did load your client certificate in to your browser? Hope this helps you with your journey. If you found any of the suggestion/solution provided helped you with your issue, please take a moment to login and click "Accept as Solution" on one or more of them that helped. Thank you, Matt
... View more
09-07-2023
07:30 PM
So I copied only those nars which we use, and container could launch now. Though I have to remove few nars which were causing issues, like nifi-ssl-context-service-nar-1.10.0.nar. And now existing flows dont have issues with properties which are obsolete in 1.22.0 as 1.10.0 nars are used for those components. Thanks for all the inputs.
... View more
09-06-2023
12:12 PM
1 Kudo
@manishg I strongly recommend testing our and updating your templates with the new release rather then adding in nars from older releases to the lib folder of a newer release. Adding old nars will lose and fixes, improvements or security related changes addressed with those old nars. Doing this is not really addressing yoru issues with yoru templates, but rather "kicking the can down the road". You will eventually need to take actions. Also as a heads up since you mentioned "templates"... NiFi "templates" have been deprecated in favor of the newer "flow definitions" that can be created/downloaded. The "templates" functionality is going away completely with the upcoming Apache NiFi 2.0 release. If you found that the provided solution(s) assisted you with your query, please take a moment to login and click Accept as Solution below each response that helped. Thank you, Matt
... View more
09-06-2023
12:05 PM
@MukaAddA Sorry, writing such script is not a strong area for me. I just happened to notice you were doing a session.create instead of a session.get. You may get better help by raising a new question on how to create a script to be executed by the ExecuteScript processor to accomplish your use case and provide details on that use case. I am sure there are others in the community that are good at writing such scripts. Matt
... View more
09-04-2023
07:45 AM
Hi everyone, I experienced the same error. After inspecting also the logs of nifi-registry, I found the error 2023-09-04 16:18:10,346 ERROR [NiFi Registry Web Server-17] o.a.n.r.web.mapper.ThrowableMapper An unexpected error has occurred: org.apache.nifi.registry.flow.FlowPersistenceException: Git directory /data/nifi01/nifi-registry-1.18.0/../nifiregistry_git is not clean or has uncommitted changes, resolve those changes first to save flow contents.. Returning Internal Server Error response.
org.apache.nifi.registry.flow.FlowPersistenceException: Git directory /data/nifi01/nifi-registry-1.18.0/../nifiregistry_git is not clean or has uncommitted changes, resolve those changes first to save flow contents. I changed to the path noted in the error message, changed to the user, which executes nifi-registry and checked the git repository status: git status Several files were modified and the git directory clearly was not "clean". I just committed and pushed everything (I had to set the git user name to make a successful commit). I don't know, why this all happend. But for now, its fixed.
... View more
08-28-2023
10:42 AM
@BKZ Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. If you are still experiencing the issue, can you provide the information @MattWho has requested? Thanks.
... View more
08-24-2023
12:45 PM
@mslnrd This is likely caused by LDAP on 636 uses referrals that can your initial query can be referred to across the entire domain tree across multiple LDAP servers. So somewhere within that referral your issues arrises in the hostname verification. Switching to the global catalog port 3269 and there are no referrals. I can't speak to the issues within your ldaps servers causing the issue within the referrals, but makes sense why switching to the secure global catalog port resolved your issue. Hope this clarifies why the change in port resolved your issue. If you found that the provided solution(s) assisted you with your query, please take a moment to login and click Accept as Solution below each response that helped. Thank you, Matt
... View more
08-24-2023
12:31 PM
@kothari It is not Ranger's job to inform the client applications using Ranger what users belong to what group. Each client application is responsible for determining which groups the user authenticated into that service belong to. The policies generated by Ranger are downloaded by the client applications. Within that downloaded policy json will be a resource identifier(s), list if user identities authorized (read, write, and/or delete) , and list of group identities authorized (read, write, or delete) against each resource identifier. So when client checks the downloaded policies from Ranger it is looking for the user identity being authorized and if client is aware of the group(s) that user belongs to, will also check authorization for that group identity. so in your case, it i s most likely that your client service/application has not been configured with the same user and group association setup in your Ranger service. If you found that the provided solution(s) assisted you with your query, please take a moment to login and click Accept as Solution below each response that helped. Thank you, Matt
... View more
08-24-2023
06:43 AM
Thank you for your response MattWho! I didn't just copy configuration files between versions. I did update core configuration files such as nifi.properties and manage it through Ansible. I just copied certificates (jks), flow.xml.gz (flow file) and authorizations.xml (to save my permissions, it is not related to the flow initialization I guess). Anyway I listen to your recommendations and setup it clearly with fully updated files without any of configuration files from previous versions but no luck. My Flow still cannot be initialized. At least my previous version 1.11.4 won't start with that flow.xml.gz too unfortunately. Seems it some broken there, but I have no clue. One thing I could markup that I installed and used ProtobufProcessor. I have backup flow file behind two months ago and it's worked. I updated NiFi cluster to 1.23.0 and seems its all okay now.
... View more
08-22-2023
07:23 AM
Thank you Matt it worked!
... View more