<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Apache Nifi 2.2.0 version Untrusted proxy error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-2-0-version-Untrusted-proxy-error/m-p/408274#M252673</link>
    <description>&lt;P&gt;I set up a 4-node NiFi cluster and generated certificates. When I try to log in using my certificate user nifi_admin, I get the error:&lt;BR /&gt;&lt;STRONG&gt;"An unexpected error has occurred. Please check the logs for additional details."&lt;/STRONG&gt;&lt;BR /&gt;When I checked the logs, I saw that the nodes in the cluster were encountering the following errors when trying to connect to the coordinator node:&lt;/P&gt;&lt;P&gt;The node I connect to the interface:&amp;nbsp; &lt;A href="https://vtmrt3anifit01.x.com:8443/nifi/" target="_blank" rel="noopener"&gt;https://vtmrt3anifit01.x.com:8443/nifi/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The error received in the nifi-user.log file on this machine is as follows:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;FONT size="2"&gt;ERROR [NiFi Web Server-221] o.a.nifi.web.api.config.ThrowableMapper An unexpected error has occurred: java.io.UncheckedIOException: Read Current User Entity failed. Returning Internal Server Error response.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;java.io.UncheckedIOException: Read Current User Entity failed&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.nifi.web.api.FlowResource.readReplicatedCurrentUserEntity(FlowResource.java:446)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.nifi.web.api.FlowResource.getCurrentUser(FlowResource.java:421)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at java.base/java.lang.reflect.Method.invoke(Method.java:580)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:146)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:189)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Caused by: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'Authentication': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 16]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2584)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at com.fasterxml.jackson.core.JsonParser._constructReadException(JsonParser.java:2610)&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;The error received in the nifi-user.log file of other nodes in the cluster is as follows:&lt;/P&gt;&lt;TABLE border="1" width="98.90173658872077%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;FONT size="2"&gt;WARN [NiFi Web Server-37] o.a.n.w.s.NiFiAuthenticationFilter Authentication Failed 10.84.2.184 GET &lt;A href="https://vtmrt3anifit01.x.com:8443/nifi-api/flow/current-user" target="_blank" rel="noopener"&gt;https://vtmrt3anifit01.x.com:8443/nifi-api/flow/current-user&lt;/A&gt; [Untrusted proxy CN=vtmrt3anifit04.x.com, OU=NIFI]&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P class="lia-align-left"&gt;nifi.properties&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;FONT size="2"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.sensitive.props.key=6y3hk3TWqOV0E2B1AHHikAqKH8lbqo84&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.sensitive.props.algorithm=NIFI_PBKDF2_AES_GCM_256&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.autoreload.enabled=false&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.autoreload.interval=10 secs&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.keystore=/data/cert/keystore.jks&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.keystoreType=jks&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.keystorePasswd=UuW0OHTYY+e9OAM9Gs4MTjbR9KF7BWZ7yPZ09FB5lC0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.keyPasswd=UuW0OHTYY+e9OAM9Gs4MTjbR9KF7BWZ7yPZ09FB5lC0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.truststore=/data/cert/truststore.jks&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.truststoreType=jks&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.truststorePasswd=1rAfyXpFQvaPys8DCj0+YSH9n4hKSHT4Do0yErt/5ZM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.web.https.host=vtmrt3anifit01.x.com&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.web.https.port=8443&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.web.proxy.host=vtmrt3anifit01.x.com:8443,vtmrt3anifit02.x.com:8443,vtmrt3anifit03.x.com:8443,vtmrt3anifit04.x.com:8443&lt;/FONT&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P class="lia-align-left"&gt;authorizers.xml: (It is arranged in the same way for all nodes.)&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;lt;authorizers&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;userGroupProvider&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;identifier&amp;gt;file-user-group-provider&amp;lt;/identifier&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileUserGroupProvider&amp;lt;/class&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Users File"&amp;gt;/data/nifi-2.2.0/conf/users.xml&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Legacy Authorized Users File"&amp;gt;&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 0"&amp;gt;CN=nifi_admin&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 1"&amp;gt;CN=vtmrt3anifit01.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 2"&amp;gt;CN=vtmrt3anifit02.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 3"&amp;gt;CN=vtmrt3anifit03.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 4"&amp;gt;CN=vtmrt3anifit04.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/userGroupProvider&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;accessPolicyProvider&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;identifier&amp;gt;file-access-policy-provider&amp;lt;/identifier&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileAccessPolicyProvider&amp;lt;/class&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="User Group Provider"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Authorizations File"&amp;gt;/data/nifi-2.2.0/conf/authorizations.xml&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial Admin Identity"&amp;gt;CN=nifi_admin&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Legacy Authorized Users File"&amp;gt;&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 1"&amp;gt;CN=vtmrt3anifit01.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 2"&amp;gt;CN=vtmrt3anifit02.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 3"&amp;gt;CN=vtmrt3anifit03.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 4"&amp;gt;CN=vtmrt3anifit04.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Node Group"&amp;gt;&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/accessPolicyProvider&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;authorizer&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;identifier&amp;gt;managed-authorizer&amp;lt;/identifier&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;class&amp;gt;org.apache.nifi.authorization.StandardManagedAuthorizer&amp;lt;/class&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Access Policy Provider"&amp;gt;file-access-policy-provider&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/authorizer&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;lt;/authorizers&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;nifi_admin.p12&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="melek6199_1-1747132011898.png" style="width: 717px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/45476iB27F298AA6401F2A/image-dimensions/717x43?v=v2" width="717" height="43" role="button" title="melek6199_1-1747132011898.png" alt="melek6199_1-1747132011898.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;vtmrt3anifit01.x.com&amp;nbsp; keystore.jks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="melek6199_2-1747132213922.png" style="width: 719px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/45477i27C222F40637B6C9/image-dimensions/719x241?v=v2" width="719" height="241" role="button" title="melek6199_2-1747132213922.png" alt="melek6199_2-1747132213922.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;I would appreciate your assistance on this matter.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 May 2025 10:37:09 GMT</pubDate>
    <dc:creator>melek6199</dc:creator>
    <dc:date>2025-05-13T10:37:09Z</dc:date>
    <item>
      <title>Apache Nifi 2.2.0 version Untrusted proxy error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-2-0-version-Untrusted-proxy-error/m-p/408274#M252673</link>
      <description>&lt;P&gt;I set up a 4-node NiFi cluster and generated certificates. When I try to log in using my certificate user nifi_admin, I get the error:&lt;BR /&gt;&lt;STRONG&gt;"An unexpected error has occurred. Please check the logs for additional details."&lt;/STRONG&gt;&lt;BR /&gt;When I checked the logs, I saw that the nodes in the cluster were encountering the following errors when trying to connect to the coordinator node:&lt;/P&gt;&lt;P&gt;The node I connect to the interface:&amp;nbsp; &lt;A href="https://vtmrt3anifit01.x.com:8443/nifi/" target="_blank" rel="noopener"&gt;https://vtmrt3anifit01.x.com:8443/nifi/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The error received in the nifi-user.log file on this machine is as follows:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;FONT size="2"&gt;ERROR [NiFi Web Server-221] o.a.nifi.web.api.config.ThrowableMapper An unexpected error has occurred: java.io.UncheckedIOException: Read Current User Entity failed. Returning Internal Server Error response.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;java.io.UncheckedIOException: Read Current User Entity failed&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.nifi.web.api.FlowResource.readReplicatedCurrentUserEntity(FlowResource.java:446)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.nifi.web.api.FlowResource.getCurrentUser(FlowResource.java:421)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at java.base/java.lang.reflect.Method.invoke(Method.java:580)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:146)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:189)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Caused by: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'Authentication': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 16]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2584)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at com.fasterxml.jackson.core.JsonParser._constructReadException(JsonParser.java:2610)&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;The error received in the nifi-user.log file of other nodes in the cluster is as follows:&lt;/P&gt;&lt;TABLE border="1" width="98.90173658872077%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;FONT size="2"&gt;WARN [NiFi Web Server-37] o.a.n.w.s.NiFiAuthenticationFilter Authentication Failed 10.84.2.184 GET &lt;A href="https://vtmrt3anifit01.x.com:8443/nifi-api/flow/current-user" target="_blank" rel="noopener"&gt;https://vtmrt3anifit01.x.com:8443/nifi-api/flow/current-user&lt;/A&gt; [Untrusted proxy CN=vtmrt3anifit04.x.com, OU=NIFI]&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P class="lia-align-left"&gt;nifi.properties&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;FONT size="2"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.sensitive.props.key=6y3hk3TWqOV0E2B1AHHikAqKH8lbqo84&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.sensitive.props.algorithm=NIFI_PBKDF2_AES_GCM_256&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.autoreload.enabled=false&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.autoreload.interval=10 secs&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.keystore=/data/cert/keystore.jks&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.keystoreType=jks&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.keystorePasswd=UuW0OHTYY+e9OAM9Gs4MTjbR9KF7BWZ7yPZ09FB5lC0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.keyPasswd=UuW0OHTYY+e9OAM9Gs4MTjbR9KF7BWZ7yPZ09FB5lC0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.truststore=/data/cert/truststore.jks&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.truststoreType=jks&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.security.truststorePasswd=1rAfyXpFQvaPys8DCj0+YSH9n4hKSHT4Do0yErt/5ZM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.web.https.host=vtmrt3anifit01.x.com&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.web.https.port=8443&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;nifi.web.proxy.host=vtmrt3anifit01.x.com:8443,vtmrt3anifit02.x.com:8443,vtmrt3anifit03.x.com:8443,vtmrt3anifit04.x.com:8443&lt;/FONT&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P class="lia-align-left"&gt;authorizers.xml: (It is arranged in the same way for all nodes.)&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;lt;authorizers&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;userGroupProvider&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;identifier&amp;gt;file-user-group-provider&amp;lt;/identifier&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileUserGroupProvider&amp;lt;/class&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Users File"&amp;gt;/data/nifi-2.2.0/conf/users.xml&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Legacy Authorized Users File"&amp;gt;&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 0"&amp;gt;CN=nifi_admin&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 1"&amp;gt;CN=vtmrt3anifit01.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 2"&amp;gt;CN=vtmrt3anifit02.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 3"&amp;gt;CN=vtmrt3anifit03.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 4"&amp;gt;CN=vtmrt3anifit04.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/userGroupProvider&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;accessPolicyProvider&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;identifier&amp;gt;file-access-policy-provider&amp;lt;/identifier&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;class&amp;gt;org.apache.nifi.authorization.FileAccessPolicyProvider&amp;lt;/class&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="User Group Provider"&amp;gt;file-user-group-provider&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Authorizations File"&amp;gt;/data/nifi-2.2.0/conf/authorizations.xml&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial Admin Identity"&amp;gt;CN=nifi_admin&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Legacy Authorized Users File"&amp;gt;&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 1"&amp;gt;CN=vtmrt3anifit01.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 2"&amp;gt;CN=vtmrt3anifit02.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 3"&amp;gt;CN=vtmrt3anifit03.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Initial User Identity 4"&amp;gt;CN=vtmrt3anifit04.x.com, OU=NIFI&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Node Group"&amp;gt;&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/accessPolicyProvider&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;authorizer&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;identifier&amp;gt;managed-authorizer&amp;lt;/identifier&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;class&amp;gt;org.apache.nifi.authorization.StandardManagedAuthorizer&amp;lt;/class&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Access Policy Provider"&amp;gt;file-access-policy-provider&amp;lt;/property&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/authorizer&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&amp;lt;/authorizers&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;nifi_admin.p12&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="melek6199_1-1747132011898.png" style="width: 717px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/45476iB27F298AA6401F2A/image-dimensions/717x43?v=v2" width="717" height="43" role="button" title="melek6199_1-1747132011898.png" alt="melek6199_1-1747132011898.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;vtmrt3anifit01.x.com&amp;nbsp; keystore.jks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="melek6199_2-1747132213922.png" style="width: 719px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/45477i27C222F40637B6C9/image-dimensions/719x241?v=v2" width="719" height="241" role="button" title="melek6199_2-1747132213922.png" alt="melek6199_2-1747132213922.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;I would appreciate your assistance on this matter.&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 10:37:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-2-0-version-Untrusted-proxy-error/m-p/408274#M252673</guid>
      <dc:creator>melek6199</dc:creator>
      <dc:date>2025-05-13T10:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi 2.2.0 version Untrusted proxy error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-2-0-version-Untrusted-proxy-error/m-p/408288#M252675</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/126452"&gt;@melek6199&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When you setup an Apache NiFi cluster versus a standalone NiFi instance, the cluster coordinator and zookeeper become part of the setup.&amp;nbsp; Since a NiFi cluster is a zero master cluster, the UI can be access from any cluster connected node.&amp;nbsp; So your user authenticates to the specific node you are accessing and then that node proxies the user request (initially that would "access the flow") on behalf of that user to the cluster coordinator that replicates request to all connected nodes.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The exception means that node with node identity derived from certificate DN "&lt;SPAN&gt;CN=vtmrt3anifit04.x.com, OU=NIFI" was not properly authorized to "proxy user requests".&lt;BR /&gt;&lt;BR /&gt;All your NiFi node identities must be authorized to "proxy user requests".&lt;BR /&gt;&lt;BR /&gt;While it appears that your NiFi authorizers.xml is setup correctly with your 4 node's identities (case sensitivity also correct), I suspect it was only setup correctly after NiFi having already being started before it was configured correctly.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;The "file-access-policy-provider" will only generate the authorizations.xml during NiFi startup if it does NOT already exist.&amp;nbsp; It also will not modify an already existing authorizations.xml file.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The "file-user-group-provider" will only generate the users.xml during NiFi startup if it does not already exist.&amp;nbsp; It also will NOT modify an already existing users.xml file.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;So I would inspect the users.xml to make sure it contains all 4 node identities (case sensitive correctly) and then verify the authorizations.xml has those node's properly authorized.&lt;BR /&gt;&lt;BR /&gt;So I would start here to make sure above is correct on all 4 nodes.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Please help our community grow. If you found&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;/SPAN&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 14:01:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-2-2-0-version-Untrusted-proxy-error/m-p/408288#M252675</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-05-13T14:01:36Z</dc:date>
    </item>
  </channel>
</rss>

