You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Michal Šunka (Jira)" <ji...@apache.org> on 2021/06/02 08:19:00 UTC

[jira] [Created] (NIFI-8649) SiteToSiteBulletinReportingTask fails with loacalhost

Michal Šunka created NIFI-8649:
----------------------------------

             Summary: 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


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.3.4#803005)