Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Getting connection exception running unsecured nifi registry

Highlighted

Getting connection exception running unsecured nifi registry

New Contributor

This is the error I am getting:
Unable to obtain listing of buckets: java.net.ConnectException: Connection refused (Connection refused)


When I look it up, I see that often this happens with errors in secured connections. I do not have a secured connection and I don't need one. This here specifies that registry should work unsecured. Why am I facing this issue?? Thanks.

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

4 REPLIES 4

Re: Getting connection exception running unsecured nifi registry

Community Manager

@Jenny Menase I am not a Nifi expert, but I strongly suspect that community members are going to need to see what you have set in your nifi-registry.properties file in order to provide a helpful diagnosis.

Bill Brooks, Community Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Re: Getting connection exception running unsecured nifi registry

Guru

Hi @Jenny Menase

In my article that you referenced, there is the following step in NiFi:

Select the Registry Clients tab and the "+" button to add a new Registry Client. Enter a name and the URL of the Registry instance (http://localhost:18080).

Can you confirm that you added the correct URL and that it matches the host and port of the Registry instance that you set up? You can get the "Unable to obtain listing of buckets" error if that is not configured properly. So this isn't a secure vs. unsecure issue. If your registry client URL is wrong, NiFi is unable to see a non-existent Registry.

If this solves your issue please "Accept" this answer so others can see there is a solution. Thanks!

Re: Getting connection exception running unsecured nifi registry

New Contributor

Yes, I was doing that part correctly. I think my nifi docker and the nifi registry docker can't see each other because of the localhost. I am not sure of the syntax to try in the registry client if both are in docker. I was thinking something like this

http://nifi-registry:9000/nifi-registry/
I am also using docker bridge hoping that might fix it but no luck so far. Do you have any suggestions? Thanks

Re: Getting connection exception running unsecured nifi registry

Guru

Can you provide a screenshot of your Registry Clients in NiFi?

Don't have an account?
Coming from Hortonworks? Activate your account here