Re: Invalid header error

2018-01-18 Thread Andy LoPresto
Robert, I posted PR 2415 [1] which should resolve this issue (or at least make it easier to mitigate). Matt will review tomorrow. Please feel free to add your comments as well and try it out to see if it meets your needs. [1] https://github.com/apache/nifi/pull/2415 Andy LoPresto

Re: Invalid header error

2018-01-11 Thread Robert R. Bruno
Thanks for getting to this so soon. As soon as the ticket is closed, I'll be sure to give it a quick test with the proxy I am using. Thanks again. On Wed, Jan 10, 2018 at 1:40 PM Andy LoPresto wrote: > Matt meant to link to this Jira [1]. We will be writing a blog and >

Re: Invalid header error

2018-01-10 Thread Andy LoPresto
Matt meant to link to this Jira [1]. We will be writing a blog and updating the documentation guides in addition to the new property. [1] https://issues.apache.org/jira/browse/NIFI-4761 Andy LoPresto alopre...@apache.org alopresto.apa...@gmail.com PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4

Re: Invalid header error

2018-01-10 Thread Matt Gilman
Robert, James, All, NiFi has been updated to be a little more strict regarding incoming HTTP requests. If the Host header does not comply with an expected value, the request is rejected. Currently, the expected value comes from those .host properties. What's happening is the proxy is likely

Re: Invalid header error

2018-01-09 Thread Robert R. Bruno
I just ran into this as well while trying out 1.5.0-SNAPSHOT. What is the solution where you are running nifi behind a proxy? I tried setting nifi.web.http.host to my proxy ip but then nifi attempted to bind to this ip address. Hopefully I am missing something. If not any chance a config value

Re: Invalid header error

2017-12-15 Thread Mike Thomsen
Thanks. Is that documented? On Fri, Dec 15, 2017 at 7:02 PM, Andy LoPresto wrote: > Hi Mike, > > This is a recent change introduced in 1.5.0-SNAPSHOT (master). You can > resolve this by setting nifi.web.http.host in nifi.properties to the value > of SERVER_HERE. > > > Andy

Re: Invalid header error

2017-12-15 Thread Andy LoPresto
Hi Mike, This is a recent change introduced in 1.5.0-SNAPSHOT (master). You can resolve this by setting nifi.web.http.host in nifi.properties to the value of SERVER_HERE. Andy LoPresto alopre...@apache.org alopresto.apa...@gmail.com PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B

Invalid header error

2017-12-15 Thread Mike Thomsen
I get this error after I installed a new build: The request contained an invalid host header [SERVER_IP:8080] in the request [/]. Check for request manipulation or third-party intercept. In the logs it says: 2017-12-15 18:34:59,937 WARN [NiFi Web Server-66]