Member since
06-01-2020
15
Posts
0
Kudos Received
0
Solutions
04-06-2023
11:36 PM
Thanks for support @MattWho . I overlooked that sticky session part but after configuring the sticky session on the load balancer everything is working fine.
... View more
04-06-2023
09:06 AM
Hello @MattWho Load balancer started showing the login page after setting below properties in nifi.properties nifi.web.proxy.context.path=/ nifi.web.proxy.host=myapp.dev.domain.com:8443 (load balancer url) but after giving the logins details nifi canvas is not coming up I am seeing the below error while access via load balancer URL in nifi-user.log file 2023-04-06 15:04:35,861 INFO [NiFi Web Server-17] o.a.n.w.s.NiFiAuthenticationFilter Authentication Started 10.1xx.xx.xxx [<anonymous>] GET https://myapp.dev.domain.com:8443/nifi-api/flow/current-user 2023-04-06 15:04:35,862 WARN [NiFi Web Server-17] o.a.n.w.s.NiFiAuthenticationFilter Authentication Failed 10.1xx.xx.xxx GET https://myapp.dev.domain.com:8443/nifi-api/flow/current-user [Anonymous authentication has not been configured.] I am using LDAP for authentication. Do I need to change any other properties/settings, please help
... View more
04-02-2023
12:42 AM
I have configured this and set the nifi.web.proxy.host: node1.domain.com:8443,node2.domain.com:8443,node3.domain.com:8443,loabalancerUrl.domain.com:8443 but while logging in I see below issue. I have checked the logs but no errors in nifi-user.logs
... View more
03-31-2023
08:07 AM
Thanks for the reply @MattWho I have implemented in the same way what you have said but while accessing with the load balancer url I am getting the below exception System Error The request contained an invalid host header [internal-myappname-13718787520.us-east-1.elb.amazonaws.com:8443] in the request [/]. Check for request manipulation or third-party intercept.
... View more
03-30-2023
04:18 AM
Hello All, I have configured nifi flow with three node with external zookeeper node1.domain.com node2.domain.com node3.domain.com with three zookeeper nodes zk1.domain.com zk2.domain.com zk3.domain.com Everything is working fine but the requirement here is my flow has trigger points from external client systems to whom I have give a common URL like node.domain.com to avoid any changes on the client teams if any of nodes goes down. Any idea how to configure this.
... View more
Labels:
- Labels:
-
Apache NiFi
03-12-2023
01:40 AM
{
"operation": "default",
"spec":{ "*" : {
"flow_file_id" : "${uuid}" }
}
} this spec is generating the same uuid for all the objects in the array of json.
... View more
07-15-2022
06:00 AM
Thanks for the reply @MattWho Firstly with the below configurations changes in authorizers.xml, I was able to store the users and their related authorization policies in database and I was able to successfully store the users and their permissions in postgresSQL database from registry <userGroupProvider> <identifier>database-user-group-provider</identifier> <class>org.apache.nifi.registry.security.authorization.database.DatabaseUserGroupProvider</class> <property name="Initial User Identity 1">DEV-ADMIN</property> </userGroupProvider> ------------------------------ <accessPolicyProvider> <identifier>database-access-policy-provider</identifier> <class>org.apache.nifi.registry.security.authorization.database.DatabaseAccessPolicyProvider</class> <property name="User Group Provider">database-user-group-provider</property> <property name="Initial Admin Identity">DEV-ADMIN</property> <property name="NiFi Identity 1"></property> <property name="NiFi Group Name"></property> </accessPolicyProvider> -------------------------------------- <authorizer> <identifier>managed-authorizer</identifier> <class>org.apache.nifi.registry.security.authorization.StandardManagedAuthorizer</class> <property name="Access Policy Provider">database-access-policy-provider</property> </authorizer> Everything is working perfect. the only need here is to get the existing users.xml and authorizations.xml data migrated to Postgres DB and we can get rid of these files. Please help
... View more
07-13-2022
06:37 AM
Hello, I have successfully migrated the h2 database of registry to Postgres sql but it did not migrate the users.xml and authorizations.xml to postgres. Could you please help in pointing me in right direction on what setting needs to be changed to get migrate the users and authorizations data aswell to Postgres SQL. @MattWho Thanks Meeran
... View more
Labels:
- Labels:
-
Apache NiFi
-
NiFi Registry
07-13-2022
06:13 AM
Thanks for the explanation @Matt. I have generated the certs to add it to aws loadbalancer using the nifi toolkit with the below command tls-toolkit.sh client -c nifi-ca.dev.xxx.company.com -D "CN=nifi-registry-testloadbalancer3.dev.xxx.company.com, OU=NIFI" -p 8443 -t somekey its successfully generation the certs with keystore.jks, truststore.jks, config with required password and cert but aws needs a private key in pem format to upload a certificate. I have extracted the pem from keystore.jks using openssl but generated pem is not working and aws is not accepting the cert and through error as invalid key. could you please help me here what I am doing wrong, is there a way that i can get pem key with nifi toolkit
... View more
07-08-2022
03:29 AM
Hello, I have configured the nifi registry with an aws load balancer I have configured both type of load balancer (application(https)/ tcp) but none of them accessible from nifi nodes and not listing the buckets list. Below are the errors I am getting: with AWS network type load balancer: with application (https) load balancer: but if I add an individual registry node, every thing is working fine. Issue is with the load balancer only!! Please help what change needs to be done on the load balancer side.
... View more
Labels:
- Labels:
-
Apache NiFi
-
NiFi Registry