gravitee-io / issues

Gravitee.io - API Platform - Issues
64 stars 26 forks source link

[management-ui] login and logout callback URLs are wrong behind a HTTP proxy #3827

Closed tcompiegne closed 4 years ago

tcompiegne commented 4 years ago

If the HTTP proxy set a default location path such as :

 location /am/ui/ {
                    proxy_pass http://webui/;
                    proxy_set_header   Host $host;
                    proxy_set_header   X-Real-IP $remote_addr;
                    proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
                    proxy_set_header   X-Forwarded-Host $server_name;
                    proxy_set_header   X-Forwarded-Proto $scheme;
                    sub_filter '<base href="/"' '<base href="/am/ui/"';
                    sub_filter_once on;
              }

The path /am/ui is missing.

gianx89 commented 4 years ago

I built a docker image of the ui from 3827 branch (with the new nginx conf).

I took some files related to docker from master, e.g. docker\management-ui\config\templates\default.conf.tmpl (the one on 3827 branch states at row 11 root /var/www/html; and doesn't work with the official docker compose; instead, on master, we find root /usr/share/nginx/html; at the same row which works with the official docker compose).

I correctly land now on http://172.31.33.211/am/management/auth/login

But now I get error 500 (the same error I had after I have forced the correct url through the browser with the 3.0.1 docker image).

In the log I find:

19:58:03.224 [gravitee-listener-41] [] WARN org.eclipse.jetty.server.HttpChannel - /management/auth/login, org.springframework.web.util.NestedServletException.: Request processing failed; nested exception is java.lang.NullPointerException, at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014), at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898), at javax.servlet.http.HttpServlet.service(HttpServlet.java:687), at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883), at javax.servlet.http.HttpServlet.service(HttpServlet.java:790), at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763), at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320), at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126), at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at io.gravitee.am.management.handlers.management.api.authentication.filter.CheckAuthenticationCookieFilter.doFilter(CheckAuthenticationCookieFilter.java:55), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at io.gravitee.am.management.handlers.management.api.authentication.filter.RecaptchaFilter.doFilter(RecaptchaFilter.java:87), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at io.gravitee.am.management.handlers.management.api.authentication.filter.CsrfIncludeFilter.doFilter(CsrfIncludeFilter.java:41), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:92), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92), at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215), at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178), at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358), at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271), at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618), at org.springframework.web.filter.ForwardedHeaderFilter.doFilterInternal(ForwardedHeaderFilter.java:158), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618), at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549), at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233), at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610), at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233), at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1363), at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188), at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489), at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580), at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186), at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1278), at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141), at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127), at org.eclipse.jetty.server.Server.handle(Server.java:500), at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383), at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547), at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375), at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273), at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311), at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103), at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117), at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336), at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313), at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171), at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:135), at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806), at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938), at java.base/java.lang.Thread.run(Unknown Source), Caused by: java.lang.NullPointerException: null, at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source), at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source), at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source), at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source), at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source), at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source), at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source), at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source), at io.gravitee.am.management.handlers.management.api.authentication.controller.LoginController.login(LoginController.java:70), at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method), at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source), at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), at java.base/java.lang.reflect.Method.invoke(Unknown Source), at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190), at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138), at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105), at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879), at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793), at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87), at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040), at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943), at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006), ... 82 common frames omitted,

Maybe more fixes are needed?

tcompiegne commented 4 years ago

Hi @gianx89 ,

Do you have some social providers to authenticate to the portal ?

tcompiegne commented 4 years ago

More question :

Are you coming from the AM v2 ? Did you run the upgrade mongodb script ?

gianx89 commented 4 years ago

I always used the inline user admin (never went to production for now, only internal development). I have configured a couple of domains with mongodb as provider. I'm coming from V2 and I run the update script, but I can run it again.

However I don't reach the login screen, so I can' try to login.

With APIM (after a little bit of manual data cleaning after running migration scripts) all seems fine for now.

tcompiegne commented 4 years ago

Can you show me the result of this mongodb request :

db.organizations.find()

gianx89 commented 4 years ago
> db.organizations.find().pretty()
{
        "_id" : "DEFAULT",
        "createdAt" : ISODate("2020-05-21T14:19:02.666Z"),
        "description" : "Default organization",
        "domainRestrictions" : [ ],
        "identities" : [
                "ca62c621-c6e2-4327-a2c6-21c6e2d32731"
        ],
        "name" : "Default organization",
        "updatedAt" : ISODate("2020-05-21T14:19:02.855Z")
}
tcompiegne commented 4 years ago

hum seems good to me, I cannot reproduce on my side, no error log at startup ?

gianx89 commented 4 years ago

Gateway

=========================================================================, , Gravitee.io - Access Management - Gateway, , GRAVITEE_HOME: /opt/graviteeio-am-gateway, , GRAVITEE_OPTS: , , JAVA: /opt/java/openjdk/bin/java, , JAVA_OPTS: -Djava.net.preferIPv4Stack=true -Xms1024m -Xmx1024m -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -XX:+DisableExplicitGC -Dfile.encoding=UTF-8, , CLASSPATH: /opt/graviteeio-am-gateway/lib/gravitee-am-gateway-standalone-bootstrap-3.0.1.jar, , =========================================================================, , 19:57:29.927 [graviteeio-node] [] INFO i.g.n.c.s.e.PropertiesConfiguration - Loading Gravitee configuration., 19:57:29.939 [graviteeio-node] [] INFO i.g.n.c.s.e.PropertiesConfiguration - Gravitee configuration loaded from /opt/graviteeio-am-gateway/config/gravitee.yml, 19:57:30.133 [graviteeio-node] [] INFO i.g.n.c.s.e.PropertiesConfiguration - Loading Gravitee configuration. DONE, 19:57:30.164 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - Loading plugin handlers, 19:57:30.182 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - Find 11 plugin handler(s):, 19:57:30.185 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.am.plugins.factor.plugin.FactorPluginHandler, 19:57:30.189 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.am.plugins.protocol.plugin.ProtocolPluginHandler, 19:57:30.191 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.am.plugins.idp.plugin.IdentityProviderPluginHandler, 19:57:30.192 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.am.plugins.reporter.plugin.ReporterPluginHandler, 19:57:30.198 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.plugin.policy.internal.PolicyPluginHandler, 19:57:30.199 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.node.plugins.service.handler.ServicePluginHandler, 19:57:30.201 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.am.plugins.certificate.plugin.CertificatePluginHandler, 19:57:30.203 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.am.plugins.extensiongrant.plugin.ExtensionGrantPluginHandler, 19:57:30.205 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.plugin.repository.internal.RepositoryPluginHandler, 19:57:30.207 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.node.reporter.plugin.ReporterPluginHandler, 19:57:30.209 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.plugin.alert.internal.AlertPluginHandler, 19:57:30.762 [graviteeio-node] [] INFO i.g.n.c.NodeDeployerFactoriesLoader - Loading instances for type io.gravitee.node.api.NodeDeployer, 19:57:31.145 [graviteeio-node] [] INFO i.g.p.r.i.RepositoryPluginHandler - Loading repository for scope MANAGEMENT: mongodb, 19:57:31.145 [graviteeio-node] [] INFO i.g.p.r.i.RepositoryPluginHandler - Loading repository for scope OAUTH2: mongodb, 19:57:31.498 [graviteeio-node] [] INFO i.g.node.container.AbstractContainer - Starting Gravitee.io - AM Gateway..., 19:57:31.499 [graviteeio-node] [] INFO i.g.am.gateway.node.GatewayNode - Gravitee.io - AM Gateway is now starting..., 19:57:31.499 [graviteeio-node] [] INFO i.g.am.gateway.node.GatewayNode - Starting component: PluginEventListener, 19:57:31.499 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.plugin.core.internal.PluginEventListener, 19:57:31.499 [graviteeio-node] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener PluginEventListener for event type class io.gravitee.plugin.core.api.PluginEvent, 19:57:31.500 [graviteeio-node] [] INFO i.g.am.gateway.node.GatewayNode - Starting component: PluginRegistry, 19:57:31.500 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.plugin.core.internal.PluginRegistryImpl, 19:57:31.500 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Initializing plugin registry., 19:57:31.501 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugins from /opt/graviteeio-am-gateway/plugins, 19:57:31.504 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-reporter-mongodb-3.0.1.zip, 19:57:31.568 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-reporter-mongodb-3.0.1/gravitee-am-reporter-mongodb-3.0.1.jar, 19:57:31.594 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-identityprovider-mongo-3.0.1.zip, 19:57:31.653 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-identityprovider-mongo-3.0.1/gravitee-am-identityprovider-mongo-3.0.1.jar, 19:57:31.655 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-identityprovider-inline-3.0.1.zip, 19:57:31.660 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-identityprovider-inline-3.0.1/gravitee-am-identityprovider-inline-3.0.1.jar, 19:57:31.661 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-identityprovider-ldap-3.0.1.zip, 19:57:31.747 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-identityprovider-ldap-3.0.1/gravitee-am-identityprovider-ldap-3.0.1.jar, 19:57:31.749 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-gateway-handler-scim-3.0.1.zip, 19:57:31.753 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-gateway-handler-scim-3.0.1/gravitee-am-gateway-handler-scim-3.0.1.jar, 19:57:31.754 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-extensiongrant-jwtbearer-3.0.1.zip, 19:57:31.758 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-extensiongrant-jwtbearer-3.0.1/gravitee-am-extensiongrant-jwtbearer-3.0.1.jar, 19:57:31.760 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-gateway-handler-users-3.0.1.zip, 19:57:31.763 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-gateway-handler-users-3.0.1/gravitee-am-gateway-handler-users-3.0.1.jar, 19:57:31.764 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-policy-callout-http-1.8.0.zip, 19:57:31.769 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-policy-callout-http-1.8.0/gravitee-policy-callout-http-1.8.0.jar, 19:57:31.770 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-gateway-services-sync-3.0.1.zip, 19:57:31.773 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-gateway-services-sync-3.0.1/gravitee-am-gateway-services-sync-3.0.1.jar, 19:57:31.774 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-certificate-pkcs12-3.0.1.zip, 19:57:31.795 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-certificate-pkcs12-3.0.1/gravitee-am-certificate-pkcs12-3.0.1.jar, 19:57:31.796 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-factor-otp-3.0.1.zip, 19:57:31.820 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-factor-otp-3.0.1/gravitee-am-factor-otp-3.0.1.jar, 19:57:31.821 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-node-services-healthcheck-1.7.0.zip, 19:57:31.823 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-node-services-healthcheck-1.7.0/gravitee-node-services-healthcheck-1.7.0.jar, 19:57:31.823 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-gateway-handler-oidc-3.0.1.zip, 19:57:31.828 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-gateway-handler-oidc-3.0.1/gravitee-am-gateway-handler-oidc-3.0.1.jar, 19:57:31.829 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-identityprovider-oauth2-generic-3.0.1.zip, 19:57:31.838 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-identityprovider-oauth2-generic-3.0.1/gravitee-am-identityprovider-oauth2-generic-3.0.1.jar, 19:57:31.839 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-policy-ipfiltering-1.3.0.zip, 19:57:31.844 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-policy-ipfiltering-1.3.0/gravitee-policy-ipfiltering-1.3.0.jar, 19:57:31.845 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-policy-request-validation-1.7.1.zip, 19:57:31.848 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-policy-request-validation-1.7.1/gravitee-policy-request-validation-1.7.1.jar, 19:57:31.848 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-identityprovider-github-3.0.1.zip, 19:57:31.851 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-identityprovider-github-3.0.1/gravitee-am-identityprovider-github-3.0.1.jar, 19:57:31.851 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-repository-mongodb-3.0.1.zip, 19:57:31.861 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-repository-mongodb-3.0.1/gravitee-am-repository-mongodb-3.0.1.jar, 19:57:31.862 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-node-services-monitoring-1.7.0.zip, 19:57:31.864 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-node-services-monitoring-1.7.0/gravitee-node-services-monitoring-1.7.0.jar, 19:57:31.864 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-policy-groovy-1.9.2.zip, 19:57:31.911 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-policy-groovy-1.9.2/gravitee-policy-groovy-1.9.2.jar, 19:57:31.912 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-gateway/plugins/gravitee-am-certificate-javakeystore-3.0.1.zip, 19:57:31.921 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-gateway/plugins/.work/gravitee-am-certificate-javakeystore-3.0.1/gravitee-am-certificate-javakeystore-3.0.1.jar, 19:57:31.922 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available policy: , 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > policy-http-callout [1.8.0] has been loaded, 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > ip-filtering [1.3.0] has been loaded, 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > policy-request-validation [1.7.1] has been loaded, 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > groovy [1.9.2] has been loaded, 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available reporter: , 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > mongodb [3.0.1] has been loaded, 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available service: , 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > sync-service [3.0.1] has been loaded, 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > node-healthcheck [1.7.0] has been loaded, 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > node-monitoring [1.7.0] has been loaded, 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available repository: , 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > repository-am-mongodb [3.0.1] has been loaded, 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available identity_provider: , 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > mongo-am-idp [3.0.1] has been loaded, 19:57:31.923 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > inline-am-idp [3.0.1] has been loaded, 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > ldap-am-idp [3.0.1] has been loaded, 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > oauth2-generic-am-idp [3.0.1] has been loaded, 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > github-am-idp [3.0.1] has been loaded, 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available resource: , 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available fetcher: , 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available certificate: , 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > pkcs12-am-certificate [3.0.1] has been loaded, 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > javakeystore-am-certificate [3.0.1] has been loaded, 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available extension_grant: , 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > jwtbearer-am-extension-grant [3.0.1] has been loaded, 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available notifier: , 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available alert: , 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available service_discovery: , 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available protocol: , 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > scim [3.0.1] has been loaded, 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > users [3.0.1] has been loaded, 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > openid-connect [3.0.1] has been loaded, 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available ingester: , 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available processor: , 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available factor: , 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > otp-am-factor [3.0.1] has been loaded, 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - All plugins have been loaded. Installing..., 19:57:31.924 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing REPOSITORY plugins..., 19:57:31.926 [graviteeio-node] [] INFO i.g.p.r.i.RepositoryPluginHandler - Register a new repository: repository-am-mongodb [io.gravitee.am.repository.mongodb.MongoRepositoryProvider], 19:57:31.929 [graviteeio-node] [] INFO i.g.p.r.i.RepositoryPluginHandler - Repository [MANAGEMENT] loaded by mongodb, 19:57:32.209 [graviteeio-node] [] INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[mongodb:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='5000 ms', maxWaitQueueSize=500}, 19:57:32.468 [cluster-ClusterId{value='5ec6dd2c55be5e2bbe33cf50', description='null'}-mongodb:27017] [] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:1}] to mongodb:27017, 19:57:32.479 [cluster-ClusterId{value='5ec6dd2c55be5e2bbe33cf50', description='null'}-mongodb:27017] [] INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=mongodb:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 4, 24]}, minWireVersion=0, maxWireVersion=5, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=null, roundTripTimeNanos=7604592}, 19:57:32.539 [Thread-8] [] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:2, serverValue:2}] to mongodb:27017, 19:57:32.796 [graviteeio-node] [] INFO i.g.p.r.i.RepositoryPluginHandler - Repository [OAUTH2] loaded by mongodb, 19:57:32.831 [graviteeio-node] [] INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[mongodb:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='5000 ms', maxWaitQueueSize=500}, 19:57:32.839 [graviteeio-node] [] INFO org.mongodb.driver.cluster - No server chosen by com.mongodb.async.client.ClientSessionHelper$1@65cf4d6d from cluster description ClusterDescription{type=UNKNOWN, connectionMode=SINGLE, serverDescriptions=[ServerDescription{address=mongodb:27017, type=UNKNOWN, state=CONNECTING}]}. Waiting for 5000 ms before timing out, 19:57:32.856 [cluster-ClusterId{value='5ec6dd2c55be5e2bbe33cf51', description='null'}-mongodb:27017] [] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:3, serverValue:3}] to mongodb:27017, 19:57:32.858 [cluster-ClusterId{value='5ec6dd2c55be5e2bbe33cf51', description='null'}-mongodb:27017] [] INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=mongodb:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 4, 24]}, minWireVersion=0, maxWireVersion=5, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=null, roundTripTimeNanos=1548812}, 19:57:32.863 [Thread-12] [] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:4, serverValue:4}] to mongodb:27017, 19:57:32.905 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing IDENTITY_PROVIDER plugins..., 19:57:32.909 [graviteeio-node] [] INFO i.g.a.p.i.p.IdentityProviderPluginHandler - Register a new identity provider plugin: ldap-am-idp [io.gravitee.am.identityprovider.ldap.LdapIdentityProvider], 19:57:32.911 [graviteeio-node] [] INFO i.g.a.p.i.p.IdentityProviderPluginHandler - Register a new identity provider plugin: mongo-am-idp [io.gravitee.am.identityprovider.mongo.MongoIdentityProvider], 19:57:32.916 [graviteeio-node] [] INFO i.g.a.p.i.p.IdentityProviderPluginHandler - Register a new identity provider plugin: oauth2-generic-am-idp [io.gravitee.am.identityprovider.oauth2.OAuth2GenericIdentityProvider], 19:57:32.918 [graviteeio-node] [] INFO i.g.a.p.i.p.IdentityProviderPluginHandler - Register a new identity provider plugin: github-am-idp [io.gravitee.am.identityprovider.github.GithubIdentityProvider], 19:57:32.920 [graviteeio-node] [] INFO i.g.a.p.i.p.IdentityProviderPluginHandler - Register a new identity provider plugin: inline-am-idp [io.gravitee.am.identityprovider.inline.InlineIdentityProvider], 19:57:32.920 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing RESOURCE plugins..., 19:57:32.920 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing POLICY plugins..., 19:57:32.920 [graviteeio-node] [] INFO i.g.p.p.internal.PolicyPluginHandler - Install plugin: policy-request-validation [io.gravitee.policy.requestvalidation.RequestValidationPolicy], 19:57:33.041 [graviteeio-node] [] INFO i.g.p.p.internal.PolicyPluginHandler - Install plugin: groovy [io.gravitee.policy.groovy.GroovyPolicy], 19:57:33.049 [graviteeio-node] [] INFO i.g.p.p.internal.PolicyPluginHandler - Install plugin: policy-http-callout [io.gravitee.policy.callout.CalloutHttpPolicy], 19:57:33.058 [graviteeio-node] [] INFO i.g.p.p.internal.PolicyPluginHandler - Install plugin: ip-filtering [io.gravitee.policy.ipfiltering.IPFilteringPolicy], 19:57:33.069 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing SERVICE plugins..., 19:57:33.069 [graviteeio-node] [] INFO i.g.n.p.s.h.ServicePluginHandler - Install plugin: node-monitoring [io.gravitee.node.service.monitoring.MonitoringService], 19:57:33.131 [graviteeio-node] [] INFO i.g.n.p.s.h.ServicePluginHandler - Install plugin: node-healthcheck [io.gravitee.node.service.healthcheck.NodeHealthcheckService], 19:57:33.155 [graviteeio-node] [] INFO i.g.n.p.s.h.ServicePluginHandler - Install plugin: sync-service [io.gravitee.am.gateway.services.sync.ScheduledSyncService], 19:57:33.245 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing REPORTER plugins..., 19:57:33.253 [graviteeio-node] [] INFO i.g.a.p.r.p.ReporterPluginHandler - Register a new reporter plugin: mongodb [io.gravitee.am.reporter.mongodb.MongoReporter], 19:57:33.254 [graviteeio-node] [] INFO i.g.n.r.plugin.ReporterPluginHandler - Installation skipped for: mongodb [io.gravitee.am.reporter.mongodb.MongoReporter], 19:57:33.254 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing FETCHER plugins..., 19:57:33.254 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing CERTIFICATE plugins..., 19:57:33.256 [graviteeio-node] [] INFO i.g.a.p.c.p.CertificatePluginHandler - Register a new certificate plugin: pkcs12-am-certificate [io.gravitee.am.certificate.pkcs12.PKCS12Certificate], 19:57:33.268 [graviteeio-node] [] INFO i.g.a.p.c.p.CertificatePluginHandler - Register a new certificate plugin: javakeystore-am-certificate [io.gravitee.am.certificate.javakeystore.JavaKeyStore], 19:57:33.268 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing EXTENSION_GRANT plugins..., 19:57:33.279 [graviteeio-node] [] INFO i.g.a.p.e.p.ExtensionGrantPluginHandler - Register a new extension grant plugin: jwtbearer-am-extension-grant [io.gravitee.am.extensiongrant.jwtbearer.JWTBearerExtensionGrant], 19:57:33.279 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing NOTIFIER plugins..., 19:57:33.279 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing ALERT plugins..., 19:57:33.279 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing SERVICE_DISCOVERY plugins..., 19:57:33.279 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing PROTOCOL plugins..., 19:57:33.284 [graviteeio-node] [] INFO i.g.a.p.p.p.ProtocolPluginHandler - Register a new protocol plugin: users [io.gravitee.am.gateway.handler.users.UsersProtocol], 19:57:33.285 [graviteeio-node] [] INFO i.g.a.p.p.p.ProtocolPluginHandler - Register a new protocol plugin: scim [io.gravitee.am.gateway.handler.scim.SCIMProtocol], 19:57:33.295 [graviteeio-node] [] INFO i.g.a.p.p.p.ProtocolPluginHandler - Register a new protocol plugin: openid-connect [io.gravitee.am.gateway.handler.oidc.OIDCProtocol], 19:57:33.295 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing INGESTER plugins..., 19:57:33.295 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing PROCESSOR plugins..., 19:57:33.295 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing FACTOR plugins..., 19:57:33.300 [graviteeio-node] [] INFO i.g.a.p.f.plugin.FactorPluginHandler - Register a new factor plugin: otp-am-factor [io.gravitee.am.factor.otp.OTPFactor], 19:57:33.300 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Plugins have been loaded and installed., 19:57:33.300 [graviteeio-node] [] INFO i.g.am.gateway.node.GatewayNode - Starting component: ServiceManager, 19:57:33.301 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service Plugins - Services Manager, 19:57:33.301 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service Monitoring Service, 19:57:33.309 [graviteeio-node] [] INFO i.g.n.s.monitoring.MonitoringService - Node monitoring scheduled with fixed delay 5000 MILLISECONDS , 19:57:33.310 [graviteeio-node] [] INFO i.g.n.m.h.v.e.ManagementEndpointManagerImpl - Register a new endpoint for Management API: GET /monitor [io.gravitee.node.service.monitoring.management.MonitorManagementEndpoint], 19:57:33.313 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service Node Health-check service, 19:57:33.313 [graviteeio-node] [] INFO i.g.n.m.h.v.e.ManagementEndpointManagerImpl - Register a new endpoint for Management API: GET /health [io.gravitee.node.service.healthcheck.management.HealthcheckManagementEndpoint], 19:57:33.314 [graviteeio-node] [] INFO i.g.n.s.healthcheck.ProbesLoader - Loading instances for type io.gravitee.node.api.healthcheck.Probe, 19:57:33.346 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service Sync Service, 19:57:33.370 [graviteeio-node] [] INFO i.g.am.gateway.node.GatewayNode - Starting component: ManagementService, 19:57:33.370 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service Node Management API service, 19:57:33.420 [graviteeio-node] [] INFO i.g.am.gateway.node.GatewayNode - Starting component: ReporterManager, 19:57:33.420 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service Reporter service, 19:57:33.425 [vert.x-eventloop-thread-0] [] INFO i.g.n.m.h.v.v.ManagementVerticle - Start HTTP listener for Node Management API, 19:57:33.426 [graviteeio-node] [] INFO i.g.am.gateway.node.GatewayNode - Starting component: Reactor, 19:57:33.427 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.reactor.impl.DefaultReactor, 19:57:33.428 [graviteeio-node] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener DefaultReactor for event type class io.gravitee.am.common.event.DomainEvent, 19:57:33.428 [graviteeio-node] [] INFO i.g.am.gateway.node.GatewayNode - Starting component: VertxEmbeddedContainer, 19:57:33.428 [graviteeio-node] [] INFO i.g.a.g.vertx.VertxEmbeddedContainer - Starting Vertx container and deploy Gateway Verticles [16 instance(s)], 19:57:33.465 [vert.x-eventloop-thread-2] [] INFO i.g.n.r.vertx.ReporterManagerImpl - There is no reporter to start, 19:57:33.540 [graviteeio-node] [] INFO i.g.am.gateway.node.GatewayNode - Gravitee.io - AM Gateway id[614a6ee5-fcb1-48a7-8a6e-e5fcb1a8a7b4] version[3.0.1] pid[1] build[489#e2f12911bc177a07ed99c354400c786a5ac73607] jvm[AdoptOpenJDK/OpenJDK 64-Bit Server VM/11.0.7+10] started in 2012 ms., 19:57:33.697 [vert.x-eventloop-thread-15] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.697 [vert.x-eventloop-thread-4] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.698 [vert.x-eventloop-thread-5] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.698 [vert.x-eventloop-thread-10] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.698 [vert.x-eventloop-thread-9] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.698 [vert.x-eventloop-thread-13] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.698 [vert.x-eventloop-thread-14] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.698 [vert.x-eventloop-thread-12] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.698 [vert.x-eventloop-thread-1] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.698 [vert.x-eventloop-thread-6] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.699 [vert.x-eventloop-thread-8] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.699 [vert.x-eventloop-thread-11] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.699 [vert.x-eventloop-thread-7] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.699 [vert.x-eventloop-thread-2] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.699 [vert.x-eventloop-thread-3] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.700 [vert.x-eventloop-thread-0] [] INFO i.g.a.gateway.vertx.GraviteeVerticle - HTTP Server is now listening for requests on port 8092, 19:57:33.706 [vert.x-eventloop-thread-0] [] INFO i.g.n.m.h.v.e.ManagementEndpointManagerImpl - Register a new endpoint for Management API: GET / [io.gravitee.node.management.http.node.NodeEndpoint], 19:57:33.707 [vert.x-eventloop-thread-0] [] INFO i.g.n.m.h.v.e.ManagementEndpointManagerImpl - Register a new endpoint for Management API: GET /configuration [io.gravitee.node.management.http.configuration.ConfigurationEndpoint], 19:57:33.707 [vert.x-eventloop-thread-0] [] INFO i.g.n.m.h.v.v.ManagementVerticle - HTTP listener for Node Management bind to port TCP:18092, 19:57:35.220 [sync-1] [] INFO i.g.a.g.r.i.DefaultSecurityDomainManager - Deployment of multitrace, 19:57:35.221 [sync-1] [] INFO i.g.a.g.r.i.DefaultSecurityDomainHandlerRegistry - Register a new domain for multitrace on path multitrace, 19:57:36.797 [sync-1] [] INFO i.g.a.g.h.c.c.i.CertificateManagerImpl - Initializing default certificate provider for domain Multitrace, 19:57:36.838 [sync-1] [] INFO i.g.a.g.h.c.c.i.CertificateManagerImpl - Initializing none algorithm certificate provider for domain Multitrace, 19:57:36.840 [sync-1] [] INFO i.g.a.g.h.c.a.i.i.IdentityProviderManagerImpl - Initializing identity providers for domain Multitrace, 19:57:36.850 [sync-1] [] INFO i.g.a.g.h.c.a.i.i.IdentityProviderManagerImpl - Identity providers loaded for domain Multitrace, 19:57:36.877 [sync-1] [] INFO i.g.a.g.h.c.p.impl.PolicyManagerImpl - Initializing policies for domain Multitrace, 19:57:36.903 [Thread-13] [] INFO i.g.a.g.h.c.p.impl.PolicyManagerImpl - Policies loaded for domain Multitrace, 19:57:36.925 [sync-1] [] INFO i.g.a.g.h.c.a.i.AuditReporterManagerImpl - Initializing reporters for domain Multitrace, 19:57:36.925 [sync-1] [] INFO i.g.a.g.h.c.a.i.AuditReporterManagerImpl - Starting reporter verticle for domain Multitrace, 19:57:36.951 [vert.x-eventloop-thread-8] [] INFO i.g.a.g.h.c.a.i.AuditReporterManagerImpl - Initializing reporter: MongoDB Reporter [mongodb], 19:57:37.202 [sync-1] [] INFO i.g.a.g.h.e.impl.EmailManagerImpl - Initializing emails for domain Multitrace, 19:57:37.221 [Thread-6] [] INFO i.g.a.g.h.e.impl.EmailManagerImpl - Emails loaded for domain Multitrace, 19:57:37.286 [sync-1] [] INFO i.g.a.g.h.f.impl.FactorManagerImpl - Initializing factors for domain Multitrace, 19:57:37.300 [Thread-8] [] INFO i.g.a.g.h.f.impl.FactorManagerImpl - Factors loaded for domain Multitrace, 19:57:37.317 [sync-1] [] INFO i.g.a.g.h.form.impl.FormManagerImpl - Initializing forms for domain Multitrace, 19:57:37.331 [Thread-13] [] INFO i.g.a.g.h.form.impl.FormManagerImpl - Forms loaded for domain Multitrace, 19:57:37.356 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.common.auth.idp.impl.IdentityProviderManagerImpl, 19:57:37.356 [sync-1] [] INFO i.g.a.g.h.c.a.i.i.IdentityProviderManagerImpl - Register event listener for identity provider events for domain Multitrace, 19:57:37.356 [sync-1] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener IdentityProviderManagerImpl for event type class io.gravitee.am.common.event.IdentityProviderEvent, 19:57:37.356 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.form.impl.FormManagerImpl, 19:57:37.356 [sync-1] [] INFO i.g.a.g.h.form.impl.FormManagerImpl - Register event listener for form events for domain Multitrace, 19:57:37.357 [sync-1] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener FormManagerImpl for event type class io.gravitee.am.common.event.FormEvent, 19:57:37.357 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.email.impl.EmailManagerImpl, 19:57:37.357 [sync-1] [] INFO i.g.a.g.h.e.impl.EmailManagerImpl - Register event listener for email events for domain Multitrace, 19:57:37.357 [sync-1] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener EmailManagerImpl for event type class io.gravitee.am.common.event.EmailEvent, 19:57:37.357 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.common.audit.impl.AuditReporterManagerImpl, 19:57:37.357 [sync-1] [] INFO i.g.a.g.h.c.a.i.AuditReporterManagerImpl - Register event listener for reporter events for domain Multitrace, 19:57:37.359 [sync-1] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener AuditReporterManagerImpl for event type class io.gravitee.am.common.event.ReporterEvent, 19:57:37.359 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.common.policy.impl.PolicyManagerImpl, 19:57:37.359 [sync-1] [] INFO i.g.a.g.h.c.p.impl.PolicyManagerImpl - Register event listener for policy events for domain Multitrace, 19:57:37.359 [sync-1] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener PolicyManagerImpl for event type class io.gravitee.am.common.event.PolicyEvent, 19:57:37.359 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.common.auth.listener.AuthenticationEventListener, 19:57:37.359 [sync-1] [] INFO i.g.a.g.h.c.a.l.AuthenticationEventListener - Register event listener for authentication events for domain Multitrace, 19:57:37.360 [sync-1] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener AuthenticationEventListener for event type class io.gravitee.am.gateway.handler.common.auth.event.AuthenticationEvent, 19:57:37.360 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.common.user.impl.UserManagerImpl, 19:57:37.360 [sync-1] [] INFO i.g.a.g.h.c.u.impl.UserManagerImpl - Register event listener for user events for domain Multitrace, 19:57:37.360 [sync-1] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener UserManagerImpl for event type class io.gravitee.am.common.event.UserEvent, 19:57:37.360 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.factor.impl.FactorManagerImpl, 19:57:37.360 [sync-1] [] INFO i.g.a.g.h.f.impl.FactorManagerImpl - Register event listener for factor events for domain Multitrace, 19:57:37.361 [sync-1] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener FactorManagerImpl for event type class io.gravitee.am.common.event.FactorEvent, 19:57:37.361 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.vertx.VertxSecurityDomainHandler, 19:57:37.361 [sync-1] [] INFO i.g.a.g.h.v.VertxSecurityDomainHandler - Start security domain root protocol, 19:57:37.361 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.root.RootProvider, 19:57:37.388 [vert.x-eventloop-thread-8] [] INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[mongodb:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='5000 ms', maxWaitQueueSize=500}, 19:57:37.429 [sync-1] [] INFO i.g.a.g.h.v.VertxSecurityDomainHandler - Protocol root loaded, 19:57:37.429 [sync-1] [] INFO i.g.a.g.h.v.VertxSecurityDomainHandler - Start security domain protocols, 19:57:37.490 [vert.x-eventloop-thread-8] [] INFO i.g.a.g.h.c.a.i.AuditReporterManagerImpl - Starting reporter: MongoDB Reporter, 19:57:37.507 [vert.x-eventloop-thread-8] [] INFO i.g.a.g.h.c.a.i.AuditReporterManagerImpl - Reporters loaded for domain Multitrace, 19:57:37.509 [vert.x-worker-thread-0] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.reporter.mongodb.audit.MongoAuditReporter, 19:57:37.599 [sync-1] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Initializing scopes for domain Multitrace, 19:57:37.606 [cluster-ClusterId{value='5ec6dd31a966b6547b644cb4', description='null'}-mongodb:27017] [] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:15}] to mongodb:27017, 19:57:37.613 [sync-1] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Register event listener for scopes events for domain Multitrace, 19:57:37.613 [sync-1] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener ScopeManagerImpl for event type class io.gravitee.am.common.event.ScopeEvent, 19:57:37.634 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope consent_admin loaded for domain Multitrace, 19:57:37.634 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope address loaded for domain Multitrace, 19:57:37.634 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope profile loaded for domain Multitrace, 19:57:37.634 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope roles loaded for domain Multitrace, 19:57:37.635 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope scim loaded for domain Multitrace, 19:57:37.635 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope openid loaded for domain Multitrace, 19:57:37.635 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope admin loaded for domain Multitrace, 19:57:37.635 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope offline_access loaded for domain Multitrace, 19:57:37.635 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope groups loaded for domain Multitrace, 19:57:37.635 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope uregionale loaded for domain Multitrace, 19:57:37.635 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope uesterno loaded for domain Multitrace, 19:57:37.635 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope dcr loaded for domain Multitrace, 19:57:37.635 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope phone loaded for domain Multitrace, 19:57:37.635 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope email loaded for domain Multitrace, 19:57:37.635 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope ucentrale loaded for domain Multitrace, 19:57:37.635 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scope dcr_admin loaded for domain Multitrace, 19:57:37.635 [Thread-13] [] INFO i.g.a.g.h.o.s.s.i.ScopeManagerImpl - Scopes loaded for domain Multitrace, 19:57:37.654 [cluster-ClusterId{value='5ec6dd31a966b6547b644cb4', description='null'}-mongodb:27017] [] INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=mongodb:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 4, 24]}, minWireVersion=0, maxWireVersion=5, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=null, roundTripTimeNanos=41541333}, 19:57:37.656 [sync-1] [] INFO i.g.a.g.h.o.s.g.e.i.ExtensionGrantManagerImpl - Initializing extension grants for domain Multitrace, 19:57:37.665 [sync-1] [] INFO i.g.a.g.h.o.s.g.e.i.ExtensionGrantManagerImpl - Register event listener for extension grant events for domain Multitrace, 19:57:37.666 [sync-1] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener ExtensionGrantManagerImpl for event type class io.gravitee.am.common.event.ExtensionGrantEvent, 19:57:37.668 [Thread-16] [] INFO i.g.a.g.h.o.s.g.e.i.ExtensionGrantManagerImpl - Extension grants loaded for domain Multitrace, 19:57:37.749 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.oidc.OIDCProvider, 19:57:37.749 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.oauth2.OAuth2Provider, 19:57:37.749 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.oauth2.service.token.impl.TokenManagerImpl, 19:57:37.849 [sync-1] [] INFO i.g.a.g.h.v.VertxSecurityDomainHandler - Protocol openid-connect loaded, 19:57:37.893 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.scim.SCIMProvider, 19:57:37.946 [sync-1] [] INFO i.g.a.g.h.v.VertxSecurityDomainHandler - Protocol scim loaded, 19:57:37.968 [sync-1] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.gateway.handler.users.UsersProvider, 19:57:37.976 [sync-1] [] INFO i.g.a.g.h.v.VertxSecurityDomainHandler - Protocol users loaded, 19:57:38.051 [sync-1] [] INFO i.g.a.g.c.DefaultCertificateManager - Certificate Default for domain apim loaded, 19:57:38.060 [sync-1] [] INFO i.g.a.g.c.DefaultCertificateManager - Certificate Multitrace for domain multitrace loaded,

Management

=========================================================================, , Gravitee.io - Access Management - Management API, , GRAVITEE_HOME: /opt/graviteeio-am-management-api, , GRAVITEE_OPTS: , , JAVA: /opt/java/openjdk/bin/java, , JAVA_OPTS: -Djava.net.preferIPv4Stack=true -Xms1024m -Xmx1024m -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -XX:+DisableExplicitGC -Dfile.encoding=UTF-8, , CLASSPATH: /opt/graviteeio-am-management-api/lib/gravitee-am-management-api-standalone-bootstrap-3.0.1.jar, , =========================================================================, , 19:57:30.459 [graviteeio-node] [] INFO i.g.n.c.s.e.PropertiesConfiguration - Loading Gravitee configuration., 19:57:30.470 [graviteeio-node] [] INFO i.g.n.c.s.e.PropertiesConfiguration - Gravitee configuration loaded from /opt/graviteeio-am-management-api/config/gravitee.yml, 19:57:30.653 [graviteeio-node] [] INFO i.g.n.c.s.e.PropertiesConfiguration - Loading Gravitee configuration. DONE, 19:57:30.680 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - Loading plugin handlers, 19:57:30.691 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - Find 10 plugin handler(s):, 19:57:30.694 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.am.plugins.factor.plugin.FactorPluginHandler, 19:57:30.696 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.am.plugins.idp.plugin.IdentityProviderPluginHandler, 19:57:30.697 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.am.plugins.reporter.plugin.ReporterPluginHandler, 19:57:30.700 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.plugin.policy.internal.PolicyPluginHandler, 19:57:30.702 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.node.plugins.service.handler.ServicePluginHandler, 19:57:30.703 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.am.plugins.certificate.plugin.CertificatePluginHandler, 19:57:30.704 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.am.plugins.extensiongrant.plugin.ExtensionGrantPluginHandler, 19:57:30.707 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.plugin.repository.internal.RepositoryPluginHandler, 19:57:30.709 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.node.reporter.plugin.ReporterPluginHandler, 19:57:30.711 [graviteeio-node] [] INFO i.g.p.c.s.PluginHandlerBeanFactoryPostProcessor - io.gravitee.plugin.alert.internal.AlertPluginHandler, 19:57:31.832 [graviteeio-node] [] INFO i.g.n.c.NodeDeployerFactoriesLoader - Loading instances for type io.gravitee.node.api.NodeDeployer, 19:57:32.836 [graviteeio-node] [] INFO i.g.p.r.i.RepositoryPluginHandler - Loading repository for scope MANAGEMENT: mongodb, 19:57:32.837 [graviteeio-node] [] INFO i.g.p.r.i.RepositoryPluginHandler - Loading repository for scope OAUTH2: mongodb, 19:57:32.911 [graviteeio-node] [] INFO org.eclipse.jetty.util.log - Logging initialized @4991ms to org.eclipse.jetty.util.log.Slf4jLog, 19:57:33.115 [graviteeio-node] [] INFO i.g.node.container.AbstractContainer - Starting Gravitee.io - AM Management API..., 19:57:33.116 [graviteeio-node] [] INFO i.g.a.m.s.node.ManagementNode - Gravitee.io - AM Management API is now starting..., 19:57:33.116 [graviteeio-node] [] INFO i.g.a.m.s.node.ManagementNode - Starting component: PluginEventListener, 19:57:33.116 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.plugin.core.internal.PluginEventListener, 19:57:33.117 [graviteeio-node] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener PluginEventListener for event type class io.gravitee.plugin.core.api.PluginEvent, 19:57:33.118 [graviteeio-node] [] INFO i.g.a.m.s.node.ManagementNode - Starting component: PluginRegistry, 19:57:33.119 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.plugin.core.internal.PluginRegistryImpl, 19:57:33.119 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Initializing plugin registry., 19:57:33.119 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugins from /opt/graviteeio-am-management-api/plugins, 19:57:33.121 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-am-reporter-mongodb-3.0.1.zip, 19:57:33.195 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-am-reporter-mongodb-3.0.1/gravitee-am-reporter-mongodb-3.0.1.jar, 19:57:33.208 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-am-management-api-services-sync-3.0.1.zip, 19:57:33.212 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-am-management-api-services-sync-3.0.1/gravitee-am-management-api-services-sync-3.0.1.jar, 19:57:33.213 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-am-identityprovider-mongo-3.0.1.zip, 19:57:33.269 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-am-identityprovider-mongo-3.0.1/gravitee-am-identityprovider-mongo-3.0.1.jar, 19:57:33.271 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-am-identityprovider-inline-3.0.1.zip, 19:57:33.275 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-am-identityprovider-inline-3.0.1/gravitee-am-identityprovider-inline-3.0.1.jar, 19:57:33.276 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-am-identityprovider-ldap-3.0.1.zip, 19:57:33.336 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-am-identityprovider-ldap-3.0.1/gravitee-am-identityprovider-ldap-3.0.1.jar, 19:57:33.338 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-am-extensiongrant-jwtbearer-3.0.1.zip, 19:57:33.341 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-am-extensiongrant-jwtbearer-3.0.1/gravitee-am-extensiongrant-jwtbearer-3.0.1.jar, 19:57:33.341 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-policy-callout-http-1.8.0.zip, 19:57:33.344 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-policy-callout-http-1.8.0/gravitee-policy-callout-http-1.8.0.jar, 19:57:33.345 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-am-certificate-pkcs12-3.0.1.zip, 19:57:33.354 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-am-certificate-pkcs12-3.0.1/gravitee-am-certificate-pkcs12-3.0.1.jar, 19:57:33.354 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-am-factor-otp-3.0.1.zip, 19:57:33.372 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-am-factor-otp-3.0.1/gravitee-am-factor-otp-3.0.1.jar, 19:57:33.373 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-node-services-healthcheck-1.7.0.zip, 19:57:33.375 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-node-services-healthcheck-1.7.0/gravitee-node-services-healthcheck-1.7.0.jar, 19:57:33.376 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-am-identityprovider-oauth2-generic-3.0.1.zip, 19:57:33.385 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-am-identityprovider-oauth2-generic-3.0.1/gravitee-am-identityprovider-oauth2-generic-3.0.1.jar, 19:57:33.386 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-policy-ipfiltering-1.3.0.zip, 19:57:33.391 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-policy-ipfiltering-1.3.0/gravitee-policy-ipfiltering-1.3.0.jar, 19:57:33.392 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-policy-request-validation-1.7.1.zip, 19:57:33.398 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-policy-request-validation-1.7.1/gravitee-policy-request-validation-1.7.1.jar, 19:57:33.399 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-am-identityprovider-github-3.0.1.zip, 19:57:33.401 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-am-identityprovider-github-3.0.1/gravitee-am-identityprovider-github-3.0.1.jar, 19:57:33.402 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-am-repository-mongodb-3.0.1.zip, 19:57:33.411 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-am-repository-mongodb-3.0.1/gravitee-am-repository-mongodb-3.0.1.jar, 19:57:33.412 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-node-services-monitoring-1.7.0.zip, 19:57:33.414 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-node-services-monitoring-1.7.0/gravitee-node-services-monitoring-1.7.0.jar, 19:57:33.415 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-policy-groovy-1.9.2.zip, 19:57:33.464 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-policy-groovy-1.9.2/gravitee-policy-groovy-1.9.2.jar, 19:57:33.464 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Loading plugin from /opt/graviteeio-am-management-api/plugins/gravitee-am-certificate-javakeystore-3.0.1.zip, 19:57:33.474 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - A plugin manifest has been loaded from: /opt/graviteeio-am-management-api/plugins/.work/gravitee-am-certificate-javakeystore-3.0.1/gravitee-am-certificate-javakeystore-3.0.1.jar, 19:57:33.475 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available policy: , 19:57:33.476 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > policy-http-callout [1.8.0] has been loaded, 19:57:33.476 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > ip-filtering [1.3.0] has been loaded, 19:57:33.476 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > policy-request-validation [1.7.1] has been loaded, 19:57:33.476 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > groovy [1.9.2] has been loaded, 19:57:33.476 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available reporter: , 19:57:33.477 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > mongodb [3.0.1] has been loaded, 19:57:33.477 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available service: , 19:57:33.477 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > sync-service [3.0.1] has been loaded, 19:57:33.477 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > node-healthcheck [1.7.0] has been loaded, 19:57:33.477 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > node-monitoring [1.7.0] has been loaded, 19:57:33.477 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available repository: , 19:57:33.477 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > repository-am-mongodb [3.0.1] has been loaded, 19:57:33.477 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available identity_provider: , 19:57:33.477 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > mongo-am-idp [3.0.1] has been loaded, 19:57:33.477 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > inline-am-idp [3.0.1] has been loaded, 19:57:33.477 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > ldap-am-idp [3.0.1] has been loaded, 19:57:33.477 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > oauth2-generic-am-idp [3.0.1] has been loaded, 19:57:33.477 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > github-am-idp [3.0.1] has been loaded, 19:57:33.478 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available resource: , 19:57:33.478 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available fetcher: , 19:57:33.478 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available certificate: , 19:57:33.478 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > pkcs12-am-certificate [3.0.1] has been loaded, 19:57:33.478 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > javakeystore-am-certificate [3.0.1] has been loaded, 19:57:33.478 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available extension_grant: , 19:57:33.478 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > jwtbearer-am-extension-grant [3.0.1] has been loaded, 19:57:33.478 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available notifier: , 19:57:33.478 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available alert: , 19:57:33.478 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available service_discovery: , 19:57:33.482 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available protocol: , 19:57:33.482 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available ingester: , 19:57:33.483 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available processor: , 19:57:33.483 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - List of available factor: , 19:57:33.483 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - > otp-am-factor [3.0.1] has been loaded, 19:57:33.483 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - All plugins have been loaded. Installing..., 19:57:33.483 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing REPOSITORY plugins..., 19:57:33.485 [graviteeio-node] [] INFO i.g.p.r.i.RepositoryPluginHandler - Register a new repository: repository-am-mongodb [io.gravitee.am.repository.mongodb.MongoRepositoryProvider], 19:57:33.488 [graviteeio-node] [] INFO i.g.p.r.i.RepositoryPluginHandler - Repository [MANAGEMENT] loaded by mongodb, 19:57:34.168 [graviteeio-node] [] INFO i.g.p.r.i.RepositoryPluginHandler - Repository [OAUTH2] loaded by mongodb, 19:57:34.279 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing IDENTITY_PROVIDER plugins..., 19:57:34.284 [graviteeio-node] [] INFO i.g.a.p.i.p.IdentityProviderPluginHandler - Register a new identity provider plugin: oauth2-generic-am-idp [io.gravitee.am.identityprovider.oauth2.OAuth2GenericIdentityProvider], 19:57:34.286 [graviteeio-node] [] INFO i.g.a.p.i.p.IdentityProviderPluginHandler - Register a new identity provider plugin: github-am-idp [io.gravitee.am.identityprovider.github.GithubIdentityProvider], 19:57:34.291 [graviteeio-node] [] INFO i.g.a.p.i.p.IdentityProviderPluginHandler - Register a new identity provider plugin: ldap-am-idp [io.gravitee.am.identityprovider.ldap.LdapIdentityProvider], 19:57:34.293 [graviteeio-node] [] INFO i.g.a.p.i.p.IdentityProviderPluginHandler - Register a new identity provider plugin: inline-am-idp [io.gravitee.am.identityprovider.inline.InlineIdentityProvider], 19:57:34.297 [graviteeio-node] [] INFO i.g.a.p.i.p.IdentityProviderPluginHandler - Register a new identity provider plugin: mongo-am-idp [io.gravitee.am.identityprovider.mongo.MongoIdentityProvider], 19:57:34.297 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing RESOURCE plugins..., 19:57:34.298 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing POLICY plugins..., 19:57:34.298 [graviteeio-node] [] INFO i.g.p.p.internal.PolicyPluginHandler - Install plugin: ip-filtering [io.gravitee.policy.ipfiltering.IPFilteringPolicy], 19:57:34.446 [graviteeio-node] [] INFO i.g.p.p.internal.PolicyPluginHandler - Install plugin: groovy [io.gravitee.policy.groovy.GroovyPolicy], 19:57:34.461 [graviteeio-node] [] INFO i.g.p.p.internal.PolicyPluginHandler - Install plugin: policy-request-validation [io.gravitee.policy.requestvalidation.RequestValidationPolicy], 19:57:34.473 [graviteeio-node] [] INFO i.g.p.p.internal.PolicyPluginHandler - Install plugin: policy-http-callout [io.gravitee.policy.callout.CalloutHttpPolicy], 19:57:34.481 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing SERVICE plugins..., 19:57:34.481 [graviteeio-node] [] INFO i.g.n.p.s.h.ServicePluginHandler - Install plugin: sync-service [io.gravitee.am.management.services.sync.ScheduledSyncService], 19:57:34.534 [graviteeio-node] [] INFO i.g.n.p.s.h.ServicePluginHandler - Install plugin: node-healthcheck [io.gravitee.node.service.healthcheck.NodeHealthcheckService], 19:57:34.567 [graviteeio-node] [] INFO i.g.n.p.s.h.ServicePluginHandler - Install plugin: node-monitoring [io.gravitee.node.service.monitoring.MonitoringService], 19:57:34.606 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing REPORTER plugins..., 19:57:34.611 [graviteeio-node] [] INFO i.g.a.p.r.p.ReporterPluginHandler - Register a new reporter plugin: mongodb [io.gravitee.am.reporter.mongodb.MongoReporter], 19:57:34.612 [graviteeio-node] [] INFO i.g.n.r.plugin.ReporterPluginHandler - Installation skipped for: mongodb [io.gravitee.am.reporter.mongodb.MongoReporter], 19:57:34.612 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing FETCHER plugins..., 19:57:34.612 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing CERTIFICATE plugins..., 19:57:34.616 [graviteeio-node] [] INFO i.g.a.p.c.p.CertificatePluginHandler - Register a new certificate plugin: javakeystore-am-certificate [io.gravitee.am.certificate.javakeystore.JavaKeyStore], 19:57:34.619 [graviteeio-node] [] INFO i.g.a.p.c.p.CertificatePluginHandler - Register a new certificate plugin: pkcs12-am-certificate [io.gravitee.am.certificate.pkcs12.PKCS12Certificate], 19:57:34.620 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing EXTENSION_GRANT plugins..., 19:57:34.622 [graviteeio-node] [] INFO i.g.a.p.e.p.ExtensionGrantPluginHandler - Register a new extension grant plugin: jwtbearer-am-extension-grant [io.gravitee.am.extensiongrant.jwtbearer.JWTBearerExtensionGrant], 19:57:34.622 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing NOTIFIER plugins..., 19:57:34.623 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing ALERT plugins..., 19:57:34.623 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing SERVICE_DISCOVERY plugins..., 19:57:34.623 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing PROTOCOL plugins..., 19:57:34.623 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing INGESTER plugins..., 19:57:34.624 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing PROCESSOR plugins..., 19:57:34.624 [graviteeio-node] [] INFO i.g.p.c.internal.PluginEventListener - Installing FACTOR plugins..., 19:57:34.627 [graviteeio-node] [] INFO i.g.a.p.f.plugin.FactorPluginHandler - Register a new factor plugin: otp-am-factor [io.gravitee.am.factor.otp.OTPFactor], 19:57:34.628 [graviteeio-node] [] INFO i.g.p.c.internal.PluginRegistryImpl - Plugins have been loaded and installed., 19:57:34.628 [graviteeio-node] [] INFO i.g.a.m.s.node.ManagementNode - Starting component: ServiceManager, 19:57:34.629 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service Plugins - Services Manager, 19:57:34.629 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service Sync Service, 19:57:34.629 [graviteeio-node] [] INFO i.g.a.m.s.sync.ScheduledSyncService - Sync service has been initialized with cron [/5 ], 19:57:34.637 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service Node Health-check service, 19:57:34.638 [graviteeio-node] [] INFO i.g.n.m.h.v.e.ManagementEndpointManagerImpl - Register a new endpoint for Management API: GET /health [io.gravitee.node.service.healthcheck.management.HealthcheckManagementEndpoint], 19:57:34.644 [graviteeio-node] [] INFO i.g.n.s.healthcheck.ProbesLoader - Loading instances for type io.gravitee.node.api.healthcheck.Probe, 19:57:34.658 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service Monitoring Service, 19:57:34.665 [graviteeio-node] [] INFO i.g.n.s.monitoring.MonitoringService - Node monitoring scheduled with fixed delay 5000 MILLISECONDS , 19:57:34.666 [graviteeio-node] [] INFO i.g.n.m.h.v.e.ManagementEndpointManagerImpl - Register a new endpoint for Management API: GET /monitor [io.gravitee.node.service.monitoring.management.MonitorManagementEndpoint], 19:57:34.667 [graviteeio-node] [] INFO i.g.a.m.s.node.ManagementNode - Starting component: ManagementService, 19:57:34.668 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service Node Management API service, 19:57:34.686 [graviteeio-node] [] INFO i.g.a.m.s.node.ManagementNode - Starting component: ReporterManager, 19:57:34.686 [vert.x-eventloop-thread-4] [] INFO i.g.n.m.h.v.v.ManagementVerticle - Start HTTP listener for Node Management API, 19:57:34.690 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service Reporter service, 19:57:34.694 [graviteeio-node] [] INFO i.g.a.m.s.node.ManagementNode - Starting component: JettyHttpServer, 19:57:34.710 [vert.x-eventloop-thread-6] [] INFO i.g.n.r.vertx.ReporterManagerImpl - There is no reporter to start, 19:57:34.853 [graviteeio-node] [] INFO org.eclipse.jetty.server.Server - jetty-9.4.28.v20200408; built: 2020-04-08T17:49:39.557Z; git: ab228fde9e55e9164c738d7fa121f8ac5acd51c9; jvm 11.0.7+10, 19:57:34.888 [graviteeio-node] [] INFO o.e.jetty.server.RequestLogWriter - Opened /opt/graviteeio-am-management-api/logs/gravitee_accesslog_2020_05_21.log, 19:57:34.914 [graviteeio-node] [] INFO org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node0, 19:57:34.915 [graviteeio-node] [] INFO org.eclipse.jetty.server.session - No SessionScavenger set, using defaults, 19:57:34.918 [graviteeio-node] [] INFO org.eclipse.jetty.server.session - node0 Scavenging every 660000ms, 19:57:34.929 [graviteeio-node] [] INFO o.e.j.s.h.ContextHandler.management - Initializing Spring root WebApplicationContext, 19:57:34.940 [vert.x-eventloop-thread-4] [] INFO i.g.n.m.h.v.e.ManagementEndpointManagerImpl - Register a new endpoint for Management API: GET / [io.gravitee.node.management.http.node.NodeEndpoint], 19:57:34.940 [vert.x-eventloop-thread-4] [] INFO i.g.n.m.h.v.e.ManagementEndpointManagerImpl - Register a new endpoint for Management API: GET /configuration [io.gravitee.node.management.http.configuration.ConfigurationEndpoint], 19:57:34.941 [vert.x-eventloop-thread-4] [] INFO i.g.n.m.h.v.v.ManagementVerticle - HTTP listener for Node Management bind to port TCP:18093, 19:57:35.322 [graviteeio-node] [] INFO i.g.a.m.h.m.a.a.m.i.i.IdentityProviderManagerImpl - Register event listener for identity provider events for organization DEFAULT, 19:57:35.323 [graviteeio-node] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener IdentityProviderManagerImpl for event type class io.gravitee.am.common.event.IdentityProviderEvent, 19:57:35.324 [graviteeio-node] [] INFO i.g.a.m.h.m.a.a.m.i.i.IdentityProviderManagerImpl - Initializing identity providers for default organization, 19:57:35.436 [graviteeio-node] [] INFO i.g.a.m.h.m.a.a.m.i.i.IdentityProviderManagerImpl - Identity providers loaded for organization DEFAULT, 19:57:35.465 [graviteeio-node] [] WARN i.g.a.m.h.m.a.a.p.jwt.JWTGenerator - , 19:57:35.465 [graviteeio-node] [] WARN i.g.a.m.h.m.a.a.p.jwt.JWTGenerator - ##############################################################, 19:57:35.465 [graviteeio-node] [] WARN i.g.a.m.h.m.a.a.p.jwt.JWTGenerator - # SECURITY WARNING #, 19:57:35.465 [graviteeio-node] [] WARN i.g.a.m.h.m.a.a.p.jwt.JWTGenerator - ##############################################################, 19:57:35.465 [graviteeio-node] [] WARN i.g.a.m.h.m.a.a.p.jwt.JWTGenerator - , 19:57:35.465 [graviteeio-node] [] WARN i.g.a.m.h.m.a.a.p.jwt.JWTGenerator - You still use the default jwt secret., 19:57:35.466 [graviteeio-node] [] WARN i.g.a.m.h.m.a.a.p.jwt.JWTGenerator - This known secret can be used to impersonate anyone., 19:57:35.466 [graviteeio-node] [] WARN i.g.a.m.h.m.a.a.p.jwt.JWTGenerator - Please change this value, or ask your administrator to do it !, 19:57:35.466 [graviteeio-node] [] WARN i.g.a.m.h.m.a.a.p.jwt.JWTGenerator - , 19:57:35.466 [graviteeio-node] [] WARN i.g.a.m.h.m.a.a.p.jwt.JWTGenerator - ##############################################################, 19:57:35.466 [graviteeio-node] [] WARN i.g.a.m.h.m.a.a.p.jwt.JWTGenerator - , 19:57:36.644 [graviteeio-node] [] INFO o.s.s.web.DefaultSecurityFilterChain - Creating filter chain: Ant [pattern='/swagger.json'], [], 19:57:36.689 [graviteeio-node] [] INFO o.s.s.web.DefaultSecurityFilterChain - Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/auth/authorize'], Ant [pattern='/auth/login'], Ant [pattern='/auth/login/callback'], Ant [pattern='/auth/logout'], Ant [pattern='/auth/completeProfile'], Ant [pattern='/auth/assets/']]], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3321fb65, org.springframework.security.web.context.SecurityContextPersistenceFilter@75e92bb7, org.springframework.security.web.header.HeaderWriterFilter@18d396eb, org.springframework.web.filter.CorsFilter@7272914b, org.springframework.security.web.csrf.CsrfFilter@5cf1bbd3, io.gravitee.am.management.handlers.management.api.authentication.filter.CsrfIncludeFilter@663f24e6, org.springframework.security.web.authentication.logout.LogoutFilter@3355d9ba, io.gravitee.am.management.handlers.management.api.authentication.filter.RecaptchaFilter@7e532f2d, io.gravitee.am.management.handlers.management.api.authentication.filter.SocialAuthenticationFilter@42150951, io.gravitee.am.management.handlers.management.api.authentication.filter.CheckAuthenticationCookieFilter@248b2091, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@85f5f55, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7bfc36d5, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@4a3383dc, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3b0c38f2, org.springframework.security.web.session.SessionManagementFilter@1859b996, org.springframework.security.web.access.ExceptionTranslationFilter@25a2c4dc, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@510e6b93], 19:57:36.697 [graviteeio-node] [] INFO o.s.s.web.DefaultSecurityFilterChain - Creating filter chain: Ant [pattern='/auth/token'], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@ab94a32, org.springframework.security.web.context.SecurityContextPersistenceFilter@712e4b18, org.springframework.security.web.header.HeaderWriterFilter@278150a1, org.springframework.security.web.authentication.logout.LogoutFilter@408d12fc, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@52849956, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@af96ac9, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@27d0376f, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@70273633, org.springframework.security.web.session.SessionManagementFilter@3e170abe, org.springframework.security.web.access.ExceptionTranslationFilter@62732be7, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@ea45a5b], 19:57:36.699 [graviteeio-node] [] INFO o.s.s.web.DefaultSecurityFilterChain - Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/organizations/'], Ant [pattern='/user'], Ant [pattern='/platform/**']]], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1756a471, org.springframework.security.web.context.SecurityContextPersistenceFilter@658098a2, org.springframework.security.web.header.HeaderWriterFilter@55821edf, org.springframework.web.filter.CorsFilter@2190508d, org.springframework.security.web.csrf.CsrfFilter@602b7944, io.gravitee.am.management.handlers.management.api.authentication.filter.CsrfIncludeFilter@70b630d, org.springframework.security.web.authentication.logout.LogoutFilter@7bf94e91, io.gravitee.am.management.handlers.management.api.authentication.filter.JWTAuthenticationFilter@72e1e587, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@50628080, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@155318b5, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5036a286, org.springframework.security.web.session.SessionManagementFilter@5e5a2b74, org.springframework.security.web.access.ExceptionTranslationFilter@5f8d4b51, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@755009f2], 19:57:36.712 [graviteeio-node] [] INFO i.g.a.m.h.m.a.m.c.CertificateManager - Initializing certificate providers, 19:57:36.726 [graviteeio-node] [] INFO i.g.a.m.h.m.a.m.c.CertificateManager - Initializing certificate: Default [javakeystore-am-certificate], 19:57:36.861 [graviteeio-node] [] INFO i.g.a.m.h.m.a.m.c.CertificateManager - Initializing certificate: Multitrace [javakeystore-am-certificate], 19:57:36.871 [graviteeio-node] [] INFO i.g.a.m.h.m.a.m.i.i.UserProviderManagerImpl - Initializing user providers, 19:57:37.190 [graviteeio-node] [] INFO i.g.a.m.s.i.IdentityProviderManagerImpl - Initializing user provider : default-idp-admin, 19:57:37.190 [graviteeio-node] [] INFO i.g.a.p.i.c.i.IdentityProviderPluginManagerImpl - No user provider is registered for type inline-am-idp, 19:57:37.226 [graviteeio-node] [] INFO i.g.a.m.s.i.IdentityProviderManagerImpl - Initializing user provider : default-idp-multitrace, 19:57:37.263 [graviteeio-node] [] INFO i.g.a.m.s.i.IdentityProviderManagerImpl - Initializing user provider : default-idp-apim, 19:57:37.271 [graviteeio-node] [] INFO i.g.a.m.h.m.a.m.e.i.EmailManagerImpl - Initializing emails, 19:57:37.301 [graviteeio-node] [] INFO i.g.a.m.h.m.a.m.g.i.GroupManagerImpl - Register event listener for group events for the management API, 19:57:37.302 [graviteeio-node] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener GroupManagerImpl for event type class io.gravitee.am.common.event.GroupEvent, 19:57:37.302 [graviteeio-node] [] INFO i.g.a.m.h.m.a.m.g.i.GroupManagerImpl - Initializing management groups, 19:57:37.323 [graviteeio-node] [] INFO i.g.a.m.h.m.a.a.m.f.i.FormManagerImpl - Register event listener for form events for organization DEFAULT, 19:57:37.324 [graviteeio-node] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener FormManagerImpl for event type class io.gravitee.am.common.event.FormEvent, 19:57:37.324 [graviteeio-node] [] INFO i.g.a.m.h.m.a.a.m.f.i.FormManagerImpl - Initializing forms for organization DEFAULT, 19:57:37.339 [Thread-26] [] INFO i.g.a.m.h.m.a.a.m.f.i.FormManagerImpl - Forms loaded for organization DEFAULT, 19:57:37.385 [graviteeio-node] [] INFO o.e.j.s.h.ContextHandler.management - Initializing Spring DispatcherServlet 'org.springframework.web.servlet.DispatcherServlet-760a2b6e', 19:57:39.327 [graviteeio-node] [] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@13e12ab6{/management,null,AVAILABLE}, 19:57:39.339 [graviteeio-node] [] INFO o.e.jetty.server.AbstractConnector - Started ServerConnector@3e28d779{HTTP/1.1, (http/1.1)}{0.0.0.0:8093}, 19:57:39.339 [graviteeio-node] [] INFO org.eclipse.jetty.server.Server - Started @11419ms, 19:57:39.339 [graviteeio-node] [] INFO i.g.node.jetty.JettyHttpServer - HTTP Server is now started and listening on port 8093, 19:57:39.339 [graviteeio-node] [] INFO i.g.a.m.s.node.ManagementNode - Starting component: PluginEventListener, 19:57:39.340 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.plugin.core.internal.PluginEventListener, 19:57:39.340 [graviteeio-node] [] INFO i.g.c.event.impl.EventManagerImpl - Register new listener PluginEventListener for event type class io.gravitee.plugin.core.api.PluginEvent, 19:57:39.340 [graviteeio-node] [] INFO i.g.a.m.s.node.ManagementNode - Starting component: AuditReporterManager, 19:57:39.340 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service AM Management API Reporter service, 19:57:39.512 [graviteeio-node] [] INFO i.g.a.m.s.node.ManagementNode - Starting component: InitializerService, 19:57:39.513 [graviteeio-node] [] INFO i.g.common.service.AbstractService - Initializing service Upgrader service, 19:57:39.514 [graviteeio-node] [] INFO i.g.a.m.s.impl.UpgraderServiceImpl - Running upgrader bean io.gravitee.am.management.service.impl.upgrades.DefaultRoleUpgrader, 19:57:39.514 [graviteeio-node] [] INFO i.g.a.m.s.i.u.DefaultRoleUpgrader - Applying default roles upgrade, 19:57:39.538 [Thread-26] [] INFO i.g.a.m.s.i.AuditReporterManagerImpl - Initializing audit reporter provider : MongoDB Reporter for domain multitrace, 19:57:39.565 [graviteeio-node] [] INFO i.g.a.m.s.i.u.DefaultRoleUpgrader - Default roles upgrade, done., 19:57:39.565 [graviteeio-node] [] INFO i.g.a.m.s.impl.UpgraderServiceImpl - Running upgrader bean io.gravitee.am.management.service.impl.upgrades.DefaultOrganizationUpgrader, 19:57:39.566 [Thread-26] [] INFO i.g.a.m.s.i.AuditReporterManagerImpl - Initializing audit reporter provider : MongoDB Reporter for domain apim, 19:57:39.580 [vert.x-eventloop-thread-8] [] INFO i.g.a.m.s.i.AuditReporterManagerImpl - Starting reporter: io.gravitee.am.service.reporter.vertx.EventBusReporterWrapper@79a568e, 19:57:39.588 [graviteeio-node] [] INFO i.g.a.m.s.i.u.DefaultOrganizationUpgrader - One or more organizations already exist. Check if default organization is up to date, 19:57:39.595 [vert.x-eventloop-thread-8] [] INFO i.g.a.m.s.i.AuditReporterManagerImpl - Starting reporter: io.gravitee.am.service.reporter.vertx.EventBusReporterWrapper@51a40e71, 19:57:39.595 [vert.x-eventloop-thread-8] [] INFO i.g.a.m.s.i.AuditReporterManagerImpl - Starting reporter: io.gravitee.am.service.reporter.vertx.EventBusReporterWrapper@233822f5, 19:57:39.604 [vert.x-worker-thread-0] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.reporter.mongodb.audit.MongoAuditReporter, 19:57:39.619 [graviteeio-node] [] INFO i.g.a.m.s.impl.UpgraderServiceImpl - Running upgrader bean io.gravitee.am.management.service.impl.upgrades.DefaultEnvironmentUpgrader, 19:57:39.623 [graviteeio-node] [] INFO i.g.a.m.s.i.u.DefaultEnvironmentUpgrader - One or more environments already exist. Skip, 19:57:39.624 [graviteeio-node] [] INFO i.g.a.m.s.impl.UpgraderServiceImpl - Running upgrader bean io.gravitee.am.management.service.impl.upgrades.ScopeUpgrader, 19:57:39.624 [graviteeio-node] [] INFO i.g.a.m.s.i.upgrades.ScopeUpgrader - Applying scope upgrade, 19:57:39.638 [graviteeio-node] [] INFO i.g.a.m.s.impl.UpgraderServiceImpl - Running upgrader bean io.gravitee.am.management.service.impl.upgrades.OpenIDScopeUpgrader, 19:57:39.638 [graviteeio-node] [] INFO i.g.a.m.s.i.u.OpenIDScopeUpgrader - Applying OIDC scope upgrade, 19:57:39.641 [graviteeio-node] [] INFO i.g.a.m.s.impl.UpgraderServiceImpl - Running upgrader bean io.gravitee.am.management.service.impl.upgrades.DomainUpgrader, 19:57:39.641 [graviteeio-node] [] INFO i.g.a.m.s.i.upgrades.DomainUpgrader - Applying domain upgrade, 19:57:39.641 [Thread-6] [] INFO i.g.a.m.s.i.upgrades.ScopeUpgrader - Looking for scopes for domain id[multitrace] name[Multitrace], 19:57:39.646 [graviteeio-node] [] INFO i.g.a.m.s.impl.UpgraderServiceImpl - Running upgrader bean io.gravitee.am.management.service.impl.upgrades.DomainIdpUpgrader, 19:57:39.646 [graviteeio-node] [] INFO i.g.a.m.s.i.u.DomainIdpUpgrader - Applying domain idp upgrade, 19:57:39.648 [graviteeio-node] [] INFO i.g.a.m.s.impl.UpgraderServiceImpl - Running upgrader bean io.gravitee.am.management.service.impl.upgrades.DomainReporterUpgrader, 19:57:39.648 [graviteeio-node] [] INFO i.g.a.m.s.i.u.DomainReporterUpgrader - Applying domain reporter upgrade, 19:57:39.651 [graviteeio-node] [] INFO i.g.a.m.s.impl.UpgraderServiceImpl - Running upgrader bean io.gravitee.am.management.service.impl.upgrades.ClientsUpgrader, 19:57:39.651 [graviteeio-node] [] INFO i.g.a.m.s.i.upgrades.ClientsUpgrader - Applying clients upgrade, 19:57:39.659 [graviteeio-node] [] INFO i.g.a.m.s.impl.UpgraderServiceImpl - Running upgrader bean io.gravitee.am.management.service.impl.upgrades.ClientsToApplicationsUpgrader, 19:57:39.659 [graviteeio-node] [] INFO i.g.a.m.s.i.u.ClientsToApplicationsUpgrader - Applying clients to applications upgrade, 19:57:39.661 [vert.x-worker-thread-0] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.reporter.mongodb.audit.MongoAuditReporter, 19:57:39.662 [vert.x-worker-thread-0] [] INFO i.g.common.service.AbstractService - Initializing service io.gravitee.am.reporter.mongodb.audit.MongoAuditReporter, 19:57:39.723 [graviteeio-node] [] INFO i.g.a.m.s.node.ManagementNode - Gravitee.io - AM Management API id[be3abeb4-bec2-44d3-babe-b4bec264d3ee] version[3.0.1] pid[1] build[489#e2f12911bc177a07ed99c354400c786a5ac73607] jvm[AdoptOpenJDK/OpenJDK 64-Bit Server VM/11.0.7+10] started in 6606 ms., 19:57:39.730 [Thread-4] [] INFO i.g.a.m.s.i.u.ClientsToApplicationsUpgrader - Clients collection doesn't exist, skip upgrade, 19:57:39.730 [Thread-4] [] INFO i.g.a.m.s.i.u.ClientsToApplicationsUpgrader - Clients to applications upgrade, done., 19:58:03.224 [gravitee-listener-41] [] WARN org.eclipse.jetty.server.HttpChannel - /management/auth/login, org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException, at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014), at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898), at javax.servlet.http.HttpServlet.service(HttpServlet.java:687), at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883), at javax.servlet.http.HttpServlet.service(HttpServlet.java:790), at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763), at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320), at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126), at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at io.gravitee.am.management.handlers.management.api.authentication.filter.CheckAuthenticationCookieFilter.doFilter(CheckAuthenticationCookieFilter.java:55), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at io.gravitee.am.management.handlers.management.api.authentication.filter.RecaptchaFilter.doFilter(RecaptchaFilter.java:87), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at io.gravitee.am.management.handlers.management.api.authentication.filter.CsrfIncludeFilter.doFilter(CsrfIncludeFilter.java:41), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:92), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92), at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215), at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178), at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358), at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271), at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618), at org.springframework.web.filter.ForwardedHeaderFilter.doFilterInternal(ForwardedHeaderFilter.java:158), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618), at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549), at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233), at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610), at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233), at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1363), at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188), at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489), at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580), at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186), at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1278), at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141), at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127), at org.eclipse.jetty.server.Server.handle(Server.java:500), at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383), at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547), at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375), at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273), at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311), at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103), at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117), at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336), at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313), at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171), at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:135), at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806), at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938), at java.base/java.lang.Thread.run(Unknown Source), Caused by: java.lang.NullPointerException: null, at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source), at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source), at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source), at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source), at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source), at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source), at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source), at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source), at io.gravitee.am.management.handlers.management.api.authentication.controller.LoginController.login(LoginController.java:70), at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method), at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source), at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), at java.base/java.lang.reflect.Method.invoke(Unknown Source), at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190), at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138), at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105), at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879), at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793), at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87), at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040), at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943), at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006), ... 82 common frames omitted, 20:44:56.643 [gravitee-listener-44] [] WARN org.eclipse.jetty.server.HttpChannel - /management/auth/login, org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException, at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014), at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898), at javax.servlet.http.HttpServlet.service(HttpServlet.java:687), at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883), at javax.servlet.http.HttpServlet.service(HttpServlet.java:790), at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763), at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320), at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126), at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at io.gravitee.am.management.handlers.management.api.authentication.filter.CheckAuthenticationCookieFilter.doFilter(CheckAuthenticationCookieFilter.java:55), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at io.gravitee.am.management.handlers.management.api.authentication.filter.RecaptchaFilter.doFilter(RecaptchaFilter.java:87), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at io.gravitee.am.management.handlers.management.api.authentication.filter.CsrfIncludeFilter.doFilter(CsrfIncludeFilter.java:41), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:92), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92), at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334), at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215), at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178), at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358), at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271), at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618), at org.springframework.web.filter.ForwardedHeaderFilter.doFilterInternal(ForwardedHeaderFilter.java:158), at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119), at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618), at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549), at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233), at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610), at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233), at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1363), at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188), at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489), at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580), at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186), at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1278), at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141), at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127), at org.eclipse.jetty.server.Server.handle(Server.java:500), at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383), at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547), at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375), at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273), at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311), at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103), at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117), at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336), at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313), at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171), at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129), at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375), at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806), at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938), at java.base/java.lang.Thread.run(Unknown Source), Caused by: java.lang.NullPointerException: null, at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source), at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source), at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source), at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source), at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source), at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source), at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source), at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source), at io.gravitee.am.management.handlers.management.api.authentication.controller.LoginController.login(LoginController.java:70), at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method), at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source), at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), at java.base/java.lang.reflect.Method.invoke(Unknown Source), at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190), at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138), at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105), at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:879), at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793), at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87), at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040), at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943), at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006), ... 83 common frames omitted,

All seems fine, what can I do?

tcompiegne commented 4 years ago

Missing something here :

19:57:35.324 [graviteeio-node] [] INFO i.g.a.m.h.m.a.a.m.i.i.IdentityProviderManagerImpl - Initializing identity providers for default organization,
19:57:35.436 [graviteeio-node] [] INFO i.g.a.m.h.m.a.a.m.i.i.IdentityProviderManagerImpl - Identity providers loaded for organization DEFAULT,

You should at least load one identity provider, for example on my side I have this :

22:36:48.719 [main] [] INFO  i.g.a.m.h.m.a.a.m.i.i.IdentityProviderManagerImpl - Initializing identity providers for default organization
22:36:48.826 [main] [] INFO  i.g.a.m.h.m.a.a.m.i.i.IdentityProviderManagerImpl -    Initializing identity provider: Inline users [inline-am-idp]
22:36:48.969 [main] [] INFO  i.g.a.m.h.m.a.a.m.i.i.IdentityProviderManagerImpl - Identity providers loaded for organization DEFAULT

Can you show me your identity provider ?

db.identities.find({_id : 'ca62c621-c6e2-4327-a2c6-21c6e2d32731'}).pretty()

gianx89 commented 4 years ago
> db.identities.find({_id : 'ca62c621-c6e2-4327-a2c6-21c6e2d32731'}).pretty()
{
        "_id" : "ca62c621-c6e2-4327-a2c6-21c6e2d32731",
        "configuration" : "{\"users\":[{\"firstname\":\"Administrator\",\"lastname\":\"\",\"username\":\"admin\",\"password\":\"adminadmin\"}]}",
        "createdAt" : ISODate("2019-04-16T10:20:37.659Z"),
        "domain" : "admin",
        "external" : false,
        "mappers" : {

        },
        "name" : "Inline users",
        "roleMapper" : {

        },
        "type" : "inline-am-idp",
        "updatedAt" : ISODate("2019-04-16T10:20:37.659Z")
}
tcompiegne commented 4 years ago

Ok so this identity provider has not been updated for the v3, weird the script contains the following :

// Migrate admin identities to default organization.
db.getCollection("identities").updateMany({"domain": "admin"}, {
    "$unset": {"domain": ""},
    "$set": {"referenceId": "DEFAULT", "referenceType": "ORGANIZATION", "roleMapper": {}}
});

Can you try to launch it again ?

gianx89 commented 4 years ago
wget https://raw.githubusercontent.com/gravitee-io/graviteeio-access-management/3.0.x/docs/upgrades/3.x/3.0.0/mongodb
ration-v3.js
root@57093916ec38:/# mongo < 1-migration-v3.js
MongoDB shell version v3.4.24
connecting to: mongodb://127.0.0.1:27017
MongoDB server version: 3.4.24

bye
> use gravitee-am
switched to db gravitee-am
> db.identities.find({_id : 'ca62c621-c6e2-4327-a2c6-21c6e2d32731'}).pretty()
{
        "_id" : "ca62c621-c6e2-4327-a2c6-21c6e2d32731",
        "configuration" : "{\"users\":[{\"firstname\":\"Administrator\",\"lastname\":\"\",\"username\":\"admin\",\"password\":\"adminadmin\"}]}",
        "createdAt" : ISODate("2019-04-16T10:20:37.659Z"),
        "domain" : "admin",
        "external" : false,
        "mappers" : {

        },
        "name" : "Inline users",
        "roleMapper" : {
    },
    "type" : "inline-am-idp",
    "updatedAt" : ISODate("2019-04-16T10:20:37.659Z")

}

tcompiegne commented 4 years ago

Can you try to run the script on the Gravitee AM DB :

mongo localhost:27017/gravitee-am 1-migration-v3.js

gianx89 commented 4 years ago
root@57093916ec38:/# mongo localhost:27017/gravitee-am 1-migration-v3.js
MongoDB shell version v3.4.24
connecting to: mongodb://localhost:27017/gravitee-am
MongoDB server version: 3.4.24

db.identities.find({_id : 'ca62c621-c6e2-4327-a2c6-21c6e2d32731'}).pretty() { "_id" : "ca62c621-c6e2-4327-a2c6-21c6e2d32731", "configuration" : "{\"users\":[{\"firstname\":\"Administrator\",\"lastname\":\"\",\"username\":\"admin\",\"password\":\"adminadmin\"}]}", "createdAt" : ISODate("2019-04-16T10:20:37.659Z"), "external" : false, "mappers" : {

    },
    "name" : "Inline users",
    "roleMapper" : {

    },
    "type" : "inline-am-idp",
    "updatedAt" : ISODate("2019-04-16T10:20:37.659Z"),
    "referenceId" : "DEFAULT",
    "referenceType" : "ORGANIZATION"

}

still 500

tcompiegne commented 4 years ago

Do you have this log now ?

22:36:48.826 [main] [] INFO i.g.a.m.h.m.a.a.m.i.i.IdentityProviderManagerImpl - Initializing identity provider: Inline users [inline-am-idp]

gianx89 commented 4 years ago

Ok, restarted, now it loads the login screen. Logged but

http://172.31.33.211/am/management/organizations/DEFAULT/environments/DEFAULT/domains/

got 403, permission, denied

tcompiegne commented 4 years ago

Do you have something with ?

db.memberships.find().pretty()
gianx89 commented 4 years ago

It's empty.

Had the same problem with APIM and added it manually copying from a newly created API.

What should I do?

tcompiegne commented 4 years ago

It seems that the upgrade process has been made on a v2 bdd without the migration script ...

You should have something like this :

db.memberships.find().pretty()
{
    "_id" : "b52965d7-92db-4f71-a965-d792db2f71d3",
    "createdAt" : ISODate("2020-05-20T19:56:48.172Z"),
    "memberId" : "885ba2b1-a156-4f08-9ba2-b1a156df089f",
    "memberType" : "USER",
    "referenceId" : "DEFAULT",
    "referenceType" : "ORGANIZATION",
    "role" : "7f1a8adb-d460-4841-9a8a-dbd46058419d",
    "updatedAt" : ISODate("2020-05-20T19:56:48.172Z")
}

The memberId is the default admin user :

db.users.find().pretty()
{
    "_id" : "885ba2b1-a156-4f08-9ba2-b1a156df089f",
    "accountNonExpired" : true,
    "accountNonLocked" : true,
    "additionalInformation" : {
        "sub" : "admin",
        "name" : "Administrator Administrator",
        "preferred_username" : "admin",
        "given_name" : "Administrator",
        "family_name" : "Administrator"
    },
    "client" : "admin",
    "createdAt" : ISODate("2020-05-20T19:56:48.100Z"),
    "credentialsNonExpired" : true,
    "displayName" : "admin",
    "enabled" : true,
    "firstName" : "Administrator",
    "internal" : false,
    "lastName" : "Administrator",
    "loggedAt" : ISODate("2020-05-21T20:39:41.450Z"),
    "loginsCount" : NumberLong(8),
    "newsletter" : false,
    "preRegistration" : false,
    "referenceId" : "DEFAULT",
    "referenceType" : "ORGANIZATION",
    "registrationCompleted" : false,
    "roles" : [ ],
    "source" : "c9ca9935-f338-49f3-8a99-35f33859f31a",
    "updatedAt" : ISODate("2020-05-21T20:39:41.450Z"),
    "username" : "admin"
}

And the default role should be ORGANIZATION_OWNER :

db.roles.find().pretty()
{
    "_id" : "2a2dfb14-5d04-4261-adfb-145d04c26148",
    "assignableType" : "ORGANIZATION",
    "createdAt" : ISODate("2020-05-20T19:56:48.057Z"),
    "defaultRole" : true,
    "name" : "ORGANIZATION_OWNER",
    "permissionAcls" : {
        "DOMAIN_MEMBER" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "ORGANIZATION_TAG" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_SCIM" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "APPLICATION_IDENTITY_PROVIDER" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "APPLICATION_SETTINGS" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "ENVIRONMENT" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "APPLICATION" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "ORGANIZATION_AUDIT" : [
            "LIST",
            "READ"
        ],
        "ORGANIZATION_FORM" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "ORGANIZATION" : [
            "READ"
        ],
        "APPLICATION_EMAIL_TEMPLATE" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "ORGANIZATION_MEMBER" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "APPLICATION_FORM" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_REPORTER" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_EXTENSION_GRANT" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_FORM" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_SCOPE" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_ROLE" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_SETTINGS" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "ORGANIZATION_IDENTITY_PROVIDER" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_ANALYTICS" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_IDENTITY_PROVIDER" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "ORGANIZATION_ENTRYPOINT" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_EXTENSION_POINT" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "APPLICATION_CERTIFICATE" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "ORGANIZATION_ROLE" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "ORGANIZATION_SETTINGS" : [
            "READ",
            "UPDATE"
        ],
        "DOMAIN_GROUP" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_USER" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "ORGANIZATION_GROUP" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "APPLICATION_OPENID" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_AUDIT" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_FACTOR" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "APPLICATION_MEMBER" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "ORGANIZATION_SCOPE" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "ORGANIZATION_USER" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_OPENID" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_CERTIFICATE" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "APPLICATION_FACTOR" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "DOMAIN_EMAIL_TEMPLATE" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ],
        "ORGANIZATION_REPORTER" : [
            "LIST",
            "READ",
            "UPDATE",
            "CREATE",
            "DELETE"
        ]
    },
    "referenceId" : "DEFAULT",
    "referenceType" : "ORGANIZATION",
    "system" : false,
    "updatedAt" : ISODate("2020-05-20T19:56:48.057Z")
}
gianx89 commented 4 years ago

ok I'm in, I have to test all the features but I'm in, THANK YOU SO MUCH.

Was I executing mongo scripts in the wrong way? I'm new to mongo

Should I execute them correctly again on APIM? I'v "repaired" data manually, but I don't know if I missed something.

gianx89 commented 4 years ago

I'm trying to login through my app using AM, before migration everythinh was fine, now I get after I type username and password and click the login button

Access error Please go back to your client application and try again, or contact the owner and ask for support

invalid_request Missing parameter: client_id is required

Still something missing?

gianx89 commented 4 years ago

I'm passing the clint id &client_id=web-app

gianx89 commented 4 years ago

Getting 403 trying to modify a client

http://172.31.33.211/am/management/organizations/DEFAULT/environments/DEFAULT/domains/multitrace/applications/0b812afa-3e05-4c4d-812a-fa3e05bc4dd8

tcompiegne commented 4 years ago

Was I executing mongo scripts in the wrong way? I'm new to mongo

I think you didn't select the gravitee database so nothing was done when you executed the script.

Access error
Please go back to your client application and try again, or contact the owner and ask for support

invalid_request Missing parameter: client_id is required

Which URL are you calling ?

gianx89 commented 4 years ago

http://172.31.33.211/am/multitrace/login?scope=openid&response_type=id_token+token&state=STATE&redirect_uri=http%3A%2F%2F172.31.43.253%3A8084%2Fmultitrace%2F%23%2Fadministration%2Fhome%3F&nonce=NONCE&client_id=web-app

Then POST on this address

http://172.31.33.211/am/multitrace/login

Then GET on this one http://172.31.33.211/am/multitrace/oauth/authorize?scope=openid&response_type=id_token%20token&state=STATE&redirect_uri=http://172.31.43.253:8084/multitrace/

Then that error

http://172.31.33.211/am/multitrace/oauth/error?error=invalid_request&error_description=Missing+parameter%253A+client_id&state=STATE#/administration/home?&nonce=NONCE&client_id=web-app

Prior to the upgrade all worked (even with APIM 3)

gianx89 commented 4 years ago

It's like client_id disappears between url one and two but we find it again on the url of the error page

tcompiegne commented 4 years ago

can you share the first URL you want to call, the /oauth/authorize one.

gianx89 commented 4 years ago

http://172.31.33.211/am/multitrace/oauth/authorize?response_type=token&client_id=web-app&state=jbrdFkibLbHhCGRNZGI-FMj77nwaUc1niNSYtP-PRRQyZ&redirect_uri=http%3A%2F%2F172.31.43.253%3A8084%2Fmultitrace%2F%23%2Fadministration%2Fhome%3F&scope=openid&nonce=jbrdFkibLbHhCGRNZGI-FMj77nwaUc1niNSYtP-PRRQyZ

tcompiegne commented 4 years ago

ok great I will try with the same value, this one is working with AM v2 ?

gianx89 commented 4 years ago

yes, the web client is always the same, I've only changed the response_type, with v2 was id_token+token. Both didn't work on v3

tcompiegne commented 4 years ago

Which version of v2 are you coming from ?

gianx89 commented 4 years ago

Done each upgrade, the latest one, upgraded in march

tcompiegne commented 4 years ago

Just try with both 2.10.13 and 3.0.1 and it's not working.

By the way you cannot have a fragment in the redirect_uri : https://tools.ietf.org/html/rfc6749#section-3.1.2

It should be not possible to create client with that kind of uri, is it an old client ?

gianx89 commented 4 years ago

Recovered the old installation (using latest v2 docker images), it works with url:

http://172.31.33.211/am/multitrace/oauth/authorize?response_type=id_token%20token&client_id=web-app&state=NBvfDS-eoB4IW2WUiXd_ed-g60FHrUN70Kft6F5fWDzR_&redirect_uri=http%3A%2F%2F172.31.43.253%3A8084%2Fmultitrace%2F%23%2Fadministration%2Fhome%3F&scope=openid&nonce=NBvfDS-eoB4IW2WUiXd_ed-g60FHrUN70Kft6F5fWDzR_

It's a client created one year ago or more.

That redirect uri is set by angular-oidc plugin I guess

gianx89 commented 4 years ago

Upgraded and migrated again to V3.

With a newly created client (application) it works

http://172.31.33.211/am/multitrace/oauth/authorize?response_type=id_token%20token&client_id=19364cce-9525-4630-b64c-ce952556301e&state=3PKEwUm9J0TRkKNQmc4NocLI6hcePo7SwrGpgiR_FrWK2&redirect_uri=http%3A%2F%2F172.31.43.253%3A8084%2Fmultitrace&scope=openid&nonce=3PKEwUm9J0TRkKNQmc4NocLI6hcePo7SwrGpgiR_FrWK2

tcompiegne commented 4 years ago

yes because there is no fragment (#) in the redirect_uri.

gianx89 commented 4 years ago

Nothing changed in the url generation mechanism (it's automated), I've only created a new client. I even tried to force the right url with the old client, it didn't work.

Sometimes it happend that, when updating the old client, I got something like "access dinied".

It could be a problem with old clients migration?

P.S. Before migration I had NO redirect uri set on that client through AM ui. Could that be the problem?

gianx89 commented 4 years ago

Ok, I managed to force the right redirect url with the old client on V3, it works.

Before it ha no redirect url set in AM, so that maybe the problem: the old version worked in this scenario, the new don't.

Thank you and waiting for 3.0.2

tcompiegne commented 4 years ago

Hi @gianx89 , AM 3.0.2 is now released, thanks for your feedbacks.