You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Juan Pablo Gardella <ga...@gmail.com> on 2023/06/20 02:04:24 UTC

Nifi Registry v1.22.0 - Unable to create buckets over http behind proxy

Hi,

I am testing the nifi registry behind a proxy and it is unable to create
buckets. Last time I tested using v 1.14.0 works fine. I am checking logs,
but do you remember any change that prevents that? The logs show

2023-06-20 01:43:30,663 INFO [NiFi Registry Web Server-14]
o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException:
Access tokens are only issued over HTTPS. Returning Conflict response.
2023-06-20 01:43:30,898 INFO [NiFi Registry Web Server-19]
o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException:
User authentication/authorization is only supported when running over
HTTPS.. Returning Conflict response.

From browser I see following requests:
https://serverhost/nifi-registry-api/access/token/kerberos

Do you know how to make it works with http again?

Thanks

Re: Nifi Registry v1.22.0 - Unable to create buckets over http behind proxy

Posted by Juan Pablo Gardella <ga...@gmail.com>.
Ignore, I found the option is available after pressing the settings button.

On Mon, Jun 19, 2023 at 11:04 PM Juan Pablo Gardella <
gardellajuanpablo@gmail.com> wrote:

> Hi,
>
> I am testing the nifi registry behind a proxy and it is unable to create
> buckets. Last time I tested using v 1.14.0 works fine. I am checking logs,
> but do you remember any change that prevents that? The logs show
>
> 2023-06-20 01:43:30,663 INFO [NiFi Registry Web Server-14]
> o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException:
> Access tokens are only issued over HTTPS. Returning Conflict response.
> 2023-06-20 01:43:30,898 INFO [NiFi Registry Web Server-19]
> o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException:
> User authentication/authorization is only supported when running over
> HTTPS.. Returning Conflict response.
>
> From browser I see following requests:
> https://serverhost/nifi-registry-api/access/token/kerberos
>
> Do you know how to make it works with http again?
>
> Thanks
>
>