You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "humpfhumpf (Jira)" <ji...@apache.org> on 2021/09/22 12:08:00 UTC

[jira] [Comment Edited] (NIFI-8607) UpdateAttribute Advanced Button displaying prompt outside dialog screen

    [ https://issues.apache.org/jira/browse/NIFI-8607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17418557#comment-17418557 ] 

humpfhumpf edited comment on NIFI-8607 at 9/22/21, 12:07 PM:
-------------------------------------------------------------

Sorry, I mixed with already solved issue : https://issues.apache.org/jira/browse/NIFI-7870

Same problem hier with 1.13.2 (and java 11). It does not depend on cache, but on anonymous authentication.

The cause is *401 errors when accessing *.js and *.css* on this advanced UI, and others "sisters" UI, like content-viewer.

In my case, the error message is "*Anonymous authentication has not been configured.*"

The stacktrace shows :

{{2021-09-22 12:40:28,315 INFO [NiFi Web Server-4451] o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (<anonymous>) GET [https://hostname.com/nifi-content-viewer/js/hexview/hexview.js] (source ip: x.x.x.x)}}
 {{2021-09-22 12:40:28,316 WARN [NiFi Web Server-4451] o.a.n.w.s.NiFiAuthenticationFilter Rejecting access to web api: Anonymous authentication has not been configured.}}
 {{2021-09-22 12:40:28,334 DEBUG [NiFi Web Server-4451] o.a.n.w.s.NiFiAuthenticationFilter}}
 {{org.apache.nifi.web.security.InvalidAuthenticationException: Anonymous authentication has not been configured.}}
 \{{ at org.apache.nifi.web.security.anonymous.NiFiAnonymousAuthenticationProvider.authenticate(NiFiAnonymousAuthenticationProvider.java:46)}}

 

nifi.properties contains :

{{nifi.security.allow.anonymous.authentication=false}}


was (Author: humpfhumpf):
Same problem hier with 1.13.2 (and java 11). It does not depend on cache, but on anonymous authentication.


The cause is *401 errors when accessing *.js and *.css* on this advanced UI, and others "sisters" UI, like content-viewer.

In my case, the error message is "*Anonymous authentication has not been configured.*"

The stacktrace shows :

{{2021-09-22 12:40:28,315 INFO [NiFi Web Server-4451] o.a.n.w.s.NiFiAuthenticationFilter Attempting request for (<anonymous>) GET https://hostname.com/nifi-content-viewer/js/hexview/hexview.js (source ip: x.x.x.x)}}
{{2021-09-22 12:40:28,316 WARN [NiFi Web Server-4451] o.a.n.w.s.NiFiAuthenticationFilter Rejecting access to web api: Anonymous authentication has not been configured.}}
{{2021-09-22 12:40:28,334 DEBUG [NiFi Web Server-4451] o.a.n.w.s.NiFiAuthenticationFilter}}
{{org.apache.nifi.web.security.InvalidAuthenticationException: Anonymous authentication has not been configured.}}
{{ at org.apache.nifi.web.security.anonymous.NiFiAnonymousAuthenticationProvider.authenticate(NiFiAnonymousAuthenticationProvider.java:46)}}

 

nifi.properties contains :

{{nifi.security.allow.anonymous.authentication=false}}

> UpdateAttribute Advanced Button displaying prompt outside dialog screen
> -----------------------------------------------------------------------
>
>                 Key: NIFI-8607
>                 URL: https://issues.apache.org/jira/browse/NIFI-8607
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.13.2
>         Environment: Centos 7. - MacOS
>            Reporter: Phil
>            Priority: Minor
>         Attachments: Screen Shot 2021-05-26 at 9.20.07 PM.png, image-2021-05-17-13-50-18-264.png, image-2021-05-17-13-50-59-978.png
>
>
> Works fine on  Windows 10 Both Chrome and Microsoft Edge
> {color:#FF0000} but NOT on macOS with Chrome or Safari{color}
> {color:#FF0000}Chrome Version 90.0.4430.212 (Official Build) (x86_64){color}
> {color:#FF0000}Safari Version 13.1.2 (13609.3.5.1.5){color}
> {color:#FF0000}macOS High Sierra 10.13.6{color}
>  
> Select Advanced
> !image-2021-05-17-13-50-18-264.png!
>  
> !image-2021-05-17-13-50-59-978.png!
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)