You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Ryan H <ry...@gmail.com> on 2017/03/02 20:32:57 UTC

HandleHttpRequest API Port Exposure

Hello All,

I  am exposing an API using HandleHttpRequest on my local nifi instance.
The HandleHttpRequest processor requires a Listening port that I need to
provide. If I enter 80 in that field, the processor fails when it starts
saying “unable to initialize the server”. Which is expected as the
webserver uses that port to serve the canvas. So if we provide any other
random number then it works fine.

When I promote the above API on the nifi cluster that is hosted on our AWS
farm, then we are unable to invoke this API. As only 80 and 443 are opened
on AWS.

How do we overcome this problem?

Cheers,

Ryan H

Re: HandleHttpRequest API Port Exposure

Posted by Ryan H <ry...@gmail.com>.
Hi Joe,

Thanks for the quick response. I will follow that thread to see what the
outcome is.

Cheers,

Ryan H.

On Thu, Mar 2, 2017 at 3:36 PM, Joe Witt <jo...@gmail.com> wrote:

> Ryan,
>
> We had a very similar question just a bit ago.
>
> https://lists.apache.org/thread.html/1289510c6d69176907273be08f1d15
> 48182af6bdec0c4f51dee1c38b@%3Cdev.nifi.apache.org%3E
>
> Thanks
> Joe
>
> On Thu, Mar 2, 2017 at 3:32 PM, Ryan H
> <ry...@gmail.com> wrote:
> > Hello All,
> >
> > I  am exposing an API using HandleHttpRequest on my local nifi instance.
> The
> > HandleHttpRequest processor requires a Listening port that I need to
> > provide. If I enter 80 in that field, the processor fails when it starts
> > saying “unable to initialize the server”. Which is expected as the
> webserver
> > uses that port to serve the canvas. So if we provide any other random
> number
> > then it works fine.
> >
> > When I promote the above API on the nifi cluster that is hosted on our
> AWS
> > farm, then we are unable to invoke this API. As only 80 and 443 are
> opened
> > on AWS.
> >
> > How do we overcome this problem?
> >
> > Cheers,
> >
> > Ryan H
>

Re: HandleHttpRequest API Port Exposure

Posted by Joe Witt <jo...@gmail.com>.
Ryan,

We had a very similar question just a bit ago.

https://lists.apache.org/thread.html/1289510c6d69176907273be08f1d1548182af6bdec0c4f51dee1c38b@%3Cdev.nifi.apache.org%3E

Thanks
Joe

On Thu, Mar 2, 2017 at 3:32 PM, Ryan H
<ry...@gmail.com> wrote:
> Hello All,
>
> I  am exposing an API using HandleHttpRequest on my local nifi instance. The
> HandleHttpRequest processor requires a Listening port that I need to
> provide. If I enter 80 in that field, the processor fails when it starts
> saying “unable to initialize the server”. Which is expected as the webserver
> uses that port to serve the canvas. So if we provide any other random number
> then it works fine.
>
> When I promote the above API on the nifi cluster that is hosted on our AWS
> farm, then we are unable to invoke this API. As only 80 and 443 are opened
> on AWS.
>
> How do we overcome this problem?
>
> Cheers,
>
> Ryan H