Hi Aldrin, Here are the property settings:
# Site to Site properties nifi.remote.input.socket.port=8081 nifi.remote.input.secure=false Referencing remote node via http://<IP>:8081/nifi<http://%3cIP%3e:8081/nifi> (not the UI address, but the separate site-to-site listener, which I see via netstat on target node) Rick From: Aldrin Piri [mailto:[email protected]] Sent: Saturday, August 15, 2015 3:48 PM To: [email protected] Subject: Re: New to NiFi - Remote Process Group failing to connect due to "magic header" not present Rick, Welcome to the community! We seem to be a little short in the documentation department for how to make use of Remote Process Groups, but will look to remedy that. Just to confirm a few settings, both your nodes have a nifi.remote.input.socket.port set and each has nifi.remote.input.secure set to false within your nifi.properties. From here, are you referencing the remote node via its UI address? Out of the box, this would be <server FQDN/IP>:8080/nifi Thanks, Aldrin On Sat, Aug 15, 2015 at 4:11 PM, Rick Braddy <[email protected]<mailto:[email protected]>> wrote: Hi, I’m new to NiFi, trying to get my first Remote Process Group configured and working between two CentOS nodes. For expediency, I have configured site-to-site port to 8081 and set secure to false (to avoid dealing with SSL certificate setup for now – will get to that later). Trying to get two nodes to communicate using Remote Process Group. Google is not finding any useful examples of how to set this up and get it to work, so kind of fumbling through it today (learning a lot, but slow going). I found the nifil-app.log file and why the Remote Process Group is failing to connect to the second node. Not sure why the “Magic Header” isn’t right, but connections are being closed and getting Read Timeouts on the RPG sending node – the receiving NiFi node is closing the connection because it thinks the sender isn’t a valid NiFi node due to missing/incorrect magic header. 2015-08-15 13:28:08,939 ERROR [Site-to-Site Worker Thread-27] o.a.nifi.remote.SocketRemoteSiteListener Unable to communicate with remote instance null due to org.apache.nifi.remote.exception.HandshakeException: Handshake with nifi://SoftNAS-RGB1:57336 failed because the Magic Header was not present; closing connection Not sure where to go from here to resolve this. Rick
