[ 
https://issues.apache.org/jira/browse/NIFI-7196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard resolved NIFI-7196.
----------------------------------
    Resolution: Feedback Received

Apache NiFi 1.x is no longer maintained and no new release is planned on the 
1.x release line. Marking as resolved as part of a cleanup operation. Please 
open a new one with an updated description if this is still relevant for NiFi 
2.x.

> NiFi Toolkit does not output error when host proxy entity not trusted to 
> list-buckets
> -------------------------------------------------------------------------------------
>
>                 Key: NIFI-7196
>                 URL: https://issues.apache.org/jira/browse/NIFI-7196
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.11.1
>            Reporter: Chris Sampson
>            Priority: Trivial
>
> Using the NiFi Toolkit CLI to list-bucket when the secured NiFi instance 
> itself has not been configured to proxy user requests (i.e. the host DN is 
> not listed as a user with Proxy User permissions) fails silently:
> {code:bash}
> ./cli.sh registry list-buckets -pe "${USER}"
> {code}
> Conversely, having first found a bucket identifier from within the Registry 
> UI, trying a list-flows results in a helpful error message:
> {code:bash}
> ./cli.sh registry list-flows --bucketIdentifier "${BUCKET} -pe "${USER}"
> {code}
> {quote}
> ERROR: Error executing command 'list-flows' : Error getting flows for bucket: 
> Untrusted proxy [CN=nifi-registry-0.XXXcluster.local, OU=NIFI] for read 
> operation. Contact the system administrator.
> {quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to