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
[email protected]
[email protected]
PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69

> On Dec 15, 2017, at 3:32 PM, Mike Thomsen <[email protected]> wrote:
> 
> 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] 
> o.a.n.w.s.HostHeaderSanitizationCustomizer Request host header 
> [SERVER_HERE:8080] different from web hostname [(:8080)]. Overriding to 
> [:8080/nifi/]
> 2017-12-15 18:34:59,938 WARN [NiFi Web Server-66] 
> o.a.nifi.web.server.HostHeaderHandler Request host header [SERVER_HERE:8080] 
> different from web hostname [localhost(:8080)]. Overriding to 
> [localhost:8080/nifi/]
> 2017-12-15 18:35:00,059 WARN [NiFi Web Server-59] 
> o.a.n.w.s.HostHeaderSanitizationCustomizer Request host header 
> [SERVER_HERE:8080] different from web hostname [(:8080)]. Overriding to 
> [:8080/favicon.ico]
> 2017-12-15 18:35:00,059 WARN [NiFi Web Server-59] 
> o.a.nifi.web.server.HostHeaderHandler Request host header [SERVER_HERE:8080] 
> different from web hostname [localhost(:8080)]. Overriding to 
> [localhost:8080/favicon.ico]
> 
> Never saw this with 1.4 and earlier. Any ideas?
> 
> Thanks,
> 
> Mike

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to