Hello,

I've just upgraded from NiFi 1.2.0 to 1.7.1 and been playing around with the NiFi registry features which are great!

I've been trying to get it to push automatically to my bitbucket repository but I keep getting the following error: "Failed to push commits to origin due to org.eclipse.jgit.api.errors.TransfportException ssh://git@bitbucketserver:1234/nifi-registry.git Auth Fail"

In my configuration I have the folllowing setttings in my providers.xml:
<flowPersistenceProvider>
<class>org.apache.nifi.registry.provider.flow.git.GitFlowPersistenceProvider</class> <property name="Flow Storage Directory">./storage/nifi_registry_repo</property>
        <property name="Remote To Push">origin</property>
        <property name="Remote Access User">ssh_key_user</property>
<property name="Remote Access Password">ssh key password</property>
</flowPersistenceProvider>

The nifi_registry_repo is a git repo which I have cloned down from my bitbucket server. I've setup a SSH and loaded into the bitbucket repo, I can successfully push and pull from the command line on the nifi registry server using the ssh key.

When I change a flow in the NiFi registry UI it commits successfully to the repo but fails to push the changes up to the bitbucket server.

Has anyone else done this successfully? Or is there mistake I've made in my configs?

Thanks

K

Reply via email to