Skip to main content
kamal_uddin
Gold ⭐️
Sep 15, 2023 10:55 AM UTC
Solved

Failed to register flow with Flow Registry due to Error creating snapshot: An unexpected error has occurred. Please check the logs for additional details

kamal_uddin_0-1694774955280.png

Nifi registry key was expired, I have regenerated key for nifi registry ans also nifi nodes.
After setting up new key ssl error resolved but now i still can't commit to nifi registry from nifi node.



Error log from nifi registry log :

2023-09-15 12:18:56,526 ERROR [NiFi Registry Web Server-25] o.a.n.r.web.mapper.ThrowableMapper An unexpected error has occurred: org.apache.nifi.registry.flow.FlowPersistenceException: Git directory ./nifi01_flow 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 ./nifi01_flow is not clean or has uncommitted changes, resolve those changes first to save flow contents.

Note: I did not made any config change other then adding new ketstore and truststore to nifi registry and nodes.

kamal_uddin
Gold ⭐️
Sep 18, 2023 2:18 PM UTC

There was git authentication problem. That caused the issue.

2 replies

cjervis
Community Manager
Community Manager
Sep 15, 2023 12:17 PM UTC

Welcome to the community @kamal_uddin. Allow me to tag in @stevenmatison who may be able to get you moving in the right direction. 

Translate
Keep the questions coming
kamal_uddin
kamal_uddinAuthorAnswer
Gold ⭐️
Sep 18, 2023 2:18 PM UTC

There was git authentication problem. That caused the issue.

Translate