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

Pierre Villard resolved NIFI-8649.
----------------------------------
    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.

> SiteToSiteBulletinReportingTask fails with loacalhost
> -----------------------------------------------------
>
>                 Key: NIFI-8649
>                 URL: https://issues.apache.org/jira/browse/NIFI-8649
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.12.1
>            Reporter: Michal Å unka
>            Priority: Major
>
> I am using NiFi on a secured instance to report bulletins back to itself. I 
> do this through SiteToSiteBulletinReportingTask confugured with Destination 
> URL = https://<FQDN>:8443/nifi. No problems, so far.
> Recently I started experiencing some networking problems (lost packets). To 
> alleviate problem, I want to use localhost instead of FQDN. However this 
> fails miserably:
> 2021-06-02 07:48:39,046 WARN [Timer-Driven Process Thread-3] 
> o.a.n.r.util.SiteToSiteRestApiClient Failed to get controller from 
> https://localhost:8443/nifi-api due to 
> org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 
> [localhost/127.0.0.1] failed: Connection refused (Connection refused)
> 2021-06-02 07:48:39,046 WARN [Timer-Driven Process Thread-3] 
> o.apache.nifi.remote.client.PeerSelector Unable to refresh remote group peers 
> due to: Connect to localhost:8443 [localhost/127.0.0.1] failed: Connection 
> refused (Connection refused)
> 2021-06-02 07:48:39,046 WARN [Timer-Driven Process Thread-3] 
> o.a.n.r.SiteToSiteBulletinReportingTask 
> SiteToSiteBulletinReportingTask[id=dd1e4164-2ff2-1eff-ffff-ffffd8c640e2] 
> Unable to refresh remote group peers due to: Connect to localhost:8443 
> [localhost/127.0.0.1] failed: Connection refused (Connection refused)
> 2021-06-02 07:48:39,047 WARN [Http Site-to-Site PeerSelector] 
> o.a.n.r.util.SiteToSiteRestApiClient Failed to get controller from 
> https://localhost:8443/nifi-api due to 
> org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 
> [localhost/127.0.0.1] failed: Connection refused (Connection refused)
> 2021-06-02 07:48:39,047 WARN [Http Site-to-Site PeerSelector] 
> o.apache.nifi.remote.client.PeerSelector Unable to refresh remote group peers 
> due to: Connect to localhost:8443 [localhost/127.0.0.1] failed: Connection 
> refused (Connection refused)
> 2021-06-02 07:48:39,047 WARN [Http Site-to-Site PeerSelector] 
> o.a.n.r.SiteToSiteBulletinReportingTask 
> SiteToSiteBulletinReportingTask[id=dd1e4164-2ff2-1eff-ffff-ffffd8c640e2] 
> Unable to refresh remote group peers due to: Connect to localhost:8443 
> [localhost/127.0.0.1] failed: Connection refused (Connection refused)
> 2021-06-02 07:48:39,047 WARN [Timer-Driven Process Thread-3] 
> o.a.n.r.util.SiteToSiteRestApiClient Failed to get controller from 
> https://localhost:8443/nifi-api due to 
> org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443 
> [localhost/127.0.0.1] failed: Connection refused (Connection refused)
> 2021-06-02 07:48:39,048 ERROR [Timer-Driven Process Thread-3] 
> o.a.n.r.SiteToSiteBulletinReportingTask 
> SiteToSiteBulletinReportingTask[id=dd1e4164-2ff2-1eff-ffff-ffffd8c640e2] 
> Error running task 
> SiteToSiteBulletinReportingTask[id=dd1e4164-2ff2-1eff-ffff-ffffd8c640e2] due 
> to org.apache.nifi.processor.exception.ProcessException: Failed to send 
> Bulletins to destination due to IOException:Connect to localhost:8443 
> [localhost/127.0.0.1] failed: Connection refused (Connection refused)



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

Reply via email to