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.
@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.
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!
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
I am also using docker bridge hoping that might fix it but no luck so far. Do you have any suggestions? Thanks