[
https://issues.apache.org/jira/browse/NIFI-6944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018966#comment-17018966
]
Drew commented on NIFI-6944:
----------------------------
The associated PR is here: https://github.com/apache/nifi/pull/3928
The test is failing for an unrelated reason, but I’m not sure how to re-trigger
them without using trivial commits.
> NiFiClientUtil.getUrl Does Not Use Configured WEB_HTTP_PORT
> -----------------------------------------------------------
>
> Key: NIFI-6944
> URL: https://issues.apache.org/jira/browse/NIFI-6944
> Project: Apache NiFi
> Issue Type: Bug
> Components: Tools and Build
> Reporter: Drew
> Priority: Major
> Fix For: 1.11.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> I ran into this when attempting to use the node-manager.sh tool to get
> cluster status. The node was configured with a custom WEB_HTTP_PORT in
> nifi.properties, but it still attempted to use WEB_HTTP_HOST:8080 to contact
> the node. After some digging I found the problem here:
> [https://github.com/apache/nifi/blob/master/nifi-toolkit/nifi-toolkit-admin/src/main/groovy/org/apache/nifi/toolkit/admin/client/NiFiClientUtil.groovy#L59]
>
> Basically getUrl tries to use the WEB_HTTPS_PORT if configured, but ends up
> defaulting to 8080 since to get into that else block, WEB_HTTPS_PORT was
> already empty.
>
> This bug probably effects the NotificationTool in addition to the
> NodeManagerTool.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)