Dear Nathan, This is the output when nifi registry starts. The service stays active for around 20 seconds and then stops working.
1:06 edinaranjoespin@EFNARANJO-LT:bin $./nifi-registry.sh start Java home: /usr/lib/jvm/java-11-openjdk-amd64/ NiFi Registry home: /home/edinaranjoespin/NiFi/nifi-registry-1.19.0 Bootstrap Config File: /home/edinaranjoespin/NiFi/nifi-registry-1.19.0/conf/bootstrap.conf 11:07 edinaranjoespin@EFNARANJO-LT:bin $./nifi-registry.sh status Java home: /usr/lib/jvm/java-11-openjdk-amd64/ NiFi Registry home: /home/edinaranjoespin/NiFi/nifi-registry-1.19.0 Bootstrap Config File: /home/edinaranjoespin/NiFi/nifi-registry-1.19.0/conf/bootstrap.conf 2023-01-12 11:07:08,260 INFO [main] o.apache.nifi.registry.bootstrap.Command Apache NiFi Registry is currently running, listening to Bootstrap on port 42503, PID=15011 11:07 edinaranjoespin@EFNARANJO-LT:bin $./nifi-registry.sh status Java home: /usr/lib/jvm/java-11-openjdk-amd64/ NiFi Registry home: /home/edinaranjoespin/NiFi/nifi-registry-1.19.0 Bootstrap Config File: /home/edinaranjoespin/NiFi/nifi-registry-1.19.0/conf/bootstrap.conf 2023-01-12 11:07:12,839 INFO [main] o.apache.nifi.registry.bootstrap.Command Apache NiFi Registry is currently running, listening to Bootstrap on port 42503, PID=15011 11:07 edinaranjoespin@EFNARANJO-LT:bin $./nifi-registry.sh status Java home: /usr/lib/jvm/java-11-openjdk-amd64/ NiFi Registry home: /home/edinaranjoespin/NiFi/nifi-registry-1.19.0 Bootstrap Config File: /home/edinaranjoespin/NiFi/nifi-registry-1.19.0/conf/bootstrap.conf 2023-01-12 11:07:17,734 INFO [main] o.apache.nifi.registry.bootstrap.Command Apache NiFi Registry is currently running, listening to Bootstrap on port 42503, PID=15011 11:07 edinaranjoespin@EFNARANJO-LT:bin $./nifi-registry.sh status Java home: /usr/lib/jvm/java-11-openjdk-amd64/ NiFi Registry home: /home/edinaranjoespin/NiFi/nifi-registry-1.19.0 Bootstrap Config File: /home/edinaranjoespin/NiFi/nifi-registry-1.19.0/conf/bootstrap.conf 2023-01-12 11:07:24,044 INFO [main] o.apache.nifi.registry.bootstrap.Command Apache NiFi Registry is not running Additionally, I send the logs and the files nifi-registry.properties and authorizers.xml Best Regards, From: "Nathan Gough" <thena...@apache.org> To: "dev" <dev@nifi.apache.org> Cc: "ANTHONY YOSHIHITO ADACHI CORDERO" <aada...@telconet.ec>, "EDISON FABRICIO NARANJO ESPIN" <efnara...@telconet.ec> Sent: Thursday, January 12, 2023 10:03:08 AM Subject: Re: Problem with NIFI registry using ssl certificates Those parts of the config look fine. Can you share more of the failure log message and/or your nifi-registry.properties file? On Thu, Jan 12, 2023, 9:34 AM EDISON FABRICIO NARANJO ESPIN < [ mailto:efnara...@telconet.ec | efnara...@telconet.ec ] > wrote: Dear Nathan This is the configuration nifi.registry.web.http.host= nifi.registry.web.http.port= nifi.registry.web.https.host=127.0.0.1 nifi.registry.web.https.port=19443 Best Regards, From: "Nathan Gough" < [ mailto:thena...@apache.org | thena...@apache.org ] > To: "dev" < [ mailto:dev@nifi.apache.org | dev@nifi.apache.org ] > Cc: "EDISON FABRICIO NARANJO ESPIN" < [ mailto:efnara...@telconet.ec | efnara...@telconet.ec ] >, "ANTHONY YOSHIHITO ADACHI CORDERO" < [ mailto:aada...@telconet.ec | aada...@telconet.ec ] > Sent: Wednesday, January 11, 2023 6:35:23 PM Subject: Re: Problem with NIFI registry using ssl certificates Hi Edison, It sounds like your nifi-registry.properties file may have issues. Can you share this section of configuration nifi.registry.web.https.host=? nifi.registry.web.https.port=? This guide should be able to help: [ https://fm.telconet.net/fmlurlsvc/?fewReq=:B:JVs5MjYyOSV1PjEtMyVqZz4zMjkzMiVwamRtYnd2cWY+MTE2NDUzOjdnNjE3OjpiMDU1ZzFhZjY1MjdgZTU2YWdhNjUwZmA7ZyV3PjI1NDA3OzMyNTslcmpnPjAzQU1iNE9iMzE6NTE2LjAzQU1iNE9gMzE6NTE2JXFgc3c+ZmVtYnFibWlsQ3dmb2BsbWZ3LWZgJWA+NjEla2dvPjM=&url=https%3a%2f%2fcommunity.cloudera.com%2ft5%2fCommunity-Articles%2fSetting-Up-a-Secure-Apache-NiFi-Registry%2fta-p%2f247753 | https://community.cloudera.com/t5/Community-Articles/Setting-Up-a-Secure-Apache-NiFi-Registry/ta-p/247753 ] There may be more exception information you can share with us that's above/below the message you provided. Nathan On Wed, Jan 11, 2023, 6:21 PM EDISON FABRICIO NARANJO ESPIN < [ mailto:efnara...@telconet.ec | efnara...@telconet.ec ] > wrote: BQ_BEGIN Dear, After configuring the security parameters in the nifi registry, its operation cannot be started since the logs indicate that the jetty web server could not be started. Is there a solution for this issue or you must work with a special version of the product so that it can be deployed with https. Attached log output ==> nifi-registry-app_2023-01-11_12.0.log <== at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ... 9 common frames omitted Caused by: java.nio.channels.UnresolvedAddressException: null at java.base/sun.nio.ch.Net.checkAddress(Net.java:131) at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:222) at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ... 10 common frames omitted 2023-01-11 12:56:44,477 INFO [Thread-0] org.apache.nifi.registry.NiFiRegistry Initiating shutdown of Jetty web server... 2023-01-11 12:56:44,479 INFO [Thread-0] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@19e4653c{SSL, (ssl, http/1.1)}{localhost :18443} 2023-01-11 12:56:44,479 INFO [Thread-0] org.eclipse.jetty.server.session node0 Stopped scavenging Best regards, -- Edison F. Naranjo E. Seguridad Lógica TELCONET LATAM Cel: +593998608233 Quito-Ecuador [ mailto:efnara...@telconet.ec | efnara...@telconet.ec ] Toda la información contenida en este correo electrónico es confidencial y podrá ser usada únicamente por los destinatarios. No imprimir a menos que sea imprescindible. -- Edison F. Naranjo E. Seguridad Lógica TELCONET LATAM Quito-Ecuador [ mailto:efnara...@telconet.ec | efnara...@telconet.ec ] Toda la información contenida en este correo electrónico es confidencial y podrá ser usada únicamente por los destinatarios. No imprimir a menos que sea imprescindible. BQ_END -- Edison F. Naranjo E. Seguridad Lógica TELCONET LATAM Quito-Ecuador efnara...@telconet.ec Toda la información contenida en este correo electrónico es confidencial y podrá ser usada únicamente por los destinatarios. No imprimir a menos que sea imprescindible.
authorizers.xml
Description: XML document
==> nifi-registry-app_2023-01-11_12.0.log <== at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ... 9 common frames omitted Caused by: java.nio.channels.UnresolvedAddressException: null at java.base/sun.nio.ch.Net.checkAddress(Net.java:131) at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:222) at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ... 10 common frames omitted 2023-01-11 12:56:44,477 INFO [Thread-0] org.apache.nifi.registry.NiFiRegistry Initiating shutdown of Jetty web server... 2023-01-11 12:56:44,479 INFO [Thread-0] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@19e4653c{SSL, (ssl, http/1.1)}{localhost :18443} 2023-01-11 12:56:44,479 INFO [Thread-0] org.eclipse.jetty.server.session node0 Stopped scavenging ==> nifi-registry-app_2023-01-11_13.0.log <== at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ... 9 common frames omitted Caused by: java.nio.channels.UnresolvedAddressException: null at sun.nio.ch.Net.checkAddress(Net.java:104) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:217) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85) ... 10 common frames omitted 2023-01-11 13:30:14,607 INFO [Thread-1] org.apache.nifi.registry.NiFiRegistry Initiating shutdown of Jetty web server... 2023-01-11 13:30:14,611 INFO [Thread-1] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@3ec300f1{SSL, (ssl, http/1.1)}{localhost :18080} 2023-01-11 13:30:14,611 INFO [Thread-1] org.eclipse.jetty.server.session node0 Stopped scavenging ==> nifi-registry-app_2023-01-11_14.0.log <== 2023-01-11 14:59:58,516 INFO [main] o.a.n.r.provider.StandardProviderFactory Configured BundlePersistenceProvider with class name org.apache.nifi.registry.provider.extension.FileSystemBundlePersistenceProvider 2023-01-11 14:59:58,794 INFO [main] o.a.n.r.w.s.NiFiRegistryMasterKeyProviderFactory Updating Application Context with CryptoKeyProvider bean for obtaining NiFi Registry master key. 2023-01-11 14:59:58,799 WARN [main] o.a.n.p.AbstractBootstrapPropertiesLoader No encryption key present in the bootstrap.conf file at /home/edinaranjoespin/NiFi/nifi-registry-1.19.0/conf/bootstrap.conf 2023-01-11 14:59:58,912 INFO [main] o.a.n.r.s.a.file.FileUserGroupProvider Users/Groups file loaded at Wed Jan 11 14:59:58 ECT 2023 2023-01-11 14:59:58,927 INFO [main] o.a.n.r.s.a.d.DatabaseUserGroupProvider Created initial user with identity CN=admin, OU=NIFI 2023-01-11 14:59:58,931 WARN [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'accessPolicyResource' defined in file [/home/edinaranjoespin/NiFi/nifi-registry-1.19.0/work/jetty/nifi-registry-web-api-1.19.0.war/webapp/WEB-INF/classes/org/apache/nifi/registry/web/api/AccessPolicyResource.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'standardServiceFacade' defined in file [/home/edinaranjoespin/NiFi/nifi-registry-1.19.0/work/jetty/nifi-registry-web-api-1.19.0.war/webapp/WEB-INF/classes/org/apache/nifi/registry/web/service/StandardServiceFacade.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authorizationService' defined in URL [jar:file:/home/edinaranjoespin/NiFi/nifi-registry-1.19.0/work/jetty/nifi-registry-web-api-1.19.0.war/webapp/WEB-INF/lib/nifi-registry-framework-1.19.0.jar!/org/apache/nifi/registry/service/AuthorizationService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getAuthorizer' defined in class path resource [org/apache/nifi/registry/security/authorization/AuthorizerFactory.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.registry.security.authorization.Authorizer]: Factory method 'getAuthorizer' threw exception; nested exception is org.apache.nifi.registry.security.authorization.AuthorizerFactoryException: Failed to construct Authorizer. 2023-01-11 14:59:58,932 INFO [main] o.a.nifi.registry.event.EventService Shutting down event consumer... 2023-01-11 14:59:58,932 INFO [main] o.a.nifi.registry.event.EventService Event consumer shutdown! 2023-01-11 14:59:58,932 WARN [pool-4-thread-1] o.a.nifi.registry.event.EventService Interrupted while polling event queue 2023-01-11 14:59:58,933 INFO [main] com.zaxxer.hikari.HikariDataSource HikariPool-1 - Shutdown initiated... ==> nifi-registry-app_2023-01-11_15.0.log <== 2023-01-11 15:54:57,141 INFO [main] org.eclipse.jetty.server.Server Started @13312ms 2023-01-11 15:54:57,146 INFO [main] o.apache.nifi.registry.jetty.JettyServer NiFi Registry has started. The UI is available at the following URLs: 2023-01-11 15:54:57,146 INFO [main] o.apache.nifi.registry.jetty.JettyServer http://192.168.122.1:18080/nifi-registry 2023-01-11 15:54:57,146 INFO [main] o.apache.nifi.registry.jetty.JettyServer http://172.17.0.1:18080/nifi-registry 2023-01-11 15:54:57,147 INFO [main] o.apache.nifi.registry.jetty.JettyServer http://192.168.100.132:18080/nifi-registry 2023-01-11 15:54:57,147 INFO [main] o.apache.nifi.registry.jetty.JettyServer http://127.0.0.1:18080/nifi-registry 2023-01-11 15:54:57,150 INFO [main] o.apache.nifi.registry.BootstrapListener Successfully initiated communication with Bootstrap 2023-01-11 15:54:57,151 INFO [main] org.apache.nifi.registry.NiFiRegistry Registry initialization took 12422103355 nanoseconds (12 seconds). 2023-01-11 15:55:45,929 INFO [NiFi Registry Web Server-18] o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException: Access tokens are only issued over HTTPS. Returning Conflict response. 2023-01-11 15:55:46,054 INFO [NiFi Registry Web Server-22] o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException: User authentication/authorization is only supported when running over HTTPS.. Returning Conflict response. ==> nifi-registry-app_2023-01-11_16.0.log <== 2023-01-11 16:01:15,266 WARN [NiFi Registry Web Server-19] javax.persistence.spi javax.persistence.spi::No valid providers found. 2023-01-11 16:02:58,617 INFO [NiFi Registry Web Server-44] o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException: This NiFi Registry is not configured to internally manage users, groups, or policies. Please contact your system administrator.. Returning Conflict response. 2023-01-11 16:07:26,359 INFO [NiFi Registry Web Server-19] o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException: This NiFi Registry is not configured to internally manage users, groups, or policies. Please contact your system administrator.. Returning Conflict response. 2023-01-11 16:48:19,437 INFO [NiFi Registry Web Server-18] o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException: Access tokens are only issued over HTTPS. Returning Conflict response. 2023-01-11 16:48:20,291 INFO [NiFi Registry Web Server-23] o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException: User authentication/authorization is only supported when running over HTTPS.. Returning Conflict response. 2023-01-11 16:49:16,808 INFO [NiFi Registry Web Server-21] o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException: Access tokens are only issued over HTTPS. Returning Conflict response. 2023-01-11 16:49:16,814 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. ==> nifi-registry-app_2023-01-11_20.0.log <== 2023-01-11 20:51:40,767 INFO [Thread-0] org.apache.nifi.registry.NiFiRegistry Initiating shutdown of Jetty web server... 2023-01-11 20:51:55,397 INFO [Thread-0] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@55b53d44{HTTP/1.1, (http/1.1)}{:18080} 2023-01-11 20:51:55,460 INFO [Thread-0] org.eclipse.jetty.server.session node0 Stopped scavenging 2023-01-11 20:51:59,859 INFO [pool-2-thread-1] o.apache.nifi.registry.BootstrapListener Received SHUTDOWN request from Bootstrap 2023-01-11 20:52:00,261 INFO [pool-2-thread-1] org.apache.nifi.registry.NiFiRegistry Initiating shutdown of Jetty web server... ==> nifi-registry-app_2023-01-12_10.0.log <== 2023-01-12 10:59:58,512 INFO [main] o.a.n.r.provider.StandardProviderFactory Instantiated FlowPersistenceProvider with class name org.apache.nifi.registry.provider.flow.FileSystemFlowPersistenceProvider 2023-01-12 10:59:58,513 INFO [main] o.a.n.r.p.f.FileSystemFlowPersistenceProvider Configured FileSystemFlowPersistenceProvider with Flow Storage Directory /home/edinaranjoespin/NiFi/nifi-registry-1.19.0/./flow_storage 2023-01-12 10:59:58,514 INFO [main] o.a.n.r.provider.StandardProviderFactory Configured FlowPersistenceProvider with class name org.apache.nifi.registry.provider.flow.FileSystemFlowPersistenceProvider 2023-01-12 10:59:58,516 INFO [main] o.a.n.r.provider.StandardProviderFactory Instantiated BundlePersistenceProvider with class name org.apache.nifi.registry.provider.extension.FileSystemBundlePersistenceProvider 2023-01-12 10:59:58,517 INFO [main] o.a.n.r.p.e.FileSystemBundlePersistenceProvider Configured BundlePersistenceProvider with Extension Bundle Storage Directory /home/edinaranjoespin/NiFi/nifi-registry-1.19.0/./extension_bundles 2023-01-12 10:59:58,517 INFO [main] o.a.n.r.provider.StandardProviderFactory Configured BundlePersistenceProvider with class name org.apache.nifi.registry.provider.extension.FileSystemBundlePersistenceProvider 2023-01-12 10:59:58,785 INFO [main] o.a.n.r.w.s.NiFiRegistryMasterKeyProviderFactory Updating Application Context with CryptoKeyProvider bean for obtaining NiFi Registry master key. 2023-01-12 10:59:58,792 WARN [main] o.a.n.p.AbstractBootstrapPropertiesLoader No encryption key present in the bootstrap.conf file at /home/edinaranjoespin/NiFi/nifi-registry-1.19.0/conf/bootstrap.conf 2023-01-12 10:59:59,312 WARN [main] o.a.n.r.w.s.a.o.StandardOidcIdentityProvider The OIDC provider is not configured or enabled 2023-01-12 10:59:59,686 INFO [main] o.s.s.web.DefaultSecurityFilterChain Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@74026b18, org.springframework.security.web.header.HeaderWriterFilter@3adeca1f, org.apache.nifi.registry.web.security.authentication.IdentityFilter@1cc81ea1, org.apache.nifi.registry.web.security.authentication.IdentityFilter@5cf1bbd3, org.apache.nifi.registry.web.security.authentication.AnonymousIdentityFilter@204a02a4, org.springframework.security.web.access.ExceptionTranslationFilter@39a2e77d, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@5f8da82, org.apache.nifi.registry.web.security.authorization.ResourceAuthorizationFilter@4777f71e] ==> nifi-registry-app.log <== at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ... 9 common frames omitted Caused by: java.nio.channels.UnresolvedAddressException: null at java.base/sun.nio.ch.Net.checkAddress(Net.java:131) at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:222) at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ... 10 common frames omitted 2023-01-12 11:02:58,115 INFO [Thread-0] org.apache.nifi.registry.NiFiRegistry Initiating shutdown of Jetty web server... 2023-01-12 11:02:58,124 INFO [Thread-0] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@19e4653c{SSL, (ssl, http/1.1)}{127.0.0.1 :19443} 2023-01-12 11:02:58,124 INFO [Thread-0] org.eclipse.jetty.server.session node0 Stopped scavenging ==> nifi-registry-bootstrap_2023-01-11.log <== 2023-01-11 15:54:44,711 INFO [NiFi Registry Bootstrap Command Listener] o.a.n.registry.bootstrap.RunNiFiRegistry Apache NiFi Registry now running and listening for Bootstrap requests on port 36485 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut Apache NiFi _ _ 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut _ __ ___ __ _(_)___| |_ _ __ _ _ 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut | '__/ _ \/ _` | / __| __| '__| | | | 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut | | | __/ (_| | \__ \ |_| | | |_| | 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut |_| \___|\__, |_|___/\__|_| \__, | 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut ==========|___/================|___/= 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut v 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut ==> nifi-registry-bootstrap.log <== 2023-01-12 11:02:48,698 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut |_| \___|\__, |_|___/\__|_| \__, | 2023-01-12 11:02:48,698 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut ==========|___/================|___/= 2023-01-12 11:02:48,698 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut v 2023-01-12 11:02:48,698 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut 2023-01-12 11:02:53,029 INFO [main] o.apache.nifi.registry.bootstrap.Command Apache NiFi Registry is currently running, listening to Bootstrap on port 45665, PID=14356 2023-01-12 11:02:57,857 INFO [main] o.apache.nifi.registry.bootstrap.Command Apache NiFi Registry is currently running, listening to Bootstrap on port 45665, PID=14356 2023-01-12 11:02:58,113 ERROR [NiFi logging handler] org.apache.nifi.registry.StdErr Failed to start web server: Failed to bind to 127.0.0.1 :19443 2023-01-12 11:02:58,114 ERROR [NiFi logging handler] org.apache.nifi.registry.StdErr Shutting down... 2023-01-12 11:02:58,869 INFO [main] o.a.n.registry.bootstrap.RunNiFiRegistry NiFi Registry never started. Will not restart NiFi Registry 2023-01-12 11:03:02,353 INFO [main] o.apache.nifi.registry.bootstrap.Command Apache NiFi Registry is not running ==> nifi-registry-event.log <==
==> nifi-registry-app_2023-01-11_12.0.log <== at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ... 9 common frames omitted Caused by: java.nio.channels.UnresolvedAddressException: null at java.base/sun.nio.ch.Net.checkAddress(Net.java:131) at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:222) at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ... 10 common frames omitted 2023-01-11 12:56:44,477 INFO [Thread-0] org.apache.nifi.registry.NiFiRegistry Initiating shutdown of Jetty web server... 2023-01-11 12:56:44,479 INFO [Thread-0] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@19e4653c{SSL, (ssl, http/1.1)}{localhost :18443} 2023-01-11 12:56:44,479 INFO [Thread-0] org.eclipse.jetty.server.session node0 Stopped scavenging ==> nifi-registry-app_2023-01-11_13.0.log <== at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ... 9 common frames omitted Caused by: java.nio.channels.UnresolvedAddressException: null at sun.nio.ch.Net.checkAddress(Net.java:104) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:217) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85) ... 10 common frames omitted 2023-01-11 13:30:14,607 INFO [Thread-1] org.apache.nifi.registry.NiFiRegistry Initiating shutdown of Jetty web server... 2023-01-11 13:30:14,611 INFO [Thread-1] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@3ec300f1{SSL, (ssl, http/1.1)}{localhost :18080} 2023-01-11 13:30:14,611 INFO [Thread-1] org.eclipse.jetty.server.session node0 Stopped scavenging ==> nifi-registry-app_2023-01-11_14.0.log <== 2023-01-11 14:59:58,516 INFO [main] o.a.n.r.provider.StandardProviderFactory Configured BundlePersistenceProvider with class name org.apache.nifi.registry.provider.extension.FileSystemBundlePersistenceProvider 2023-01-11 14:59:58,794 INFO [main] o.a.n.r.w.s.NiFiRegistryMasterKeyProviderFactory Updating Application Context with CryptoKeyProvider bean for obtaining NiFi Registry master key. 2023-01-11 14:59:58,799 WARN [main] o.a.n.p.AbstractBootstrapPropertiesLoader No encryption key present in the bootstrap.conf file at /home/edinaranjoespin/NiFi/nifi-registry-1.19.0/conf/bootstrap.conf 2023-01-11 14:59:58,912 INFO [main] o.a.n.r.s.a.file.FileUserGroupProvider Users/Groups file loaded at Wed Jan 11 14:59:58 ECT 2023 2023-01-11 14:59:58,927 INFO [main] o.a.n.r.s.a.d.DatabaseUserGroupProvider Created initial user with identity CN=admin, OU=NIFI 2023-01-11 14:59:58,931 WARN [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'accessPolicyResource' defined in file [/home/edinaranjoespin/NiFi/nifi-registry-1.19.0/work/jetty/nifi-registry-web-api-1.19.0.war/webapp/WEB-INF/classes/org/apache/nifi/registry/web/api/AccessPolicyResource.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'standardServiceFacade' defined in file [/home/edinaranjoespin/NiFi/nifi-registry-1.19.0/work/jetty/nifi-registry-web-api-1.19.0.war/webapp/WEB-INF/classes/org/apache/nifi/registry/web/service/StandardServiceFacade.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authorizationService' defined in URL [jar:file:/home/edinaranjoespin/NiFi/nifi-registry-1.19.0/work/jetty/nifi-registry-web-api-1.19.0.war/webapp/WEB-INF/lib/nifi-registry-framework-1.19.0.jar!/org/apache/nifi/registry/service/AuthorizationService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getAuthorizer' defined in class path resource [org/apache/nifi/registry/security/authorization/AuthorizerFactory.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.nifi.registry.security.authorization.Authorizer]: Factory method 'getAuthorizer' threw exception; nested exception is org.apache.nifi.registry.security.authorization.AuthorizerFactoryException: Failed to construct Authorizer. 2023-01-11 14:59:58,932 INFO [main] o.a.nifi.registry.event.EventService Shutting down event consumer... 2023-01-11 14:59:58,932 INFO [main] o.a.nifi.registry.event.EventService Event consumer shutdown! 2023-01-11 14:59:58,932 WARN [pool-4-thread-1] o.a.nifi.registry.event.EventService Interrupted while polling event queue 2023-01-11 14:59:58,933 INFO [main] com.zaxxer.hikari.HikariDataSource HikariPool-1 - Shutdown initiated... ==> nifi-registry-app_2023-01-11_15.0.log <== 2023-01-11 15:54:57,141 INFO [main] org.eclipse.jetty.server.Server Started @13312ms 2023-01-11 15:54:57,146 INFO [main] o.apache.nifi.registry.jetty.JettyServer NiFi Registry has started. The UI is available at the following URLs: 2023-01-11 15:54:57,146 INFO [main] o.apache.nifi.registry.jetty.JettyServer http://192.168.122.1:18080/nifi-registry 2023-01-11 15:54:57,146 INFO [main] o.apache.nifi.registry.jetty.JettyServer http://172.17.0.1:18080/nifi-registry 2023-01-11 15:54:57,147 INFO [main] o.apache.nifi.registry.jetty.JettyServer http://192.168.100.132:18080/nifi-registry 2023-01-11 15:54:57,147 INFO [main] o.apache.nifi.registry.jetty.JettyServer http://127.0.0.1:18080/nifi-registry 2023-01-11 15:54:57,150 INFO [main] o.apache.nifi.registry.BootstrapListener Successfully initiated communication with Bootstrap 2023-01-11 15:54:57,151 INFO [main] org.apache.nifi.registry.NiFiRegistry Registry initialization took 12422103355 nanoseconds (12 seconds). 2023-01-11 15:55:45,929 INFO [NiFi Registry Web Server-18] o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException: Access tokens are only issued over HTTPS. Returning Conflict response. 2023-01-11 15:55:46,054 INFO [NiFi Registry Web Server-22] o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException: User authentication/authorization is only supported when running over HTTPS.. Returning Conflict response. ==> nifi-registry-app_2023-01-11_16.0.log <== 2023-01-11 16:01:15,266 WARN [NiFi Registry Web Server-19] javax.persistence.spi javax.persistence.spi::No valid providers found. 2023-01-11 16:02:58,617 INFO [NiFi Registry Web Server-44] o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException: This NiFi Registry is not configured to internally manage users, groups, or policies. Please contact your system administrator.. Returning Conflict response. 2023-01-11 16:07:26,359 INFO [NiFi Registry Web Server-19] o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException: This NiFi Registry is not configured to internally manage users, groups, or policies. Please contact your system administrator.. Returning Conflict response. 2023-01-11 16:48:19,437 INFO [NiFi Registry Web Server-18] o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException: Access tokens are only issued over HTTPS. Returning Conflict response. 2023-01-11 16:48:20,291 INFO [NiFi Registry Web Server-23] o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException: User authentication/authorization is only supported when running over HTTPS.. Returning Conflict response. 2023-01-11 16:49:16,808 INFO [NiFi Registry Web Server-21] o.a.n.r.w.m.IllegalStateExceptionMapper java.lang.IllegalStateException: Access tokens are only issued over HTTPS. Returning Conflict response. 2023-01-11 16:49:16,814 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. ==> nifi-registry-app_2023-01-11_20.0.log <== 2023-01-11 20:51:40,767 INFO [Thread-0] org.apache.nifi.registry.NiFiRegistry Initiating shutdown of Jetty web server... 2023-01-11 20:51:55,397 INFO [Thread-0] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@55b53d44{HTTP/1.1, (http/1.1)}{:18080} 2023-01-11 20:51:55,460 INFO [Thread-0] org.eclipse.jetty.server.session node0 Stopped scavenging 2023-01-11 20:51:59,859 INFO [pool-2-thread-1] o.apache.nifi.registry.BootstrapListener Received SHUTDOWN request from Bootstrap 2023-01-11 20:52:00,261 INFO [pool-2-thread-1] org.apache.nifi.registry.NiFiRegistry Initiating shutdown of Jetty web server... ==> nifi-registry-app_2023-01-12_10.0.log <== 2023-01-12 10:59:58,512 INFO [main] o.a.n.r.provider.StandardProviderFactory Instantiated FlowPersistenceProvider with class name org.apache.nifi.registry.provider.flow.FileSystemFlowPersistenceProvider 2023-01-12 10:59:58,513 INFO [main] o.a.n.r.p.f.FileSystemFlowPersistenceProvider Configured FileSystemFlowPersistenceProvider with Flow Storage Directory /home/edinaranjoespin/NiFi/nifi-registry-1.19.0/./flow_storage 2023-01-12 10:59:58,514 INFO [main] o.a.n.r.provider.StandardProviderFactory Configured FlowPersistenceProvider with class name org.apache.nifi.registry.provider.flow.FileSystemFlowPersistenceProvider 2023-01-12 10:59:58,516 INFO [main] o.a.n.r.provider.StandardProviderFactory Instantiated BundlePersistenceProvider with class name org.apache.nifi.registry.provider.extension.FileSystemBundlePersistenceProvider 2023-01-12 10:59:58,517 INFO [main] o.a.n.r.p.e.FileSystemBundlePersistenceProvider Configured BundlePersistenceProvider with Extension Bundle Storage Directory /home/edinaranjoespin/NiFi/nifi-registry-1.19.0/./extension_bundles 2023-01-12 10:59:58,517 INFO [main] o.a.n.r.provider.StandardProviderFactory Configured BundlePersistenceProvider with class name org.apache.nifi.registry.provider.extension.FileSystemBundlePersistenceProvider 2023-01-12 10:59:58,785 INFO [main] o.a.n.r.w.s.NiFiRegistryMasterKeyProviderFactory Updating Application Context with CryptoKeyProvider bean for obtaining NiFi Registry master key. 2023-01-12 10:59:58,792 WARN [main] o.a.n.p.AbstractBootstrapPropertiesLoader No encryption key present in the bootstrap.conf file at /home/edinaranjoespin/NiFi/nifi-registry-1.19.0/conf/bootstrap.conf 2023-01-12 10:59:59,312 WARN [main] o.a.n.r.w.s.a.o.StandardOidcIdentityProvider The OIDC provider is not configured or enabled 2023-01-12 10:59:59,686 INFO [main] o.s.s.web.DefaultSecurityFilterChain Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@74026b18, org.springframework.security.web.header.HeaderWriterFilter@3adeca1f, org.apache.nifi.registry.web.security.authentication.IdentityFilter@1cc81ea1, org.apache.nifi.registry.web.security.authentication.IdentityFilter@5cf1bbd3, org.apache.nifi.registry.web.security.authentication.AnonymousIdentityFilter@204a02a4, org.springframework.security.web.access.ExceptionTranslationFilter@39a2e77d, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@5f8da82, org.apache.nifi.registry.web.security.authorization.ResourceAuthorizationFilter@4777f71e] ==> nifi-registry-app.log <== at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:344) ... 9 common frames omitted Caused by: java.nio.channels.UnresolvedAddressException: null at java.base/sun.nio.ch.Net.checkAddress(Net.java:131) at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:222) at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:80) ... 10 common frames omitted 2023-01-12 11:02:58,115 INFO [Thread-0] org.apache.nifi.registry.NiFiRegistry Initiating shutdown of Jetty web server... 2023-01-12 11:02:58,124 INFO [Thread-0] o.eclipse.jetty.server.AbstractConnector Stopped ServerConnector@19e4653c{SSL, (ssl, http/1.1)}{127.0.0.1 :19443} 2023-01-12 11:02:58,124 INFO [Thread-0] org.eclipse.jetty.server.session node0 Stopped scavenging ==> nifi-registry-bootstrap_2023-01-11.log <== 2023-01-11 15:54:44,711 INFO [NiFi Registry Bootstrap Command Listener] o.a.n.registry.bootstrap.RunNiFiRegistry Apache NiFi Registry now running and listening for Bootstrap requests on port 36485 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut Apache NiFi _ _ 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut _ __ ___ __ _(_)___| |_ _ __ _ _ 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut | '__/ _ \/ _` | / __| __| '__| | | | 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut | | | __/ (_| | \__ \ |_| | | |_| | 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut |_| \___|\__, |_|___/\__|_| \__, | 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut ==========|___/================|___/= 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut v 2023-01-11 15:54:48,439 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut ==> nifi-registry-bootstrap.log <== 2023-01-12 11:02:48,698 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut |_| \___|\__, |_|___/\__|_| \__, | 2023-01-12 11:02:48,698 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut ==========|___/================|___/= 2023-01-12 11:02:48,698 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut v 2023-01-12 11:02:48,698 INFO [NiFi logging handler] org.apache.nifi.registry.StdOut 2023-01-12 11:02:53,029 INFO [main] o.apache.nifi.registry.bootstrap.Command Apache NiFi Registry is currently running, listening to Bootstrap on port 45665, PID=14356 2023-01-12 11:02:57,857 INFO [main] o.apache.nifi.registry.bootstrap.Command Apache NiFi Registry is currently running, listening to Bootstrap on port 45665, PID=14356 2023-01-12 11:02:58,113 ERROR [NiFi logging handler] org.apache.nifi.registry.StdErr Failed to start web server: Failed to bind to 127.0.0.1 :19443 2023-01-12 11:02:58,114 ERROR [NiFi logging handler] org.apache.nifi.registry.StdErr Shutting down... 2023-01-12 11:02:58,869 INFO [main] o.a.n.registry.bootstrap.RunNiFiRegistry NiFi Registry never started. Will not restart NiFi Registry 2023-01-12 11:03:02,353 INFO [main] o.apache.nifi.registry.bootstrap.Command Apache NiFi Registry is not running ==> nifi-registry-event.log <==