Minifi provenance data to nifi failing

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Minifi provenance data to nifi failing

Timothy Fleming

My minifi instance is unable to report provenance data to my nifi instance.  I have them configured for secure transport.

 

Error from nifi…

 

2020-06-20 16:54:48,649 ERROR [Site-to-Site Worker Thread-2490] o.a.nifi.remote.SocketRemoteSiteListener Unable to communicate with remote instance Peer[url=nifi://212.sub-172-220-14.myvzw.com:6747] due to javax.net.ssl.SSLException: Connection reset; closing connection

 

Error from minifi…

 

2020-06-20 16:56:45,530 ERROR [NiFi Site-to-Site Connection Pool Maintenance] o.a.n.r.io.socket.ssl.SSLSocketChannel org.apache.nifi.remote.io.socket.ssl.SSLSocketChannel@1a0d9128 Failed to connect due to {}

java.net.SocketTimeoutException: Timed out connecting to hawkeye-dmz:9443

        at org.apache.nifi.remote.io.socket.ssl.SSLSocketChannel.connect(SSLSocketChannel.java:151)

        at org.apache.nifi.remote.client.socket.EndpointConnectionPool.establishSiteToSiteConnection(EndpointConnectionPool.java:455)

        at org.apache.nifi.remote.client.socket.EndpointConnectionPool.fetchRemotePeerStatuses(EndpointConnectionPool.java:389)

        at org.apache.nifi.remote.client.PeerSelector.fetchRemotePeerStatuses(PeerSelector.java:385)

        at org.apache.nifi.remote.client.PeerSelector.refreshPeers(PeerSelector.java:352)

        at org.apache.nifi.remote.client.socket.EndpointConnectionPool$2.run(EndpointConnectionPool.java:128)

        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)

        at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)

        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)

        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)

        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)

        at java.base/java.lang.Thread.run(Thread.java:832)

 

Here is my minifi provenance reporting config…

 

# Provenance Reporting Properties #

# These properties take precedence over any equivalent properties specified in the config.yml #

nifi.minifi.provenance.reporting.comment=Hawkeye EPN Provenance Data

nifi.minifi.provenance.reporting.scheduling.strategy=TIMER_DRIVEN

nifi.minifi.provenance.reporting.scheduling.period=5 mins

nifi.minifi.provenance.reporting.destination.url=https://hawkeye-dmz:8443/nifi

nifi.minifi.provenance.reporting.input.port.name=provenanceInputPort

nifi.minifi.provenance.reporting.instance.url=https://${hostname(true)}

nifi.minifi.provenance.reporting.batch.size=

nifi.minifi.provenance.reporting.communications.timeout=

 

Any suggestions are appreciated.

 

Tim