openanalytics / shinyproxy

ShinyProxy - Open Source Enterprise Deployment for Shiny and data science apps
https://www.shinyproxy.io
Apache License 2.0
525 stars 151 forks source link

KubernetesClientException #337

Closed templary closed 2 years ago

templary commented 2 years ago

Hello, I would like to ask for info about this error.

After updating the system to shinyproxy 2.6.0 and containerproxy 0.8.10, a problem with launching applications in Kubernetes started to appear.

If I run the application locally on my machine and use the kubectl proxy and port-forward a given instance of the R application, the application runs without problems and everything works as it should.

The problem occurs when Shinyproxy is on a production version in a kubernetes cluster where this error occurs.

Thank you a lot for your time

 :: Spring Boot ::       (v2.3.12.RELEASE)

2021-11-19 09:59:11.959  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2021-11-19 09:59:11.967  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-11-19 09:59:12.045  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 57ms. Found 0 JPA repository interfaces.
2021-11-19 09:59:12.066  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2021-11-19 09:59:12.067  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2021-11-19 09:59:12.087  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8ms. Found 0 Redis repository interfaces.
2021-11-19 09:59:14.149  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.retry.annotation.RetryConfiguration' of type [org.springframework.retry.annotation.RetryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-11-19 09:59:14.654  INFO 1 --- [           main] e.o.c.service.IdentifierService          : ShinyProxy runtimeId:                   cb0396d8-74c9-4880-b593-7aeac477d6d4
2021-11-19 09:59:14.790  INFO 1 --- [           main] e.o.c.service.IdentifierService          : ShinyProxy instanceID (hash of config): f1145259f2037b4a691ebba7c49f36e76ccad525
2021-11-19 09:59:15.019  INFO 1 --- [           main] e.o.containerproxy.service.LogService    : Container logging enabled. Log files will be saved to /srv/shinyproxy/container-logs
2021-11-19 09:59:15.181  WARN 1 --- [           main] ication$$EnhancerBySpringCGLIB$$f09574f3 : WARNING: Invalid configuration detected: same-site-cookie policy is set to None, but secure-cookies are not enabled. Secure cookies must be enabled when using None as same-site-cookie policy 
2021-11-19 09:59:15.600  WARN 1 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used
2021-11-19 09:59:15.660  INFO 1 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext
2021-11-19 09:59:15.661  INFO 1 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 6086 ms
2021-11-19 09:59:16.865  INFO 1 --- [           main] .s.m.p.AbstractReloadingMetadataProvider : New metadata succesfully loaded for 'XXXXX'
2021-11-19 09:59:16.870  INFO 1 --- [           main] .s.m.p.AbstractReloadingMetadataProvider : Next refresh cycle for metadata provider 'xxxxx' will occur on '2021-11-19T12:59:16.434Z' ('2021-11-19T12:59:16.434Z' local time)
2021-11-19 09:59:16.932  WARN 1 --- [           main] org.apache.velocity.deprecation          : configuration key 'resource.loader' has been deprecated in favor of 'resource.loaders'
2021-11-19 09:59:16.932  WARN 1 --- [           main] org.apache.velocity.deprecation          : configuration key 'classpath.resource.loader.class' has been deprecated in favor of 'resource.loader.classpath.class'
2021-11-19 09:59:17.364  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: Ant [pattern='/saml/login/**'], [org.springframework.security.saml.SAMLEntryPoint@xx]
2021-11-19 09:59:17.365  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: Ant [pattern='/saml/logout/**'], [org.springframework.security.saml.SAMLLogoutFilter@xx]
2021-11-19 09:59:17.365  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: Ant [pattern='/saml/SingleLogout/**'], [org.springframework.security.saml.SAMLLogoutProcessingFilter@xx]
2021-11-19 09:59:17.365  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: Ant [pattern='/saml/SSO/**'], [eu.openanalytics.containerproxy.auth.impl.saml.AlreadyLoggedInFilter@xx, org.springframework.security.saml.SAMLProcessingFilter@xx]
2021-11-19 09:59:17.389  INFO 1 --- [           main] o.s.boot.web.servlet.RegistrationBean    : Filter orderedFormContentFilter was not registered (disabled)
2021-11-19 09:59:17.663  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2021-11-19 09:59:17.999  INFO 1 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2021-11-19 09:59:18.124  INFO 1 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2021-11-19 09:59:18.274  INFO 1 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 5.4.32.Final
2021-11-19 09:59:18.586  INFO 1 --- [           main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2021-11-19 09:59:18.911  INFO 1 --- [           main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2021-11-19 09:59:19.375  INFO 1 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2021-11-19 09:59:19.392  INFO 1 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2021-11-19 09:59:19.505  WARN 1 --- [           main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2021-11-19 09:59:20.081  INFO 1 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: any request, [org.springframework.security.saml.metadata.MetadataGeneratorFilter@f0020b1, org.springframework.security.saml.metadata.MetadataDisplayFilter@xx, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@xx, org.springframework.security.web.context.SecurityContextPersistenceFilter@xx, org.springframework.security.web.header.HeaderWriterFilter@xx, org.springframework.security.web.csrf.CsrfFilter@6ad6443, org.springframework.security.web.authentication.logout.LogoutFilter@x, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@xx, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@xx, eu.openanalytics.containerproxy.util.AppRecoveryFilter@76332405, FilterChainProxy[Filter Chains: [[ Ant [pattern='/saml/login/**'], [org.springframework.security.saml.SAMLEntryPoint@xx]], [ Ant [pattern='/saml/logout/**'], [org.springframework.security.saml.SAMLLogoutFilter@xx]], [ Ant [pattern='/saml/SingleLogout/**'], [org.springframework.security.saml.SAMLLogoutProcessingFilter@xx]], [ Ant [pattern='/saml/SSO/**'], [eu.openanalytics.containerproxy.auth.impl.saml.AlreadyLoggedInFilter@xx, org.springframework.security.saml.SAMLProcessingFilter@xx]]]], org.springframework.security.web.savedrequest.RequestCacheAwareFilter@xx, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@xx, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@xx, org.springframework.security.web.session.SessionManagementFilter@xx, org.springframework.security.web.access.ExceptionTranslationFilter@xx, eu.openanalytics.shinyproxy.AuthenticationRequiredFilter@xx, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@xx]
2021-11-19 09:59:20.103 DEBUG 1 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Patterns [/**/favicon.???] in 'customFaviconHandlerMapping'
2021-11-19 09:59:20.114  WARN 1 --- [           main] org.thymeleaf.templatemode.TemplateMode  : [THYMELEAF][main] Template Mode 'HTML5' is deprecated. Using Template Mode 'HTML' instead.
2021-11-19 09:59:20.119  INFO 1 --- [           main] e.o.c.stat.StatCollectorFactory          : Enabled. Sending usage statistics to jdbc:xx.
2021-11-19 09:59:20.423  INFO 1 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService
2021-11-19 09:59:20.427  INFO 1 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'taskExecutor'
2021-11-19 09:59:20.696 DEBUG 1 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
2021-11-19 09:59:20.831 DEBUG 1 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : 42 mappings in 'requestMappingHandlerMapping'
2021-11-19 09:59:20.856 DEBUG 1 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Patterns [/webjars/**, /**, /assets/**] in 'resourceHandlerMapping'
2021-11-19 09:59:20.896  INFO 1 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page template: index
2021-11-19 09:59:20.945 DEBUG 1 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice
2021-11-19 09:59:21.404  INFO 1 --- [           main] o.s.l.c.support.AbstractContextSource    : Property 'userDn' not set - anonymous context will be used for read-write operations
2021-11-19 09:59:21.715  INFO 1 --- [           main] io.undertow                              : starting server: Undertow - 2.2.8.Final
2021-11-19 09:59:21.730  INFO 1 --- [           main] org.xnio                                 : XNIO version 3.8.4.Final
2021-11-19 09:59:21.756  INFO 1 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.8.4.Final
2021-11-19 09:59:21.855  INFO 1 --- [           main] org.jboss.threads                        : JBoss Threads version 3.1.0.Final
2021-11-19 09:59:21.941  INFO 1 --- [           main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port(s) 8080 (http)
2021-11-19 09:59:22.096  INFO 1 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext
2021-11-19 09:59:22.097  INFO 1 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 148 ms
2021-11-19 09:59:22.119  INFO 1 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint(s) beneath base path '/actuator'
2021-11-19 09:59:22.158 DEBUG 1 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : 1 mappings in 'requestMappingHandlerMapping'
2021-11-19 09:59:22.176 DEBUG 1 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Patterns [/webjars/**, /**, /assets/**] in 'resourceHandlerMapping'
2021-11-19 09:59:22.194 DEBUG 1 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
2021-11-19 09:59:22.199  INFO 1 --- [           main] io.undertow                              : starting server: Undertow - 2.2.8.Final
2021-11-19 09:59:22.202  INFO 1 --- [           main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port(s) 9090 (http)
2021-11-19 09:59:22.238  INFO 1 --- [           main] e.o.c.util.StartupEventListener          : Started ShinyProxy 0.8.10-2.0.2 (ContainerProxy 0.8.10)
2021-11-19 09:59:22.238  INFO 1 --- [           main] e.o.c.service.AppRecoveryService         : Recovery of running apps disabled
2021-11-19 09:59:22.335  INFO 1 --- [  XNIO-2 task-1] io.undertow.servlet                      : Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-11-19 09:59:22.336  INFO 1 --- [  XNIO-2 task-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2021-11-19 09:59:22.350  INFO 1 --- [  XNIO-2 task-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 14 ms
2021-11-19 09:59:22.356  INFO 1 --- [  XNIO-2 task-1] o.s.s.s.m.MetadataGeneratorFilter        : No default metadata configured, generating with default values, please pre-configure metadata for production use
2021-11-19 09:59:22.362  INFO 1 --- [  XNIO-2 task-1] o.s.s.saml.metadata.MetadataGenerator    : Generating metadata without signing key, KeyStore doesn't contain any default private key, or the signingKey specified in ExtendedMetadata cannot be found
2021-11-19 09:59:22.362  INFO 1 --- [  XNIO-2 task-1] o.s.s.saml.metadata.MetadataGenerator    : Generating metadata without encryption key, KeyStore doesn't contain any default private key, or the encryptionKey specified in ExtendedMetadata cannot be found
2021-11-19 09:59:22.362  INFO 1 --- [  XNIO-2 task-1] o.s.s.s.m.MetadataGeneratorFilter        : Created default metadata for system with entityID: urn:dxxx
2021-11-19 09:59:22.478 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
2021-11-19 09:59:22.507 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [org.springframework.boot.actuate.health.CompositeHealth@5c7197bc]
2021-11-19 09:59:27.274  INFO 1 --- [  XNIO-1 task-1] io.undertow.servlet                      : Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-11-19 09:59:27.274  INFO 1 --- [  XNIO-1 task-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2021-11-19 09:59:27.281  INFO 1 --- [  XNIO-1 task-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 7 ms
2021-11-19 09:59:27.347  INFO 1 --- [  XNIO-1 task-1] o.s.security.saml.log.SAMLDefaultLogger  : AuthNRequest;SUCCESS;10.132.0.3;urn:dxxx;urn:dxxx;;;
2021-11-19 09:59:30.449  INFO 1 --- [  XNIO-1 task-1] o.s.security.saml.log.SAMLDefaultLogger  : AuthNRequest;SUCCESS;10.0.0.1;urn:dxxx;urn:dxxx;;;
2021-11-19 09:59:31.441 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
2021-11-19 09:59:31.441 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [org.springframework.boot.actuate.health.CompositeHealth@22a8acec]
2021-11-19 09:59:32.245 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
2021-11-19 09:59:32.246 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [org.springframework.boot.actuate.health.CompositeHealth@35aae2cf]
2021-11-19 09:59:41.341  INFO 1 --- [  XNIO-1 task-1] o.s.security.saml.log.SAMLDefaultLogger  : AuthNRequest;SUCCESS;10.0.0.1;urn:dxxx;urn:dxxx;;;
2021-11-19 09:59:41.436 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
2021-11-19 09:59:41.437 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [org.springframework.boot.actuate.health.CompositeHealth@6150988b]
2021-11-19 09:59:42.245 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
2021-11-19 09:59:42.245 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [org.springframework.boot.actuate.health.CompositeHealth@46947a41]
2021-11-19 09:59:50.248  INFO 1 --- [  XNIO-1 task-1] o.s.security.saml.log.SAMLDefaultLogger  : AuthNRequest;SUCCESS;10.0.2.1;urn:dxxx;urn:dxxx;;;
2021-11-19 09:59:51.437 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
2021-11-19 09:59:51.437 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [org.springframework.boot.actuate.health.CompositeHealth@26403c50]
2021-11-19 09:59:52.246 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
2021-11-19 09:59:52.246 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [org.springframework.boot.actuate.health.CompositeHealth@492cd183]
2021-11-19 09:59:52.492  INFO 1 --- [  XNIO-1 task-1] colMessageXMLSignatureSecurityPolicyRule : SAML protocol message was not signed, skipping XML signature processing
2021-11-19 09:59:53.109  INFO 1 --- [  XNIO-1 task-1] o.s.security.saml.log.SAMLDefaultLogger  : AuthNResponse;SUCCESS;10.0.2.1;urn:dxxx;urn:dxxx;auth0|601abd0b27e50e006cb17df4;;
2021-11-19 09:59:53.110  INFO 1 --- [  XNIO-1 task-1] e.o.containerproxy.service.UserService   : User logged in [user: xxxx]
2021-11-19 09:59:53.110  INFO 1 --- [  XNIO-1 task-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-2 - Starting...
2021-11-19 09:59:53.646  INFO 1 --- [  XNIO-1 task-1] com.zaxxer.hikari.HikariDataSource       : HikariPool-2 - Start completed.
2021-11-19 09:59:53.834 DEBUG 1 --- [  XNIO-1 task-1] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.shinyproxy.controllers.IndexController#index(ModelMap, HttpServletRequest)
2021-11-19 09:59:53.990 DEBUG 1 --- [  XNIO-1 task-1] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html, application/xhtml+xml, image/avif, image/webp, application/xml;q=0.9, */*;q=0.8]
2021-11-19 09:59:54.717 DEBUG 1 --- [  XNIO-1 task-1] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/webjars/"]
2021-11-19 09:59:54.717 DEBUG 1 --- [  XNIO-1 task-2] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/", "classpath:/resources/", "classpath:/static/", "classpath:/public/"]
2021-11-19 09:59:54.720 DEBUG 1 --- [  XNIO-1 task-3] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.739 DEBUG 1 --- [  XNIO-1 task-5] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/webjars/"]
2021-11-19 09:59:54.739 DEBUG 1 --- [  XNIO-1 task-1] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.752 DEBUG 1 --- [  XNIO-1 task-4] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/webjars/"]
2021-11-19 09:59:54.752 DEBUG 1 --- [  XNIO-1 task-6] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.753 DEBUG 1 --- [  XNIO-1 task-2] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.759 DEBUG 1 --- [  XNIO-1 task-7] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.763 DEBUG 1 --- [  XNIO-1 task-2] o.s.w.s.r.ResourceHttpRequestHandler     : Resource not found
2021-11-19 09:59:54.764 DEBUG 1 --- [  XNIO-1 task-7] o.s.w.s.r.ResourceHttpRequestHandler     : Resource not found
2021-11-19 09:59:54.759 DEBUG 1 --- [  XNIO-1 task-1] o.s.w.s.r.ResourceHttpRequestHandler     : Resource not found
2021-11-19 09:59:54.763 DEBUG 1 --- [  XNIO-1 task-6] o.s.w.s.r.ResourceHttpRequestHandler     : Resource not found
2021-11-19 09:59:54.763 DEBUG 1 --- [  XNIO-1 task-8] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.766 DEBUG 1 --- [  XNIO-1 task-8] o.s.w.s.r.ResourceHttpRequestHandler     : Resource not found
2021-11-19 09:59:54.767 DEBUG 1 --- [ XNIO-1 task-10] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.767 DEBUG 1 --- [ XNIO-1 task-10] o.s.w.s.r.ResourceHttpRequestHandler     : Resource not found
2021-11-19 09:59:54.769 DEBUG 1 --- [  XNIO-1 task-9] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.771 DEBUG 1 --- [  XNIO-1 task-9] o.s.w.s.r.ResourceHttpRequestHandler     : Resource not found
2021-11-19 09:59:54.772 DEBUG 1 --- [  XNIO-1 task-3] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.773 DEBUG 1 --- [  XNIO-1 task-1] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.containerproxy.ui.ErrorController#handleError(ModelMap, HttpServletRequest, HttpServletResponse)
2021-11-19 09:59:54.774 DEBUG 1 --- [  XNIO-1 task-8] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.containerproxy.ui.ErrorController#handleError(ModelMap, HttpServletRequest, HttpServletResponse)
2021-11-19 09:59:54.776 DEBUG 1 --- [ XNIO-1 task-10] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.containerproxy.ui.ErrorController#handleError(ModelMap, HttpServletRequest, HttpServletResponse)
2021-11-19 09:59:54.776 DEBUG 1 --- [  XNIO-1 task-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.containerproxy.ui.ErrorController#handleError(ModelMap, HttpServletRequest, HttpServletResponse)
2021-11-19 09:59:54.773 DEBUG 1 --- [  XNIO-1 task-3] o.s.w.s.r.ResourceHttpRequestHandler     : Resource not found
2021-11-19 09:59:54.777 DEBUG 1 --- [  XNIO-1 task-1] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html]
2021-11-19 09:59:54.780 DEBUG 1 --- [ XNIO-1 task-10] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html]
2021-11-19 09:59:54.780 DEBUG 1 --- [  XNIO-1 task-3] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.containerproxy.ui.ErrorController#handleError(ModelMap, HttpServletRequest, HttpServletResponse)
2021-11-19 09:59:54.784 DEBUG 1 --- [  XNIO-1 task-9] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.containerproxy.ui.ErrorController#handleError(ModelMap, HttpServletRequest, HttpServletResponse)
2021-11-19 09:59:54.780 DEBUG 1 --- [  XNIO-1 task-8] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html]
2021-11-19 09:59:54.781 DEBUG 1 --- [  XNIO-1 task-2] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html]
2021-11-19 09:59:54.781 DEBUG 1 --- [  XNIO-1 task-5] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.781 DEBUG 1 --- [  XNIO-1 task-4] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.793 DEBUG 1 --- [  XNIO-1 task-7] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.containerproxy.ui.ErrorController#handleError(ModelMap, HttpServletRequest, HttpServletResponse)
2021-11-19 09:59:54.794 DEBUG 1 --- [  XNIO-1 task-7] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html]
2021-11-19 09:59:54.794 DEBUG 1 --- [  XNIO-1 task-3] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html]
2021-11-19 09:59:54.794 DEBUG 1 --- [  XNIO-1 task-9] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html]
2021-11-19 09:59:54.790 DEBUG 1 --- [  XNIO-1 task-6] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.containerproxy.ui.ErrorController#handleError(ModelMap, HttpServletRequest, HttpServletResponse)
2021-11-19 09:59:54.810 DEBUG 1 --- [  XNIO-1 task-6] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html]
2021-11-19 09:59:54.788 DEBUG 1 --- [  XNIO-1 task-5] o.s.w.s.r.ResourceHttpRequestHandler     : Resource not found
2021-11-19 09:59:54.817 DEBUG 1 --- [  XNIO-1 task-5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.containerproxy.ui.ErrorController#handleError(ModelMap, HttpServletRequest, HttpServletResponse)
2021-11-19 09:59:54.811 DEBUG 1 --- [  XNIO-1 task-4] o.s.w.s.r.ResourceHttpRequestHandler     : Resource not found
2021-11-19 09:59:54.818 DEBUG 1 --- [  XNIO-1 task-4] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.containerproxy.ui.ErrorController#handleError(ModelMap, HttpServletRequest, HttpServletResponse)
2021-11-19 09:59:54.820 DEBUG 1 --- [  XNIO-1 task-4] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html]
2021-11-19 09:59:54.820 DEBUG 1 --- [  XNIO-1 task-5] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html]
2021-11-19 09:59:54.871 DEBUG 1 --- [  XNIO-1 task-8] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.873 DEBUG 1 --- [  XNIO-1 task-4] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/webjars/"]
2021-11-19 09:59:54.876 DEBUG 1 --- [  XNIO-1 task-6] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.877 DEBUG 1 --- [  XNIO-1 task-5] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.878 DEBUG 1 --- [  XNIO-1 task-3] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.878 DEBUG 1 --- [  XNIO-1 task-2] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.880 DEBUG 1 --- [  XNIO-1 task-7] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.883 DEBUG 1 --- [  XNIO-1 task-2] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:54.886 DEBUG 1 --- [  XNIO-1 task-2] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["file:/opt/shinyproxy/templates/3col/assets/"]
2021-11-19 09:59:57.117 DEBUG 1 --- [  XNIO-1 task-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.shinyproxy.controllers.AppController#app(ModelMap, HttpServletRequest)
2021-11-19 09:59:57.128 DEBUG 1 --- [  XNIO-1 task-2] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html, application/xhtml+xml, image/avif, image/webp, application/xml;q=0.9, */*;q=0.8]
2021-11-19 09:59:57.245 DEBUG 1 --- [  XNIO-1 task-2] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/", "classpath:/resources/", "classpath:/static/", "classpath:/public/"]
2021-11-19 09:59:57.246 DEBUG 1 --- [  XNIO-1 task-8] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/webjars/"]
2021-11-19 09:59:57.251 DEBUG 1 --- [  XNIO-1 task-4] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/webjars/"]
2021-11-19 09:59:57.251 DEBUG 1 --- [  XNIO-1 task-7] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/webjars/"]
2021-11-19 09:59:57.254 DEBUG 1 --- [  XNIO-1 task-5] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/webjars/"]
2021-11-19 09:59:57.257 DEBUG 1 --- [  XNIO-1 task-9] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/", "classpath:/resources/", "classpath:/static/", "classpath:/public/"]
2021-11-19 09:59:57.257 DEBUG 1 --- [  XNIO-1 task-6] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/webjars/"]
2021-11-19 09:59:57.277 DEBUG 1 --- [  XNIO-1 task-3] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/", "classpath:/resources/", "classpath:/static/", "classpath:/public/"]
2021-11-19 09:59:57.340 DEBUG 1 --- [  XNIO-1 task-4] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/", "classpath:/resources/", "classpath:/static/", "classpath:/public/"]
2021-11-19 09:59:57.341 DEBUG 1 --- [  XNIO-1 task-8] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/", "classpath:/resources/", "classpath:/static/", "classpath:/public/"]
2021-11-19 09:59:57.347 DEBUG 1 --- [  XNIO-1 task-3] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/", "classpath:/resources/", "classpath:/static/", "classpath:/public/"]
2021-11-19 09:59:57.348 DEBUG 1 --- [  XNIO-1 task-5] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/", "classpath:/resources/", "classpath:/static/", "classpath:/public/"]
2021-11-19 09:59:57.349 DEBUG 1 --- [  XNIO-1 task-2] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/", "classpath:/resources/", "classpath:/static/", "classpath:/public/"]
2021-11-19 09:59:57.356 DEBUG 1 --- [  XNIO-1 task-3] o.s.w.s.r.ResourceHttpRequestHandler     : Resource not found
2021-11-19 09:59:57.358 DEBUG 1 --- [  XNIO-1 task-3] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.containerproxy.ui.ErrorController#handleError(ModelMap, HttpServletRequest, HttpServletResponse)
2021-11-19 09:59:57.360 DEBUG 1 --- [  XNIO-1 task-3] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html]
2021-11-19 09:59:57.438 DEBUG 1 --- [  XNIO-1 task-3] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.shinyproxy.controllers.AppController#startApp(HttpServletRequest)
2021-11-19 09:59:57.961 ERROR 1 --- [  XNIO-1 task-3] io.undertow.request                      : UT005023: Exception handling request to /app/hematoatlas

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is eu.openanalytics.containerproxy.ContainerProxyException: Container failed to start
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) ~[spring-webmvc-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) ~[spring-webmvc-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:517) ~[jakarta.servlet-api-4.0.4.jar!/:4.0.4]
    at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:584) ~[jakarta.servlet-api-4.0.4.jar!/:4.0.4]
    at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:209) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at eu.openanalytics.containerproxy.auth.impl.saml.AlreadyLoggedInFilter.doFilter(AlreadyLoggedInFilter.java:50) ~[containerproxy-0.8.10.jar!/:0.8.10]
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at org.springframework.security.saml.metadata.MetadataDisplayFilter.doFilter(MetadataDisplayFilter.java:84) ~[spring-security-saml2-core-1.0.10.RELEASE.jar!/:1.0.10.RELEASE]
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at org.springframework.security.saml.metadata.MetadataGeneratorFilter.doFilter(MetadataGeneratorFilter.java:87) ~[spring-security-saml2-core-1.0.10.RELEASE.jar!/:1.0.10.RELEASE]
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at org.springframework.security.saml.SAMLLogoutProcessingFilter.processLogout(SAMLLogoutProcessingFilter.java:209) ~[spring-security-saml2-core-1.0.10.RELEASE.jar!/:1.0.10.RELEASE]
    at org.springframework.security.saml.SAMLLogoutProcessingFilter.doFilter(SAMLLogoutProcessingFilter.java:107) ~[spring-security-saml2-core-1.0.10.RELEASE.jar!/:1.0.10.RELEASE]
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at org.springframework.security.saml.SAMLLogoutFilter.processLogout(SAMLLogoutFilter.java:168) ~[spring-security-saml2-core-1.0.10.RELEASE.jar!/:1.0.10.RELEASE]
    at org.springframework.security.saml.SAMLLogoutFilter.doFilter(SAMLLogoutFilter.java:110) ~[spring-security-saml2-core-1.0.10.RELEASE.jar!/:1.0.10.RELEASE]
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at org.springframework.security.saml.SAMLEntryPoint.doFilter(SAMLEntryPoint.java:102) ~[spring-security-saml2-core-1.0.10.RELEASE.jar!/:1.0.10.RELEASE]
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at eu.openanalytics.containerproxy.util.AppRecoveryFilter.doFilter(AppRecoveryFilter.java:63) ~[containerproxy-0.8.10.jar!/:0.8.10]
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at eu.openanalytics.shinyproxy.AuthenticationRequiredFilter.doFilter(AuthenticationRequiredFilter.java:70) ~[classes!/:0.8.10-2.0.2]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:158) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:209) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at eu.openanalytics.containerproxy.util.AppRecoveryFilter.doFilter(AppRecoveryFilter.java:63) ~[containerproxy-0.8.10.jar!/:0.8.10]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:155) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:92) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:77) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.saml.metadata.MetadataDisplayFilter.doFilter(MetadataDisplayFilter.java:84) ~[spring-security-saml2-core-1.0.10.RELEASE.jar!/:1.0.10.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.saml.metadata.MetadataGeneratorFilter.doFilter(MetadataGeneratorFilter.java:87) ~[spring-security-saml2-core-1.0.10.RELEASE.jar!/:1.0.10.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) ~[spring-security-web-5.3.9.RELEASE.jar!/:5.3.9.RELEASE]
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) ~[spring-web-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) ~[spring-web-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:97) ~[spring-boot-actuator-2.3.12.RELEASE.jar!/:2.3.12.RELEASE]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:104) ~[undertow-core-2.2.8.Final.jar!/:2.2.8.Final]
    at eu.openanalytics.containerproxy.util.ProxyMappingManager$ProxyPathHandler.handleRequest(ProxyMappingManager.java:160) ~[containerproxy-0.8.10.jar!/:0.8.10]
    at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) ~[undertow-core-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) ~[undertow-core-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) ~[undertow-core-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.server.handlers.SameSiteCookieHandler.handleRequest(SameSiteCookieHandler.java:97) ~[undertow-core-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99) ~[undertow-servlet-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.server.Connectors.executeRootHandler(Connectors.java:387) ~[undertow-core-2.2.8.Final.jar!/:2.2.8.Final]
    at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841) ~[undertow-core-2.2.8.Final.jar!/:2.2.8.Final]
    at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) ~[jboss-threads-3.1.0.Final.jar!/:3.1.0.Final]
    at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019) ~[jboss-threads-3.1.0.Final.jar!/:3.1.0.Final]
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558) ~[jboss-threads-3.1.0.Final.jar!/:3.1.0.Final]
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449) ~[jboss-threads-3.1.0.Final.jar!/:3.1.0.Final]
    at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280) ~[xnio-api-3.8.4.Final.jar!/:3.8.4.Final]
    at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
Caused by: eu.openanalytics.containerproxy.ContainerProxyException: Container failed to start
    at eu.openanalytics.containerproxy.service.ProxyService.startProxy(ProxyService.java:283) ~[containerproxy-0.8.10.jar!/:0.8.10]
    at eu.openanalytics.shinyproxy.controllers.AppController.getOrStart(AppController.java:174) ~[classes!/:0.8.10-2.0.2]
    at eu.openanalytics.shinyproxy.controllers.AppController.startApp(AppController.java:107) ~[classes!/:0.8.10-2.0.2]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:na]
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:na]
    at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
    at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) ~[spring-web-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) ~[spring-web-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) ~[spring-webmvc-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) ~[spring-webmvc-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) ~[spring-webmvc-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) ~[spring-webmvc-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) ~[spring-webmvc-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.2.15.RELEASE.jar!/:5.2.15.RELEASE]
    ... 134 common frames omitted
Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Operation: [create]  for kind: [Pod]  with name: [null]  in namespace: [default]  failed.
    at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:64) ~[kubernetes-client-4.2.2.jar!/:na]
    at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:72) ~[kubernetes-client-4.2.2.jar!/:na]
    at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:328) ~[kubernetes-client-4.2.2.jar!/:na]
    at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:321) ~[kubernetes-client-4.2.2.jar!/:na]
    at eu.openanalytics.containerproxy.backend.kubernetes.KubernetesBackend.startContainer(KubernetesBackend.java:277) ~[containerproxy-0.8.10.jar!/:0.8.10]
    at eu.openanalytics.containerproxy.backend.AbstractContainerBackend.doStartProxy(AbstractContainerBackend.java:163) ~[containerproxy-0.8.10.jar!/:0.8.10]
    at eu.openanalytics.containerproxy.backend.AbstractContainerBackend.startProxy(AbstractContainerBackend.java:129) ~[containerproxy-0.8.10.jar!/:0.8.10]
    at eu.openanalytics.containerproxy.service.ProxyService.startProxy(ProxyService.java:279) ~[containerproxy-0.8.10.jar!/:0.8.10]
    ... 149 common frames omitted
Caused by: java.net.ConnectException: Failed to connect to /127.0.0.1:8001
    at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:265) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:183) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.java:224) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.java:108) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.java:88) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.connection.Transmitter.newExchange(Transmitter.java:169) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:41) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:94) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:88) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) ~[okhttp-3.14.9.jar!/:na]
    at io.fabric8.kubernetes.client.utils.BackwardsCompatibilityInterceptor.intercept(BackwardsCompatibilityInterceptor.java:119) ~[kubernetes-client-4.2.2.jar!/:na]
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) ~[okhttp-3.14.9.jar!/:na]
    at io.fabric8.kubernetes.client.utils.ImpersonatorInterceptor.intercept(ImpersonatorInterceptor.java:68) ~[kubernetes-client-4.2.2.jar!/:na]
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) ~[okhttp-3.14.9.jar!/:na]
    at io.fabric8.kubernetes.client.utils.HttpClientUtils.lambda$createHttpClient$1(HttpClientUtils.java:100) ~[kubernetes-client-4.2.2.jar!/:na]
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.RealCall.execute(RealCall.java:81) ~[okhttp-3.14.9.jar!/:na]
    at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:404) ~[kubernetes-client-4.2.2.jar!/:na]
    at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:365) ~[kubernetes-client-4.2.2.jar!/:na]
    at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleCreate(OperationSupport.java:234) ~[kubernetes-client-4.2.2.jar!/:na]
    at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleCreate(BaseOperation.java:735) ~[kubernetes-client-4.2.2.jar!/:na]
    at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:325) ~[kubernetes-client-4.2.2.jar!/:na]
    ... 154 common frames omitted
Caused by: java.net.ConnectException: Connection refused (Connection refused)
    at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:na]
    at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) ~[na:na]
    at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) ~[na:na]
    at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source) ~[na:na]
    at java.base/java.net.SocksSocketImpl.connect(Unknown Source) ~[na:na]
    at java.base/java.net.Socket.connect(Unknown Source) ~[na:na]
    at okhttp3.internal.platform.Platform.connectSocket(Platform.java:130) ~[okhttp-3.14.9.jar!/:na]
    at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.java:263) ~[okhttp-3.14.9.jar!/:na]
    ... 186 common frames omitted

2021-11-19 09:59:57.964 DEBUG 1 --- [  XNIO-1 task-3] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to eu.openanalytics.containerproxy.ui.ErrorController#handleError(ModelMap, HttpServletRequest, HttpServletResponse)
2021-11-19 09:59:57.967 DEBUG 1 --- [  XNIO-1 task-3] o.s.w.s.v.ContentNegotiatingViewResolver : Selected 'text/html' given [text/html]
2021-11-19 09:59:58.062 DEBUG 1 --- [  XNIO-1 task-3] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/webjars/"]
2021-11-19 09:59:58.064 DEBUG 1 --- [  XNIO-1 task-5] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/webjars/"]
2021-11-19 09:59:58.066 DEBUG 1 --- [  XNIO-1 task-8] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/", "classpath:/resources/", "classpath:/static/", "classpath:/public/"]
2021-11-19 09:59:58.069 DEBUG 1 --- [  XNIO-1 task-2] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped to ResourceHttpRequestHandler ["classpath:/META-INF/resources/webjars/"]
2021-11-19 10:00:01.436 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
2021-11-19 10:00:01.436 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [org.springframework.boot.actuate.health.CompositeHealth@3591df7f]
2021-11-19 10:00:02.244 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
2021-11-19 10:00:02.245 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [org.springframework.boot.actuate.health.CompositeHealth@62a95400]
2021-11-19 10:00:11.436 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
2021-11-19 10:00:11.436 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [org.springframework.boot.actuate.health.CompositeHealth@6d46ce45]
2021-11-19 10:00:11.889  INFO 1 --- [  XNIO-1 task-2] o.s.security.saml.log.SAMLDefaultLogger  : AuthNRequest;SUCCESS;10.132.0.3;urn:dxxx;urn:dxxx;;;
2021-11-19 10:00:12.244 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/vnd.spring-boot.actuator.v3+json', given [*/*] and supported [application/vnd.spring-boot.actuator.v3+json, application/vnd.spring-boot.actuator.v2+json, application/json]
2021-11-19 10:00:12.245 DEBUG 1 --- [  XNIO-2 task-1] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [org.springframework.boot.actuate.health.CompositeHealth@391ad9b4]
2021-11-19 10:00:12.717  INFO 1 --- [  XNIO-1 task-2] o.s.security.saml.log.SAMLDefaultLogger  : AuthNRequest;SUCCESS;10.0.0.1;urn:dxxx;urn:dxxx;;;
LEDfan commented 2 years ago

Hi

Thanks for opening this issue. I never saw this issue starting to appear with the release of 2.6.0. Can you provide some additional information?

Thanks

templary commented 2 years ago

Hello,

No, I don't use sidecar

For production version of ShinyProxy we are using G Cloud Kubernetes version 1.19.12

I happen on every app start. But just in production environment (when shinyproxy is also in Kubernetes). On my local dev version it works completely fine.

application.yml:
----
logging:
  file: shinyproxy.log
proxy:
  admin-groups: XXXXXX
  authentication: saml
  container-backend: kubernetes
  container-log-path: /XXXXXX
  container-wait-time: 180000
  favicon-path: /opt/XXXXXX
  heartbeat-rate: 10000
  heartbeat-timeout: 60000
  kubernetes:
    internal-networking: true
    node-selector:
      cloud.google.com/gke-boot-disk: pd-ssd
  landing-page: /
  livenessProbe: {}
  logo-url: XXXXXXXXXXXX
  port: 8080
  readinessProbe: {}
  specs:
  - container-cmd:
    - R
    - -e
    - Sys.time(); options('shiny.port'=3838,shiny.host='0.0.0.0'); XXXXXX::run_app(launch.browser
      = FALSE, quiet = F)
    container-cpu-limit: 1000m
    container-cpu-request: 200m
    container-env:
      SMTP_PASSWORD: XXXXXX
      SMTP_USERNAME: XXXXXX
    container-image: XXXXXX
    container-memory-limit: 1Gi
    container-memory-request: 100Mi
    description: XXXXXX
    display-name: XXXXXX
    id: acountprofile
  - access-groups:
    - admins
    - developer
    - internal
    container-cmd:
    - R
    - -e
    - Sys.time(); options('shiny.port'=3838,shiny.host='0.0.0.0'); XXXXXX::run_app(launch.browser
      = FALSE, quiet = F)
    container-cpu-limit: 1000m
    container-cpu-request: 200m
    container-env:
      R_CONFIG_ACTIVE: XXXXXX
    container-image: XXXXXX
    container-memory-limit: 1Gi
    container-memory-request: 100Mi
    description: XXXXXX
    display-name: XXXXXX
    id: aXXXXXX
    kubernetes-pod-patches: |
      - op: add
        path: /spec/volumes
        value:
          - name: nfs-storage-api
            persistentVolumeClaim:
              claimName:  XXXXX
      - op: add
        path: /spec/containers/0/volumeMounts
        value:
          - name: XXXXX
            mountPath: XXXXXX
.
.
.
.
LEDfan commented 2 years ago

Hi

This seems like a strange issue. The Kubernetes client library should be able to auto discover the correct URL of the k8s API server. Are you sure you did not specify the proxy.kubernetes.url property? (maybe using an environment variable or something?) If this isn't the case you could maybe try specifying the proxy.kubernetes.url yourself. You could try setting it to https://kubernetes.default or https://kubernetes.default.svc.cluster.local. The exact domain my depend on your cluster configuration.

templary commented 2 years ago

Hi thank you for your reply!

We solved problem just by adding this line to config file. Both of them make apps work.

url: https://kubernetes.default.svc.cluster.local 
url: https://kubernetes.default