nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan H <>
Subject Re: Access Nifi 1.5
Date Sat, 17 Feb 2018 23:54:25 GMT
Hi Sean,

As a workaround, you can place NGINX (or something else like HAProxy) in
front of your NiFi instance which can proxy incoming requests to your NiFi
node. From what I understand, whatever you set as the '' is
what Jetty will bind to when spinning up and incoming request Host headers
will be checked against that address. So if your NiFi is bound to some ip,
say ( but you are trying to access
via (some FQDN), then there will be a Host header
mis-match and 1.5 will complain. Right, wrong, or indifferent, this is what
we did to work around this issue for now.

Here is an example NGINX config snippet (very incomplete, but should give
the gist):

server {
        listen 80;


        location / {
            proxy_set_header Host;

Hope this helps!

-Ryan H

On Fri, Feb 16, 2018 at 6:19 AM, Sean Marciniak <> wrote:

> Hey team,
> I have NiFi running on a standalone VM and I try to directly connect to it
> over http and I get this message:
> ```
> System ErrorThe request contained an invalid host header [x.x.x.x:8080]
> in the request [/]. Check for request manipulation or third-party intercept.
> ```
> I am trying to connect to it using the host machine’s IP address. This
> error has only occurred oncer we had bumped to version 1.5
> Has there been a regression or is there an issue in progress to solve this?
> Thank you,
> Sean.

View raw message