question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The access to the API seems not properly define in the K8S setttings.

See original GitHub issue

Description:

I tried to install the apicurio-studio on the following K8S server version in order to edit an installation guide :

Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.2", GitCommit:"59603c6e503c87169aea6106f57b9f242f64df89", GitTreeState:"clean", BuildDate:"2020-01-18T23:30:10Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.10-r0-CCE2.0.26.B001", GitCommit:"dd2361511301aa78e37385126753ad08eb0f616e", GitTreeState:"clean", BuildDate:"2019-09-09T19:19:38Z", GoVersion:"go1.11.13", Compiler:"gc", Platform:"linux/amd64"}

First I have install the keycloack regarding the following guide _https://apicurio-studio.readme.io/docs/setting-up-keycloak-for-use-with-apicurio_ and I have adapted the files present in _https://github.com/Apicurio/apicurio-studio/tree/master/distro/kubernetes_ to fit the storage class needs.

However, I still have an issue with the hub_api. In fact, it seems some configuration is not proper in the docker image. In fact, once logged in the apicurio UI I have the following error message:

2020-07-20 08:42:58,041 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-45) Closing connections idle longer than 30 SECONDS
2020-07-20 08:42:58,471 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-47) Closing expired connections
2020-07-20 08:42:58,471 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-47) Closing connections idle longer than 30 SECONDS
2020-07-20 08:43:03,013 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-43) Closing expired connections
2020-07-20 08:43:03,013 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-43) Closing connections idle longer than 30 SECONDS
2020-07-20 08:43:03,042 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-45) Closing expired connections
2020-07-20 08:43:03,042 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-45) Closing connections idle longer than 30 SECONDS
2020-07-20 08:43:03,471 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-47) Closing expired connections
2020-07-20 08:43:03,471 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-47) Closing connections idle longer than 30 SECONDS
2020-07-20 08:43:08,013 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-43) Closing expired connections
2020-07-20 08:43:08,013 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-43) Closing connections idle longer than 30 SECONDS
2020-07-20 08:43:08,042 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-45) Closing expired connections
2020-07-20 08:43:08,042 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-45) Closing connections idle longer than 30 SECONDS
2020-07-20 08:43:08,471 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-47) Closing expired connections
2020-07-20 08:43:08,471 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-47) Closing connections idle longer than 30 SECONDS
2020-07-20 08:43:10,733 DEBUG [io.undertow.request] (default I/O-1) Matched default handler path /currentuser/recent/designs/currentuser/recent/designs
2020-07-20 08:43:10,733 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-3) adminRequest https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/recent/designs/currentuser/recent/designs
2020-07-20 08:43:10,733 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-3) checkCorsPreflight https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/recent/designs/currentuser/recent/designs
2020-07-20 08:43:10,733 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-3) Preflight request returning
2020-07-20 08:43:10,743 DEBUG [io.undertow.request] (default I/O-1) Matched default handler path /currentuser/activity/currentuser/activity
2020-07-20 08:43:10,743 DEBUG [io.undertow.request] (default I/O-1) Matched default handler path /accounts/accounts
2020-07-20 08:43:10,744 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-3) adminRequest https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/activity/currentuser/activity?end=10
2020-07-20 08:43:10,744 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-3) checkCorsPreflight https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/activity/currentuser/activity?end=10
2020-07-20 08:43:10,744 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-3) Preflight request returning
2020-07-20 08:43:10,745 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-2) adminRequest https://apicurio-studio-api.openmarket.scf.demopenstack.com/accounts/accounts
2020-07-20 08:43:10,745 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-2) checkCorsPreflight https://apicurio-studio-api.openmarket.scf.demopenstack.com/accounts/accounts
2020-07-20 08:43:10,745 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-2) Preflight request returning
2020-07-20 08:43:10,750 DEBUG [io.undertow.request] (default I/O-1) Matched default handler path /currentuser/recent/designs/currentuser/recent/designs
**2020-07-20 08:43:10,751 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-2) adminRequest https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/recent/designs/currentuser/recent/designs
2020-07-20 08:43:10,751 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-2) checkCorsPreflight https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/recent/designs/currentuser/recent/designs
2020-07-20 08:43:10,751 DEBUG [io.undertow.request.security] (default task-2) Security constraints for request /currentuser/recent/designs/currentuser/recent/designs are [SingleConstraintMatch{emptyRoleSemantic=AUTHENTICATE, requiredRoles=[]}]**
2020-07-20 08:43:10,751 DEBUG [io.undertow.request.security] (default task-2) Authenticating required for request HttpServerExchange{ GET /currentuser/recent/designs/currentuser/recent/designs}
2020-07-20 08:43:10,751 DEBUG [io.undertow.request.security] (default task-2) Setting authentication required for exchange HttpServerExchange{ GET /currentuser/recent/designs/currentuser/recent/designs}
2020-07-20 08:43:10,751 DEBUG [io.undertow.request.security] (default task-2) Attempting to authenticate /currentuser/recent/designs/currentuser/recent/designs, authentication required: true
2020-07-20 08:43:10,751 DEBUG [io.undertow.request.security] (default task-2) Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@683864dd for /currentuser/recent/designs/currentuser/recent/designs
2020-07-20 08:43:10,751 DEBUG [org.keycloak.adapters.BearerTokenRequestAuthenticator] (default task-2) Found [1] values in authorization header, selecting the first value for Bearer.
2020-07-20 08:43:10,751 DEBUG [org.keycloak.adapters.BearerTokenRequestAuthenticator] (default task-2) Verifying access_token
2020-07-20 08:43:10,752 DEBUG [org.keycloak.adapters.BearerTokenRequestAuthenticator] (default task-2) successful authorized
2020-07-20 08:43:10,752 DEBUG [io.undertow.request.security] (default task-2) Authenticated as dc5677e7-39eb-4083-9b9b-8ed667f228f0, roles [offline_access, uma_authorization]
2020-07-20 08:43:10,752 DEBUG [org.keycloak.adapters.wildfly.WildflyRequestAuthenticator] (default task-2) propagate security context to wildfly
2020-07-20 08:43:10,752 DEBUG [org.keycloak.adapters.RequestAuthenticator] (default task-2) User 'dc5677e7-39eb-4083-9b9b-8ed667f228f0' invoking 'https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/recent/designs/currentuser/recent/designs' on client 'apicurio-studio'
2020-07-20 08:43:10,752 DEBUG [org.keycloak.adapters.RequestAuthenticator] (default task-2) Bearer AUTHENTICATED
2020-07-20 08:43:10,752 DEBUG [io.undertow.request.security] (default task-2) Authentication outcome was AUTHENTICATED with method org.keycloak.adapters.wildfly.WildflyAuthenticationMechanism@3fac212d for /currentuser/recent/designs/currentuser/recent/designs
2020-07-20 08:43:10,752 DEBUG [io.undertow.request.security] (default task-2) Authentication result was AUTHENTICATED for /currentuser/recent/designs/currentuser/recent/designs
2020-07-20 08:43:10,752 DEBUG [io.undertow.request] (default task-2) Matched default handler path /currentuser/recent/designs/currentuser/recent/designs
2020-07-20 08:43:10,753 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-2) AuthenticatedActionsValve.invoke https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/recent/designs/currentuser/recent/designs
2020-07-20 08:43:10,753 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-2) Origin: https://apicurio.openmarket.scf.demopenstack.com uri: https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/recent/designs/currentuser/recent/designs
2020-07-20 08:43:10,753 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-2) Allowed origins in token: [https://apicurio.openmarket.scf.demopenstack.com]
2020-07-20 08:43:10,753 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-2) returning origin: https://apicurio.openmarket.scf.demopenstack.com
2020-07-20 08:43:10,753 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-2) Policy enforcement is disabled.
2020-07-20 08:43:10,754 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-2) RESTEASY002315: PathInfo: /currentuser/recent/designs/currentuser/recent/designs
2020-07-20 08:43:10,754 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-2) RESTEASY002305: Failed executing GET /currentuser/recent/designs/currentuser/recent/designs: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/recent/designs/currentuser/recent/designs
        at org.jboss.resteasy.core.registry.SegmentNode.match(SegmentNode.java:173)
        at org.jboss.resteasy.core.registry.RootNode.match(RootNode.java:43)
        at org.jboss.resteasy.core.registry.RootClassNode.match(RootClassNode.java:47)
        at org.jboss.resteasy.core.ResourceMethodRegistry.getResourceInvoker(ResourceMethodRegistry.java:442)
        at org.jboss.resteasy.core.SynchronousDispatcher.getInvoker(SynchronousDispatcher.java:300)
        at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:221)
        at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:135)
        at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:356)
        at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:138)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:215)
        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:227)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
        at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
        at io.apicurio.hub.api.security.KeycloakAuthenticationFilter.doFilter(KeycloakAuthenticationFilter.java:72)
        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
        at io.apicurio.hub.api.filters.DisableCachingFilter.doFilter(DisableCachingFilter.java:66)
        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
        at io.apicurio.hub.api.filters.CorsFilter.doFilter(CorsFilter.java:64)
        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
        at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
        at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
        at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
        at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
        at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at org.keycloak.adapters.undertow.UndertowAuthenticatedActionsHandler.handleRequest(UndertowAuthenticatedActionsHandler.java:66)
        at org.wildfly.swarm.keycloak.deployment.SecurityContextServletExtension.lambda$null$0(SecurityContextServletExtension.java:40)
        at org.wildfly.swarm.generated.FaviconErrorHandler.handleRequest(FaviconErrorHandler.java:61)
        at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:91)
        at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
        at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
        at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
        at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53)
        at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
        at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
        at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59)
        at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
        at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
        at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
        at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
        at org.keycloak.adapters.undertow.ServletPreAuthActionsHandler.handleRequest(ServletPreAuthActionsHandler.java:69)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)
        at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)
        at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)
        at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130)
        at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
        at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
        at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
        at org.wildfly.swarm.keycloak.deployment.KeycloakThreadSetupHandler.lambda$create$0(KeycloakThreadSetupHandler.java:35)
        at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)
        at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)
        at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99)
        at io.undertow.server.Connectors.executeRootHandler(Connectors.java:376)
        at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
        at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
        at java.lang.Thread.run(Thread.java:748)

2020-07-20 08:43:10,754 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-2) MessageBodyWriter: org.jboss.resteasy.spi.ResteasyProviderFactory$SortedKey
2020-07-20 08:43:10,754 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-2) MessageBodyWriter: org.jboss.resteasy.plugins.providers.StringTextStar
2020-07-20 08:43:10,754 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-2) MessageBodyWriter: org.jboss.resteasy.plugins.providers.StringTextStar
2020-07-20 08:43:10,754 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-2) Interceptor Context: org.jboss.resteasy.core.interception.ServerWriterInterceptorContext,  Method : proceed
2020-07-20 08:43:10,754 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-2) MessageBodyWriter: org.jboss.resteasy.spi.ResteasyProviderFactory$SortedKey
2020-07-20 08:43:10,754 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-2) MessageBodyWriter: org.jboss.resteasy.plugins.providers.StringTextStar
2020-07-20 08:43:10,762 DEBUG [io.undertow.request] (default I/O-1) Matched default handler path /accounts/accounts
2020-07-20 08:43:10,762 DEBUG [io.undertow.request] (default I/O-1) Matched default handler path /currentuser/activity/currentuser/activity
2020-07-20 08:43:10,762 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-3) adminRequest https://apicurio-studio-api.openmarket.scf.demopenstack.com/accounts/accounts
2020-07-20 08:43:10,763 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-3) checkCorsPreflight https://apicurio-studio-api.openmarket.scf.demopenstack.com/accounts/accounts
2020-07-20 08:43:10,763 DEBUG [io.undertow.request.security] (default task-3) Security constraints for request /accounts/accounts are [SingleConstraintMatch{emptyRoleSemantic=AUTHENTICATE, requiredRoles=[]}]
2020-07-20 08:43:10,763 DEBUG [io.undertow.request.security] (default task-3) Authenticating required for request HttpServerExchange{ GET /accounts/accounts}
2020-07-20 08:43:10,763 DEBUG [io.undertow.request.security] (default task-3) Setting authentication required for exchange HttpServerExchange{ GET /accounts/accounts}
2020-07-20 08:43:10,763 DEBUG [io.undertow.request.security] (default task-3) Attempting to authenticate /accounts/accounts, authentication required: true
2020-07-20 08:43:10,763 DEBUG [io.undertow.request.security] (default task-3) Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@683864dd for /accounts/accounts
2020-07-20 08:43:10,763 DEBUG [org.keycloak.adapters.BearerTokenRequestAuthenticator] (default task-3) Found [1] values in authorization header, selecting the first value for Bearer.
2020-07-20 08:43:10,763 DEBUG [org.keycloak.adapters.BearerTokenRequestAuthenticator] (default task-3) Verifying access_token
2020-07-20 08:43:10,764 DEBUG [org.keycloak.adapters.BearerTokenRequestAuthenticator] (default task-3) successful authorized
2020-07-20 08:43:10,764 DEBUG [io.undertow.request.security] (default task-3) Authenticated as dc5677e7-39eb-4083-9b9b-8ed667f228f0, roles [offline_access, uma_authorization]
2020-07-20 08:43:10,764 DEBUG [org.keycloak.adapters.wildfly.WildflyRequestAuthenticator] (default task-3) propagate security context to wildfly
2020-07-20 08:43:10,764 DEBUG [org.keycloak.adapters.RequestAuthenticator] (default task-3) User 'dc5677e7-39eb-4083-9b9b-8ed667f228f0' invoking 'https://apicurio-studio-api.openmarket.scf.demopenstack.com/accounts/accounts' on client 'apicurio-studio'
2020-07-20 08:43:10,764 DEBUG [org.keycloak.adapters.RequestAuthenticator] (default task-3) Bearer AUTHENTICATED
2020-07-20 08:43:10,764 DEBUG [io.undertow.request.security] (default task-3) Authentication outcome was AUTHENTICATED with method org.keycloak.adapters.wildfly.WildflyAuthenticationMechanism@3fac212d for /accounts/accounts
2020-07-20 08:43:10,764 DEBUG [io.undertow.request.security] (default task-3) Authentication result was AUTHENTICATED for /accounts/accounts
2020-07-20 08:43:10,764 DEBUG [io.undertow.request] (default task-3) Matched default handler path /accounts/accounts
2020-07-20 08:43:10,764 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-3) AuthenticatedActionsValve.invoke https://apicurio-studio-api.openmarket.scf.demopenstack.com/accounts/accounts
2020-07-20 08:43:10,764 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-3) Origin: https://apicurio.openmarket.scf.demopenstack.com uri: https://apicurio-studio-api.openmarket.scf.demopenstack.com/accounts/accounts
2020-07-20 08:43:10,764 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-3) Allowed origins in token: [https://apicurio.openmarket.scf.demopenstack.com]
2020-07-20 08:43:10,764 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-3) returning origin: https://apicurio.openmarket.scf.demopenstack.com
2020-07-20 08:43:10,764 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-3) Policy enforcement is disabled.
2020-07-20 08:43:10,765 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-3) RESTEASY002315: PathInfo: /accounts/accounts
2020-07-20 08:43:10,765 DEBUG [org.jboss.resteasy.cdi.i18n] (default task-3) RESTEASY010520: Beans found for class io.apicurio.hub.api.rest.impl.AccountsResource : [Managed Bean [class io.apicurio.hub.api.rest.impl.AccountsResource] with qualifiers [@Any @Default]]
2020-07-20 08:43:10,766 DEBUG [io.apicurio.hub.api.rest.impl.AccountsResource] (default task-3) Getting a Linked Account of type accounts
2020-07-20 08:43:10,767 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-3) MessageBodyWriter: org.jboss.resteasy.spi.ResteasyProviderFactory$SortedKey
2020-07-20 08:43:10,767 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-3) MessageBodyWriter: org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider
2020-07-20 08:43:10,767 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-3) MessageBodyWriter: org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider
2020-07-20 08:43:10,767 DEBUG [io.undertow.request.error-response] (default task-3) Setting error code 500 for exchange HttpServerExchange{ GET /accounts/accounts}: java.lang.RuntimeException
        at io.undertow.server.HttpServerExchange.setStatusCode(HttpServerExchange.java:1410)
        at io.undertow.servlet.spec.HttpServletResponseImpl.setStatus(HttpServletResponseImpl.java:318)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletResponseWrapper.setStatus(HttpServletResponseWrapper.java:76)
        at org.jboss.resteasy.core.ServerResponseWriter.lambda$writeNomapResponse$2(ServerResponseWriter.java:122)
        at org.jboss.resteasy.core.interception.ContainerResponseContextImpl.filter(ContainerResponseContextImpl.java:398)
        at org.jboss.resteasy.core.ServerResponseWriter.executeFilters(ServerResponseWriter.java:219)
        at org.jboss.resteasy.core.ServerResponseWriter.writeNomapResponse(ServerResponseWriter.java:95)
        at org.jboss.resteasy.core.ServerResponseWriter.writeNomapResponse(ServerResponseWriter.java:69)
        at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:201)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:456)
        at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:229)
        at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:135)
        at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:356)
        at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:138)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:215)
        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:227)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
        at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
        at io.apicurio.hub.api.security.KeycloakAuthenticationFilter.doFilter(KeycloakAuthenticationFilter.java:72)
        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
        at io.apicurio.hub.api.filters.DisableCachingFilter.doFilter(DisableCachingFilter.java:66)
        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
        at io.apicurio.hub.api.filters.CorsFilter.doFilter(CorsFilter.java:64)
        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
        at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
        at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
        at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
        at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
        at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at org.keycloak.adapters.undertow.UndertowAuthenticatedActionsHandler.handleRequest(UndertowAuthenticatedActionsHandler.java:66)
        at org.wildfly.swarm.keycloak.deployment.SecurityContextServletExtension.lambda$null$0(SecurityContextServletExtension.java:40)
        at org.wildfly.swarm.generated.FaviconErrorHandler.handleRequest(FaviconErrorHandler.java:61)
        at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:91)
        at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
        at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
        at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
        at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53)
        at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
        at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
        at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59)
        at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
        at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
        at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
        at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
        at org.keycloak.adapters.undertow.ServletPreAuthActionsHandler.handleRequest(ServletPreAuthActionsHandler.java:69)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)
        at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)
        at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)
        at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130)
        at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
        at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
        at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
        at org.wildfly.swarm.keycloak.deployment.KeycloakThreadSetupHandler.lambda$create$0(KeycloakThreadSetupHandler.java:35)
        at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)
        at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)
        at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99)
        at io.undertow.server.Connectors.executeRootHandler(Connectors.java:376)
        at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
        at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
        at java.lang.Thread.run(Thread.java:748)

2020-07-20 08:43:10,767 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-3) Interceptor Context: org.jboss.resteasy.core.interception.ServerWriterInterceptorContext,  Method : proceed
2020-07-20 08:43:10,767 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-3) MessageBodyWriter: org.jboss.resteasy.spi.ResteasyProviderFactory$SortedKey
2020-07-20 08:43:10,767 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-3) MessageBodyWriter: org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider
2020-07-20 08:43:10,767 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-3) Provider : org.jboss.resteasy.plugins.providers.jackson.ResteasyJackson2Provider,  Method : writeTo
2020-07-20 08:43:10,775 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-4) adminRequest https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/activity/currentuser/activity?end=10
2020-07-20 08:43:10,776 DEBUG [org.keycloak.adapters.PreAuthActionsHandler] (default task-4) checkCorsPreflight https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/activity/currentuser/activity?end=10
2020-07-20 08:43:10,776 DEBUG [io.undertow.request.security] (default task-4) Security constraints for request /currentuser/activity/currentuser/activity are [SingleConstraintMatch{emptyRoleSemantic=AUTHENTICATE, requiredRoles=[]}]
2020-07-20 08:43:10,776 DEBUG [io.undertow.request.security] (default task-4) Authenticating required for request HttpServerExchange{ GET /currentuser/activity/currentuser/activity}
2020-07-20 08:43:10,776 DEBUG [io.undertow.request.security] (default task-4) Setting authentication required for exchange HttpServerExchange{ GET /currentuser/activity/currentuser/activity}
2020-07-20 08:43:10,776 DEBUG [io.undertow.request.security] (default task-4) Attempting to authenticate /currentuser/activity/currentuser/activity, authentication required: true
2020-07-20 08:43:10,776 DEBUG [io.undertow.request.security] (default task-4) Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@683864dd for /currentuser/activity/currentuser/activity
2020-07-20 08:43:10,776 DEBUG [org.keycloak.adapters.BearerTokenRequestAuthenticator] (default task-4) Found [1] values in authorization header, selecting the first value for Bearer.
2020-07-20 08:43:10,776 DEBUG [org.keycloak.adapters.BearerTokenRequestAuthenticator] (default task-4) Verifying access_token
2020-07-20 08:43:10,777 DEBUG [org.keycloak.adapters.BearerTokenRequestAuthenticator] (default task-4) successful authorized
2020-07-20 08:43:10,777 DEBUG [io.undertow.request.security] (default task-4) Authenticated as dc5677e7-39eb-4083-9b9b-8ed667f228f0, roles [offline_access, uma_authorization]
2020-07-20 08:43:10,777 DEBUG [org.keycloak.adapters.wildfly.WildflyRequestAuthenticator] (default task-4) propagate security context to wildfly
2020-07-20 08:43:10,777 DEBUG [org.keycloak.adapters.RequestAuthenticator] (default task-4) User 'dc5677e7-39eb-4083-9b9b-8ed667f228f0' invoking 'https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/activity/currentuser/activity?end=10' on client 'apicurio-studio'
2020-07-20 08:43:10,777 DEBUG [org.keycloak.adapters.RequestAuthenticator] (default task-4) Bearer AUTHENTICATED
2020-07-20 08:43:10,777 DEBUG [io.undertow.request.security] (default task-4) Authentication outcome was AUTHENTICATED with method org.keycloak.adapters.wildfly.WildflyAuthenticationMechanism@3fac212d for /currentuser/activity/currentuser/activity
2020-07-20 08:43:10,777 DEBUG [io.undertow.request.security] (default task-4) Authentication result was AUTHENTICATED for /currentuser/activity/currentuser/activity
2020-07-20 08:43:10,777 DEBUG [io.undertow.request] (default task-4) Matched default handler path /currentuser/activity/currentuser/activity
2020-07-20 08:43:10,777 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-4) AuthenticatedActionsValve.invoke https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/activity/currentuser/activity?end=10
2020-07-20 08:43:10,778 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-4) Origin: https://apicurio.openmarket.scf.demopenstack.com uri: https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/activity/currentuser/activity?end=10
2020-07-20 08:43:10,778 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-4) Allowed origins in token: [https://apicurio.openmarket.scf.demopenstack.com]
2020-07-20 08:43:10,778 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-4) returning origin: https://apicurio.openmarket.scf.demopenstack.com
2020-07-20 08:43:10,778 DEBUG [org.keycloak.adapters.AuthenticatedActionsHandler] (default task-4) Policy enforcement is disabled.
2020-07-20 08:43:10,778 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-4) RESTEASY002315: PathInfo: /currentuser/activity/currentuser/activity
2020-07-20 08:43:10,779 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-4) RESTEASY002305: Failed executing GET /currentuser/activity/currentuser/activity: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: https://apicurio-studio-api.openmarket.scf.demopenstack.com/currentuser/activity/currentuser/activity?end=10
        at org.jboss.resteasy.core.registry.SegmentNode.match(SegmentNode.java:173)
        at org.jboss.resteasy.core.registry.RootNode.match(RootNode.java:43)
        at org.jboss.resteasy.core.registry.RootClassNode.match(RootClassNode.java:47)
        at org.jboss.resteasy.core.ResourceMethodRegistry.getResourceInvoker(ResourceMethodRegistry.java:442)
        at org.jboss.resteasy.core.SynchronousDispatcher.getInvoker(SynchronousDispatcher.java:300)
        at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:221)
        at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:135)
        at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:356)
        at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:138)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:215)
        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:227)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
        at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
        at io.apicurio.hub.api.security.KeycloakAuthenticationFilter.doFilter(KeycloakAuthenticationFilter.java:72)
        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
        at io.apicurio.hub.api.filters.DisableCachingFilter.doFilter(DisableCachingFilter.java:66)
        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
        at io.apicurio.hub.api.filters.CorsFilter.doFilter(CorsFilter.java:64)
        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
        at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
        at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
        at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
        at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
        at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at org.keycloak.adapters.undertow.UndertowAuthenticatedActionsHandler.handleRequest(UndertowAuthenticatedActionsHandler.java:66)
        at org.wildfly.swarm.keycloak.deployment.SecurityContextServletExtension.lambda$null$0(SecurityContextServletExtension.java:40)
        at org.wildfly.swarm.generated.FaviconErrorHandler.handleRequest(FaviconErrorHandler.java:61)
        at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:91)
        at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
        at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
        at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
        at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:53)
        at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
        at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
        at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:59)
        at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
        at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
        at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
        at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
        at org.keycloak.adapters.undertow.ServletPreAuthActionsHandler.handleRequest(ServletPreAuthActionsHandler.java:69)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)
        at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)
        at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)
        at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130)
        at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
        at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
        at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
        at org.wildfly.swarm.keycloak.deployment.KeycloakThreadSetupHandler.lambda$create$0(KeycloakThreadSetupHandler.java:35)
        at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)
        at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)
        at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99)
        at io.undertow.server.Connectors.executeRootHandler(Connectors.java:376)
        at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
        at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
        at java.lang.Thread.run(Thread.java:748)

2020-07-20 08:43:10,779 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-4) MessageBodyWriter: org.jboss.resteasy.spi.ResteasyProviderFactory$SortedKey
2020-07-20 08:43:10,779 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-4) MessageBodyWriter: org.jboss.resteasy.plugins.providers.StringTextStar
2020-07-20 08:43:10,779 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-4) MessageBodyWriter: org.jboss.resteasy.plugins.providers.StringTextStar
2020-07-20 08:43:10,779 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-4) Interceptor Context: org.jboss.resteasy.core.interception.ServerWriterInterceptorContext,  Method : proceed
2020-07-20 08:43:10,779 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-4) MessageBodyWriter: org.jboss.resteasy.spi.ResteasyProviderFactory$SortedKey
2020-07-20 08:43:10,779 DEBUG [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-4) MessageBodyWriter: org.jboss.resteasy.plugins.providers.StringTextStar
2020-07-20 08:43:13,013 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-43) Closing expired connections
2020-07-20 08:43:13,013 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-43) Closing connections idle longer than 30 SECONDS
2020-07-20 08:43:13,042 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-45) Closing expired connections
2020-07-20 08:43:13,042 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-45) Closing connections idle longer than 30 SECONDS
2020-07-20 08:43:13,471 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-47) Closing expired connections
2020-07-20 08:43:13,472 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-47) Closing connections idle longer than 30 SECONDS
2020-07-20 08:43:18,013 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-43) Closing expired connections
2020-07-20 08:43:18,013 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-43) Closing connections idle longer than 30 SECONDS
2020-07-20 08:43:18,042 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-45) Closing expired connections
2020-07-20 08:43:18,042 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-45) Closing connections idle longer than 30 SECONDS
2020-07-20 08:43:18,472 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-47) Closing expired connections
2020-07-20 08:43:18,472 DEBUG [org.apache.http.impl.conn.PoolingHttpClientConnectionManager] (Thread-47) Closing connections idle longer than 30 SECONDS
2020-07-20 08:43:19,679 DEBUG [com.arjuna.ats.arjuna] (Periodic Recovery) PeriodicRecovery: background thread Status <== SCANNING
2020-07-20 08:43:19,679 DEBUG [com.arjuna.ats.arjuna] (Periodic Recovery) PeriodicRecovery: background thread scanning
2020-07-20 08:43:19,679 DEBUG [com.arjuna.ats.arjuna] (Periodic Recovery) Periodic recovery first pass at Mon, 20 Jul 2020 08:43:19
2020-07-20 08:43:19,679 DEBUG [com.arjuna.ats.arjuna] (Periodic Recovery) processing /StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction transactions
2020-07-20 08:43:19,679 DEBUG [com.arjuna.ats.arjuna] (Periodic Recovery) Recovery module 'com.arjuna.ats.internal.jta.recovery.arjunacore.CommitMarkableResourceRecordRecoveryModule@1f329064' first pass processed
2020-07-20 08:43:19,679 DEBUG [com.arjuna.ats.arjuna] (Periodic Recovery) AtomicActionRecoveryModule first pass
2020-07-20 08:43:19,679 DEBUG [com.arjuna.ats.arjuna] (Periodic Recovery) processing /StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction transactions
2020-07-20 08:43:19,679 DEBUG [com.arjuna.ats.arjuna] (Periodic Recovery) Recovery module 'com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule@5a300de6' first pass processed
2020-07-20 08:43:19,679 DEBUG [com.arjuna.ats.txoj] (Periodic Recovery) TORecoveryModule - first pass
2020-07-20 08:43:19,679 DEBUG [com.arjuna.ats.arjuna] (Periodic Recovery) Recovery module 'com.arjuna.ats.internal.txoj.recovery.TORecoveryModule@18605fef' first pass processed

Could you please let me know what I have miss or any guideline?

Expected result:

The hub api must be able to answer to the request properly to be able to handle the requests from the UI.

Note: Morevover, It will be really usefull for this project adoption to have a documentation explaining how to install all the feature in K8S and other platform step by step.

Thanks in advance.

Regards,

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
wdesplascommented, Jul 22, 2020

Hi @t-rap ,

The issue is not due to your file but to my configuration. In fact, the platform does not allow to use cross origin URL.

Therefore, all my API call is forbidden. I have correct the URL in the template and all is working fine.

I will writte an installation documents and I will share it to you as soon as possible.

Regards,

0reactions
EricWittmanncommented, Jul 30, 2021

@wdesplas ping 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Controlling Access to the Kubernetes API
This page provides an overview of controlling access to the Kubernetes API. Users access the Kubernetes API using kubectl, client libraries, ...
Read more >
Troubleshoot the API server endpoint of an Amazon EKS Cluster
Your cluster is stuck in the Failed state and you can't change the endpoint access setting from public to private. Note: To set...
Read more >
Troubleshoot network problems in AKS clusters
These errors involve connection problems that occur when you can't reach an Azure Kubernetes Service (AKS) cluster's API server through the ...
Read more >
The Kubernetes executor for GitLab Runner
gitlab-ci.yml file or the config.toml file. If not specified, all pull policies specified in pull_policy are allowed.
Read more >
Using the Console to create a Cluster with Explicitly Defined ...
Select one of the following options: VCN-native pod networking: Select this option to connect worker nodes in a Kubernetes cluster to pod subnets...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found