Support Questions

Find answers, ask questions, and share your expertise

Getting Unable to obtain listing of buckets: org.apache.nifi.registry.client.NiFiRegistryException: Error retrieving all buckets Error while "start version control" in NiFi

avatar
Rising Star

AM using HDF 3.1.0 with NiFi and Nifi Registry. When i try use start version control from NiFi processors, am ending up getting Unable to obtain listing of buckets: org.apache.nifi.registry.client.NiFiRegistryException:

1 ACCEPTED SOLUTION

avatar
Guru

@Bala S

I've seen a similar error:

Unable to obtain listing of buckets: java.net.ConnectException: Connection refused

when the URL of the Registry Client (Under the top-right Global Menu-->Controller Settings-->Registry Clients tab) is incorrect.

Is there more in your Registry log (nifi-registry-app.log) Is your NiFi Registry secured? Other things to check:

-that you have buckets in your Registry

-that your user has privilege to access the buckets in your Registry

I wrote a couple articles regarding the Registry that might be useful:

https://community.hortonworks.com/articles/166802/versioned-dataflows-with-apache-nifi-15-and-apache...

https://community.hortonworks.com/articles/170966/setting-up-a-secure-apache-nifi-registry.html

https://community.hortonworks.com/articles/171173/setting-up-a-secure-nifi-to-integrate-with-a-secur...

View solution in original post

11 REPLIES 11

avatar
Master Mentor

@louis_allen 

You should avoid asking additional questions on an existing post that already has an accepted solution.  If the accepted solution does not resolve your issue that you may be having a different problem.  

You would get better visibility and a help if you were to start a new question.

That being said, if you are having a "javax.net.ssl.SSLHandshakeException", you issue is during client authentication and have not even the point of verifying client authorization.  So you need to take a closer look at the keystores and truststores you have setup on both your NiFi and NiFi-Registry to make sure that a mutual TLS handshake can be successfully negotiated.

Feel free to ping me if you start a new community question.

Hope this helps,

Matt

avatar
Explorer

Hi,

 

I have encountered the same issue and it got resolved by the following steps

 

Please check the port of Nifi in Ambari UI for SSL and without SSL.

Update similar port within NIFI Settings > Controler settings > REGISTRY CLIENTS with the hostname of the nifi registry.

Then add the proxy user as mentioned in the following link.

 

http://apache-nifi-users-list.2361937.n4.nabble.com/No-available-buckets-on-Nifi-td9971.html

 

Thanks

Ashish