gislab-augsburg / helm-charts

it@M Helm Charts
https://artifacthub.io/packages/search?repo=it-at-m
MIT License
0 stars 0 forks source link

dave-frontend: invalid credentials #20

Open gislab-augsburg opened 5 months ago

gislab-augsburg commented 5 months ago

Error in dave-frontend GUI (Browser):

Login with OAuth 2.0 Invalid credentials https://ssodev.muenchen.de/auth/realms/Dave

capture_001_09042024_151845

Details in dave-frontend pod log:

``` Starting the Java application using /opt/jboss/container/java/run/run-java.sh ... INFO exec -a "java" java -Djavax.net.ssl.trustStore=/mnt/cacerts-lhm -Djavax.net.ssl.trustStorePassword=changeit --add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED -cp "." -jar /deployments/spring-boot-application.jar INFO running in /deployments Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 --------------------------------------------------------------------------------------------------------------------------------------------------- _____ __ __ | __ \ /\ \ \ / / | | | | / \ \ \ / / ___ | | | | / /\ \ \ \/ / / _ \ | |__| | _ / ____ \ _ \ / | __/ _ |_____/ (_) /_/ \_\ (_) \/ \___| (_) _________________________ /\\ _____ | | | | | | \ ,-----, / \\____/__|__\_ |___|_____|_____|____|_|___\ ,--'---:---`--, / | _ | `| | | | \ ==(o)-----(o)==J `(o)-------(o)= --(o)(o)--------------(o)--' Datenbank und Auswertungen von Verkehrszählungen Application Name : ${spring.application.name} Spring Boot Version : (v2.7.8) --------------------------------------------------------------------------------------------------------------------------------------------------- 2024.04.09 09:46:25.901 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | ApiGatewayApplication | [StartupInfoLogger.java : 55] - Starting ApiGatewayApplication using Java 11.0.22 on dave-frontend-apigateway-service-765989ccdd-drk9b with PID 1 (/deployments/spring-boot-application.jar started by 1003100000 in /deployments) 2024.04.09 09:46:25.906 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | ApiGatewayApplication | [StartupInfoLogger.java : 56] - Running with Spring Boot v2.7.8, Spring v5.3.25 2024.04.09 09:46:25.907 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | ApiGatewayApplication | [SpringApplication.java : 637] - The following 1 profile is active: "dev" 2024.04.09 09:46:35.393 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | GenericScope | [GenericScope.java : 283] - BeanFactory id=6e12c5ef-3aaa-3381-b986-bfdc8211aeb3 2024.04.09 09:46:42.100 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | logo | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] + + o o o o---o o----o o o---o o o----o o--o--o + + + + | | / \ / | | / / \ | | + + + + + o----o o o o o----o | o o o o----o | + + + + | | / \ / | | \ / \ | | + + o o o o o---o o----o o----o o---o o o o----o o 2024.04.09 09:46:42.101 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Copyright (c) 2008-2022, Hazelcast, Inc. All Rights Reserved. 2024.04.09 09:46:42.101 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Hazelcast Platform 5.1.5 (20221114 - c52d6ff) starting at [10.138.42.81]:5701 2024.04.09 09:46:42.101 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Cluster name: dave-frontend-apigateway-service-session_replication_group 2024.04.09 09:46:42.102 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Integrity Checker is disabled. Fail-fast on corrupted executables will not be performed. To enable integrity checker do one of the following: - Change member config using Java API: config.setIntegrityCheckerEnabled(true); - Change XML/YAML configuration property: Set hazelcast.integrity-checker.enabled to true - Add system property: -Dhz.integritychecker.enabled=true (for Hazelcast embedded, works only when loading config via Config.load) - Add environment variable: HZ_INTEGRITYCHECKER_ENABLED=true (recommended when running container image. For Hazelcast embedded, works only when loading config via Config.load) 2024.04.09 09:46:42.106 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] The Jet engine is disabled. To enable the Jet engine on the members, do one of the following: - Change member config using Java API: config.getJetConfig().setEnabled(true) - Change XML/YAML configuration property: Set hazelcast.jet.enabled to true - Add system property: -Dhz.jet.enabled=true (for Hazelcast embedded, works only when loading config via Config.load) - Add environment variable: HZ_JET_ENABLED=true (recommended when running container image. For Hazelcast embedded, works only when loading config via Config.load) 2024.04.09 09:46:45.497 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | DiscoveryService | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Kubernetes Discovery properties: { service-dns: null, service-dns-timeout: 5, service-name: dave-frontend-apigateway-service, service-port: 0, service-label: null, service-label-value: true, namespace: dave-external, pod-label: null, pod-label-value: null, resolve-not-ready-addresses: true, expose-externally-mode: AUTO, use-node-name-as-external-address: false, service-per-pod-label: null, service-per-pod-label-value: null, kubernetes-api-retries: 3, kubernetes-master: https://kubernetes.default.svc} 2024.04.09 09:46:47.194 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | DiscoveryService | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Kubernetes Discovery activated with mode: KUBERNETES_API 2024.04.09 09:46:47.197 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | security | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Enable DEBUG/FINE log level for log category com.hazelcast.system.security or use -Dhazelcast.security.recommendations system property to see 🔒 security recommendations and the status of current config. 2024.04.09 09:46:47.807 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | Node | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Using Discovery SPI 2024.04.09 09:46:47.813 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | WARN | [main] | CPSubsystem | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] CP Subsystem is not enabled. CP data structures will operate in UNSAFE mode! Please note that UNSAFE mode will not provide strong consistency guarantees. 2024.04.09 09:46:49.889 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | Diagnostics | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Diagnostics disabled. To enable add -Dhazelcast.diagnostics.enabled=true to the JVM arguments. 2024.04.09 09:46:49.897 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | LifecycleService | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] [10.138.42.81]:5701 is STARTING 2024.04.09 09:46:50.193 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | DiscoveryService | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Cannot fetch the current zone, ZONE_AWARE feature is disabled 2024.04.09 09:46:50.296 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | WARN | [main] | DiscoveryService | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Cannot fetch name of the node, NODE_AWARE feature is disabled 2024.04.09 09:46:50.401 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | WARN | [main] | KubernetesClient | [StandardLoggerFactory.java : 56] - Kubernetes API access is forbidden! Starting standalone. To use Hazelcast Kubernetes discovery, configure the required RBAC. For 'default' service account in 'default' namespace execute: `kubectl apply -f https://raw.githubusercontent.com/hazelcast/hazelcast/master/kubernetes-rbac.yaml` 2024.04.09 09:46:55.791 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | ClusterService | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Members {size:1, ver:1} [ Member [10.138.42.81]:5701 - f0f2db40-1c07-4ff4-9b4b-745aebf180b1 this ] 2024.04.09 09:46:55.890 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | LifecycleService | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] [10.138.42.81]:5701 is STARTED 2024.04.09 09:46:55.897 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [hz.dave-frontend-apigateway-service-hazl_instance.HealthMonitor] | HealthMonitor | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] processors=1, physical.memory.total=512.0M, physical.memory.free=309.6M, swap.space.total=0, swap.space.free=0, heap.memory.used=25.6M, heap.memory.free=17.4M, heap.memory.total=43.0M, heap.memory.max=123.8M, heap.memory.used/total=58.61%, heap.memory.used/max=20.36%, minor.gc.count=122, minor.gc.time=1183ms, major.gc.count=4, major.gc.time=498ms, load.process=0.00%, load.system=83.43%, load.systemAverage=4.11, thread.count=38, thread.peakCount=38, cluster.timeDiff=0, event.q.size=0, executor.q.async.size=0, executor.q.client.size=0, executor.q.client.query.size=0, executor.q.client.blocking.size=0, executor.q.query.size=0, executor.q.scheduled.size=0, executor.q.io.size=0, executor.q.system.size=0, executor.q.operations.size=0, executor.q.priorityOperation.size=0, operations.completed.count=0, executor.q.mapLoad.size=0, executor.q.mapLoadAllKeys.size=0, executor.q.cluster.size=0, executor.q.response.size=0, operations.running.count=0, operations.pending.invocations.percentage=0.00%, operations.pending.invocations.count=0, proxy.count=0, clientEndpoint.count=0, connection.active.count=0, client.connection.count=0, connection.count=0 2024.04.09 09:46:57.101 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | ReactiveUserDetailsServiceAutoConfiguration | [ReactiveUserDetailsServiceAutoConfiguration.java : 87] - Using generated security password: db5caa93-f3b0-4c50-bb38-70717d8dff16 2024.04.09 09:46:59.020 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RestTemplate | [CompositeLog.java : 127] - HTTP GET https://ssodev.muenchen.de/auth/realms/Dave/.well-known/openid-configuration 2024.04.09 09:46:59.101 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RestTemplate | [CompositeLog.java : 127] - Accept=[application/json, application/*+json] 2024.04.09 09:46:59.291 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RestTemplate | [CompositeLog.java : 127] - Response 200 OK 2024.04.09 09:46:59.296 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RestTemplate | [CompositeLog.java : 127] - Reading to [java.util.Map] 2024.04.09 09:47:01.492 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | GuiConfiguration | [GuiConfiguration.java : 38] - Location gui entry point: class path resource [static/index.html] 2024.04.09 09:47:02.502 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | Version | [Version.java : 21] - HV000001: Hibernate Validator 6.2.5.Final 2024.04.09 09:47:05.900 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | GatewayProperties | [GatewayProperties.java : 79] - Routes supplied from Gateway Properties: [RouteDefinition{id='sso', predicates=[PredicateDefinition{name='Path', args={_genkey_0=/api/sso/userinfo}}], filters=[FilterDefinition{name='RewritePath', args={_genkey_0=/api/sso/userinfo, _genkey_1=/auth/realms/Dave/protocol/openid-connect/userinfo}}], uri=https://ssodev.muenchen.de/, order=0, metadata={}}, RouteDefinition{id='backend', predicates=[PredicateDefinition{name='Path', args={_genkey_0=/api/dave-backend-service/**}}], filters=[FilterDefinition{name='Retry', args={backoff.firstbackoff=10ms, methods=GET,POST, backoff.maxbackoff=50ms, backoff.factor=2, retries=2, backoff.basedonpreviousvalue=false}}, FilterDefinition{name='RewritePath', args={_genkey_0=/api/dave-backend-service/(?.*), _genkey_1=/$\{urlsegments}}}, FilterDefinition{name='RemoveResponseHeader', args={_genkey_0=WWW-Authenticate}}], uri=http://dave-backend-service:8080/, order=0, metadata={}}, RouteDefinition{id='eai', predicates=[PredicateDefinition{name='Path', args={_genkey_0=/api/dave-eai-service/**}}], filters=[FilterDefinition{name='RewritePath', args={_genkey_0=/api/dave-eai-service/(?.*), _genkey_1=/$\{urlsegments}}}, FilterDefinition{name='RemoveResponseHeader', args={_genkey_0=WWW-Authenticate}}], uri=http://dave-eai-service:8080/, order=0, metadata={response-timeout=1800000}}] 2024.04.09 09:47:07.208 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 88] - Loaded RoutePredicateFactory [After] 2024.04.09 09:47:07.209 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 88] - Loaded RoutePredicateFactory [Before] 2024.04.09 09:47:07.209 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 88] - Loaded RoutePredicateFactory [Between] 2024.04.09 09:47:07.209 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 88] - Loaded RoutePredicateFactory [Cookie] 2024.04.09 09:47:07.209 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 88] - Loaded RoutePredicateFactory [Header] 2024.04.09 09:47:07.209 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 88] - Loaded RoutePredicateFactory [Host] 2024.04.09 09:47:07.210 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 88] - Loaded RoutePredicateFactory [Method] 2024.04.09 09:47:07.210 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 88] - Loaded RoutePredicateFactory [Path] 2024.04.09 09:47:07.210 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 88] - Loaded RoutePredicateFactory [Query] 2024.04.09 09:47:07.210 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 88] - Loaded RoutePredicateFactory [ReadBody] 2024.04.09 09:47:07.210 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 88] - Loaded RoutePredicateFactory [RemoteAddr] 2024.04.09 09:47:07.210 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 88] - Loaded RoutePredicateFactory [XForwardedRemoteAddr] 2024.04.09 09:47:07.210 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 88] - Loaded RoutePredicateFactory [Weight] 2024.04.09 09:47:07.210 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 88] - Loaded RoutePredicateFactory [CloudFoundryRouteService] 2024.04.09 09:47:09.492 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RequestMappingHandlerMapping | [AbstractHandlerMethodMapping.java : 165] - 1 mappings in 'requestMappingHandlerMapping' 2024.04.09 09:47:09.500 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouterFunctionMapping | [RouterFunctionMapping.java : 145] - 1 RouterFunction(s) in 'routerFunctionMapping' 2024.04.09 09:47:09.601 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | SimpleUrlHandlerMapping | [SimpleUrlHandlerMapping.java : 170] - Patterns [/webjars/**, /**, /js/**, /css/**, /fonts/**, /img/**] in 'resourceHandlerMapping' 2024.04.09 09:47:10.705 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | EndpointLinksResolver | [EndpointLinksResolver.java : 58] - Exposing 1 endpoint(s) beneath base path '/actuator' 2024.04.09 09:47:11.005 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | ControllerMethodResolver | [ControllerMethodResolver.java : 246] - ControllerAdvice beans: none 2024.04.09 09:47:11.793 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | HttpWebHandlerAdapter | [HttpWebHandlerAdapter.java : 222] - enableLoggingRequestDetails='false': form data and headers will be masked to prevent unsafe logging of potentially sensitive data 2024.04.09 09:47:14.005 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | NettyWebServer | [NettyWebServer.java : 111] - Netty started on port 8080 2024.04.09 09:47:14.291 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 206] - RouteDefinition sso applying {_genkey_0=/api/sso/userinfo} to Path 2024.04.09 09:47:14.500 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition sso applying filter {_genkey_0=Expires} to RemoveResponseHeader 2024.04.09 09:47:14.591 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition sso applying filter {_genkey_0=cookie} to RemoveRequestHeader 2024.04.09 09:47:14.593 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition sso applying filter {_genkey_0=x-xsrf-token} to RemoveRequestHeader 2024.04.09 09:47:14.593 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition sso applying filter {} to TokenRelay 2024.04.09 09:47:14.595 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition sso applying filter {_genkey_0=/api/sso/userinfo, _genkey_1=/auth/realms/Dave/protocol/openid-connect/userinfo} to RewritePath 2024.04.09 09:47:14.610 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 109] - RouteDefinition matched: sso 2024.04.09 09:47:14.611 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 206] - RouteDefinition backend applying {_genkey_0=/api/dave-backend-service/**} to Path 2024.04.09 09:47:14.612 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition backend applying filter {_genkey_0=Expires} to RemoveResponseHeader 2024.04.09 09:47:14.613 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition backend applying filter {_genkey_0=cookie} to RemoveRequestHeader 2024.04.09 09:47:14.614 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition backend applying filter {_genkey_0=x-xsrf-token} to RemoveRequestHeader 2024.04.09 09:47:14.614 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition backend applying filter {} to TokenRelay 2024.04.09 09:47:14.689 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition backend applying filter {backoff.firstbackoff=10ms, methods=GET,POST, backoff.maxbackoff=50ms, backoff.factor=2, retries=2, backoff.basedonpreviousvalue=false} to Retry 2024.04.09 09:47:14.997 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition backend applying filter {_genkey_0=/api/dave-backend-service/(?.*), _genkey_1=/$\{urlsegments}} to RewritePath 2024.04.09 09:47:14.998 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition backend applying filter {_genkey_0=WWW-Authenticate} to RemoveResponseHeader 2024.04.09 09:47:14.999 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 109] - RouteDefinition matched: backend 2024.04.09 09:47:14.999 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 206] - RouteDefinition eai applying {_genkey_0=/api/dave-eai-service/**} to Path 2024.04.09 09:47:15.000 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition eai applying filter {_genkey_0=Expires} to RemoveResponseHeader 2024.04.09 09:47:15.001 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition eai applying filter {_genkey_0=cookie} to RemoveRequestHeader 2024.04.09 09:47:15.002 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition eai applying filter {_genkey_0=x-xsrf-token} to RemoveRequestHeader 2024.04.09 09:47:15.003 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition eai applying filter {} to TokenRelay 2024.04.09 09:47:15.003 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition eai applying filter {_genkey_0=/api/dave-eai-service/(?.*), _genkey_1=/$\{urlsegments}} to RewritePath 2024.04.09 09:47:15.004 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 133] - RouteDefinition eai applying filter {_genkey_0=WWW-Authenticate} to RemoveResponseHeader 2024.04.09 09:47:15.005 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RouteDefinitionRouteLocator | [RouteDefinitionRouteLocator.java : 109] - RouteDefinition matched: eai 2024.04.09 09:47:15.097 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | GatewayMetricsFilter | [RouteDefinitionMetrics.java : 66] - New routes count: 3 2024.04.09 09:47:15.102 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | ApiGatewayApplication | [StartupInfoLogger.java : 61] - Started ApiGatewayApplication in 54.11 seconds (JVM running for 57.343) 2024.04.09 09:47:56.999 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [reactor-http-epoll-2] | HttpWebHandlerAdapter | [LogFormatUtils.java : 119] - [dc95f5e8-1] HTTP GET "/" 2024.04.09 09:47:57.205 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 0ed1e697a086586f] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /' doesn't match 'null /oauth2/authorization/{registrationId}' 2024.04.09 09:47:57.208 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 0ed1e697a086586f] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /' doesn't match 'null /login/oauth2/code/{registrationId}' 2024.04.09 09:47:57.214 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 0ed1e697a086586f] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 57] - Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/login', method=GET} 2024.04.09 09:47:57.215 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 0ed1e697a086586f] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /' doesn't match 'GET /login' 2024.04.09 09:47:57.216 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 0ed1e697a086586f] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 60] - No matches found 2024.04.09 09:47:57.218 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 0ed1e697a086586f] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 57] - Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/logout', method=GET} 2024.04.09 09:47:57.219 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 0ed1e697a086586f] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /' doesn't match 'GET /logout' 2024.04.09 09:47:57.220 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 0ed1e697a086586f] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 60] - No matches found 2024.04.09 09:47:57.396 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 6e6a729b24a4b182] | INFO | [reactor-http-epoll-2] | PartitionStateManager | [StandardLoggerFactory.java : 56] - [10.138.42.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Initializing cluster partition table arrangement... 2024.04.09 09:47:57.807 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | DefaultWebSessionManager | [DefaultWebSessionManager.java : 94] - Created new WebSession. 2024.04.09 09:47:57.809 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 57] - Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/logout', method=POST} 2024.04.09 09:47:57.810 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 78] - Request 'GET /' doesn't match 'POST /logout' 2024.04.09 09:47:57.810 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 60] - No matches found 2024.04.09 09:47:57.894 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 57] - Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/api/**', method=OPTIONS} 2024.04.09 09:47:57.895 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 78] - Request 'GET /' doesn't match 'OPTIONS /api/**' 2024.04.09 09:47:57.895 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 60] - No matches found 2024.04.09 09:47:57.896 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 57] - Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/loggedout.html', method=null} 2024.04.09 09:47:57.896 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /' doesn't match 'null /loggedout.html' 2024.04.09 09:47:57.896 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 60] - No matches found 2024.04.09 09:47:57.897 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 57] - Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/api/*/info', method=null} 2024.04.09 09:47:57.897 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /' doesn't match 'null /api/*/info' 2024.04.09 09:47:57.897 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 57] - Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/actuator/health', method=null} 2024.04.09 09:47:57.898 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /' doesn't match 'null /actuator/health' 2024.04.09 09:47:57.898 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 57] - Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/actuator/info', method=null} 2024.04.09 09:47:57.898 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /' doesn't match 'null /actuator/info' 2024.04.09 09:47:57.899 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 57] - Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/actuator/metrics', method=null} 2024.04.09 09:47:57.899 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /' doesn't match 'null /actuator/metrics' 2024.04.09 09:47:57.899 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 60] - No matches found 2024.04.09 09:47:57.900 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | DelegatingReactiveAuthorizationManager | [DelegatingReactiveAuthorizationManager.java : 55] - Checking authorization on '/' using org.springframework.security.authorization.AuthenticatedReactiveAuthorizationManager@e67ab5 2024.04.09 09:47:57.902 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | WebSessionServerSecurityContextRepository | [WebSessionServerSecurityContextRepository.java : 89] - No SecurityContext found in WebSession: 'org.springframework.session.web.server.session.SpringSessionWebSessionStore$SpringSessionWebSession@4d85d920' 2024.04.09 09:47:57.903 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | AuthorizationWebFilter | [AuthorizationWebFilter.java : 54] - Authorization failed: Access Denied 2024.04.09 09:47:57.993 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | WebSessionServerSecurityContextRepository | [WebSessionServerSecurityContextRepository.java : 89] - No SecurityContext found in WebSession: 'org.springframework.session.web.server.session.SpringSessionWebSessionStore$SpringSessionWebSession@4d85d920' 2024.04.09 09:47:57.994 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | DelegatingServerAuthenticationEntryPoint | [DelegatingServerAuthenticationEntryPoint.java : 76] - Trying to match using AndServerWebExchangeMatcher{matchers=[NegatedServerWebExchangeMatcher{matcher=org.springframework.security.config.web.server.ServerHttpSecurity$OAuth2LoginSpec$$Lambda$2005/0x00000008408b2440@ab1caad}, NegatedServerWebExchangeMatcher{matcher=AndServerWebExchangeMatcher{matchers=[OrServerWebExchangeMatcher{matchers=[PathMatcherServerWebExchangeMatcher{pattern='/login', method=null}, PathMatcherServerWebExchangeMatcher{pattern='/favicon.ico', method=null}]}, AndServerWebExchangeMatcher{matchers=[NegatedServerWebExchangeMatcher{matcher=org.springframework.security.config.web.server.ServerHttpSecurity$OAuth2LoginSpec$$Lambda$2005/0x00000008408b2440@ab1caad}, MediaTypeRequestMatcher [matchingMediaTypes=[application/xhtml+xml, image/*, text/html, text/plain], useEquals=false, ignoredMediaTypes=[*/*]]]}]}}]} 2024.04.09 09:47:57.997 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | AndServerWebExchangeMatcher | [AndServerWebExchangeMatcher.java : 61] - Trying to match using NegatedServerWebExchangeMatcher{matcher=org.springframework.security.config.web.server.ServerHttpSecurity$OAuth2LoginSpec$$Lambda$2005/0x00000008408b2440@ab1caad} 2024.04.09 09:47:57.998 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | NegatedServerWebExchangeMatcher | [NegatedServerWebExchangeMatcher.java : 49] - matches = true 2024.04.09 09:47:57.998 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | AndServerWebExchangeMatcher | [AndServerWebExchangeMatcher.java : 61] - Trying to match using NegatedServerWebExchangeMatcher{matcher=AndServerWebExchangeMatcher{matchers=[OrServerWebExchangeMatcher{matchers=[PathMatcherServerWebExchangeMatcher{pattern='/login', method=null}, PathMatcherServerWebExchangeMatcher{pattern='/favicon.ico', method=null}]}, AndServerWebExchangeMatcher{matchers=[NegatedServerWebExchangeMatcher{matcher=org.springframework.security.config.web.server.ServerHttpSecurity$OAuth2LoginSpec$$Lambda$2005/0x00000008408b2440@ab1caad}, MediaTypeRequestMatcher [matchingMediaTypes=[application/xhtml+xml, image/*, text/html, text/plain], useEquals=false, ignoredMediaTypes=[*/*]]]}]}} 2024.04.09 09:47:57.999 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | AndServerWebExchangeMatcher | [AndServerWebExchangeMatcher.java : 61] - Trying to match using OrServerWebExchangeMatcher{matchers=[PathMatcherServerWebExchangeMatcher{pattern='/login', method=null}, PathMatcherServerWebExchangeMatcher{pattern='/favicon.ico', method=null}]} 2024.04.09 09:47:57.999 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 57] - Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/login', method=null} 2024.04.09 09:47:58.000 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /' doesn't match 'null /login' 2024.04.09 09:47:58.000 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 57] - Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/favicon.ico', method=null} 2024.04.09 09:47:58.000 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /' doesn't match 'null /favicon.ico' 2024.04.09 09:47:58.001 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 60] - No matches found 2024.04.09 09:47:58.001 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | AndServerWebExchangeMatcher | [AndServerWebExchangeMatcher.java : 66] - Did not match 2024.04.09 09:47:58.001 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | NegatedServerWebExchangeMatcher | [NegatedServerWebExchangeMatcher.java : 49] - matches = true 2024.04.09 09:47:58.002 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | AndServerWebExchangeMatcher | [AndServerWebExchangeMatcher.java : 66] - All requestMatchers returned true 2024.04.09 09:47:58.002 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | DelegatingServerAuthenticationEntryPoint | [DelegatingServerAuthenticationEntryPoint.java : 67] - Match found! Executing org.springframework.security.web.server.authentication.RedirectServerAuthenticationEntryPoint@5b5f4dd9 2024.04.09 09:47:58.005 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | AndServerWebExchangeMatcher | [AndServerWebExchangeMatcher.java : 61] - Trying to match using OrServerWebExchangeMatcher{matchers=[PathMatcherServerWebExchangeMatcher{pattern='/**', method=GET}]} 2024.04.09 09:47:58.005 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 57] - Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/**', method=GET} 2024.04.09 09:47:58.006 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 95] - Checking match of request : '/'; against '/**' 2024.04.09 09:47:58.007 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 60] - matched 2024.04.09 09:47:58.007 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | AndServerWebExchangeMatcher | [AndServerWebExchangeMatcher.java : 61] - Trying to match using NegatedServerWebExchangeMatcher{matcher=OrServerWebExchangeMatcher{matchers=[PathMatcherServerWebExchangeMatcher{pattern='/favicon.*', method=null}]}} 2024.04.09 09:47:58.089 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 57] - Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/favicon.*', method=null} 2024.04.09 09:47:58.090 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /' doesn't match 'null /favicon.*' 2024.04.09 09:47:58.090 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 60] - No matches found 2024.04.09 09:47:58.091 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | NegatedServerWebExchangeMatcher | [NegatedServerWebExchangeMatcher.java : 49] - matches = true 2024.04.09 09:47:58.091 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | AndServerWebExchangeMatcher | [AndServerWebExchangeMatcher.java : 61] - Trying to match using MediaTypeRequestMatcher [matchingMediaTypes=[text/html], useEquals=false, ignoredMediaTypes=[*/*]] 2024.04.09 09:47:58.093 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | MediaTypeServerWebExchangeMatcher | [MediaTypeServerWebExchangeMatcher.java : 84] - httpRequestMediaTypes=[text/html, application/xhtml+xml, image/avif, image/webp, application/xml;q=0.9, */*;q=0.8] 2024.04.09 09:47:58.093 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | MediaTypeServerWebExchangeMatcher | [MediaTypeServerWebExchangeMatcher.java : 86] - Processing text/html 2024.04.09 09:47:58.094 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | MediaTypeServerWebExchangeMatcher | [MediaTypeServerWebExchangeMatcher.java : 98] - text/html .isCompatibleWith text/html = true 2024.04.09 09:47:58.094 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | AndServerWebExchangeMatcher | [AndServerWebExchangeMatcher.java : 66] - All requestMatchers returned true 2024.04.09 09:47:58.094 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | WebSessionServerRequestCache | [WebSessionServerRequestCache.java : 76] - Request added to WebSession: '/' 2024.04.09 09:47:58.095 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | DefaultServerRedirectStrategy | [DefaultServerRedirectStrategy.java : 54] - Redirecting to '/oauth2/authorization/keycloak' 2024.04.09 09:47:58.099 | springAppName_IS_UNDEFINED | TraceId: 0ed1e697a086586f | SpanId: 26c14c2731630653] | DEBUG | [reactor-http-epoll-2] | HttpWebHandlerAdapter | [LogFormatUtils.java : 119] - [dc95f5e8-1] Completed 302 FOUND 2024.04.09 09:47:58.393 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [reactor-http-epoll-2] | HttpWebHandlerAdapter | [LogFormatUtils.java : 119] - [dc95f5e8-2] HTTP GET "/oauth2/authorization/keycloak" 2024.04.09 09:47:58.395 | springAppName_IS_UNDEFINED | TraceId: c7432a7a76983a8a | SpanId: c7432a7a76983a8a] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 95] - Checking match of request : '/oauth2/authorization/keycloak'; against '/oauth2/authorization/{registrationId}' 2024.04.09 09:47:58.498 | springAppName_IS_UNDEFINED | TraceId: c7432a7a76983a8a | SpanId: c7432a7a76983a8a] | DEBUG | [reactor-http-epoll-2] | DefaultServerRedirectStrategy | [DefaultServerRedirectStrategy.java : 54] - Redirecting to 'https://ssodev.muenchen.de/auth/realms/Dave/protocol/openid-connect/auth?response_type=code&client_id=dave&scope=LHM%20LHM_Extended&state=O_X8yb_sbnnNlfx97VWqDNNkeu0SZNsU14IC7pRmtKg%3D&redirect_uri=https://dave-frontend-apigateway-service-dave-external.apps.capk.muenchen.de/login/oauth2/code/keycloak' 2024.04.09 09:47:58.498 | springAppName_IS_UNDEFINED | TraceId: c7432a7a76983a8a | SpanId: c7432a7a76983a8a] | DEBUG | [reactor-http-epoll-2] | HttpWebHandlerAdapter | [LogFormatUtils.java : 119] - [dc95f5e8-2] Completed 302 FOUND 2024.04.09 09:47:58.640 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [reactor-http-epoll-2] | HttpWebHandlerAdapter | [LogFormatUtils.java : 119] - [dc95f5e8-3] HTTP GET "/login/oauth2/code/keycloak?error=invalid_scope&error_description=Invalid+scopes%3A+LHM+LHM_Extended&state=O_X8yb_sbnnNlfx97VWqDNNkeu0SZNsU14IC7pRmtKg%3D" 2024.04.09 09:47:58.692 | springAppName_IS_UNDEFINED | TraceId: bf50acacf2b1035c | SpanId: bf50acacf2b1035c] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /login/oauth2/code/keycloak' doesn't match 'null /oauth2/authorization/{registrationId}' 2024.04.09 09:47:58.692 | springAppName_IS_UNDEFINED | TraceId: bf50acacf2b1035c | SpanId: bf50acacf2b1035c] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 95] - Checking match of request : '/login/oauth2/code/keycloak'; against '/login/oauth2/code/{registrationId}' 2024.04.09 09:47:58.714 | springAppName_IS_UNDEFINED | TraceId: bf50acacf2b1035c | SpanId: bf50acacf2b1035c] | DEBUG | [reactor-http-epoll-2] | AuthenticationWebFilter | [AuthenticationWebFilter.java : 127] - Authentication failed: [invalid_scope] Invalid scopes: LHM LHM_Extended 2024.04.09 09:47:58.715 | springAppName_IS_UNDEFINED | TraceId: bf50acacf2b1035c | SpanId: bf50acacf2b1035c] | DEBUG | [reactor-http-epoll-2] | DefaultServerRedirectStrategy | [DefaultServerRedirectStrategy.java : 54] - Redirecting to '/login?error' 2024.04.09 09:47:58.715 | springAppName_IS_UNDEFINED | TraceId: bf50acacf2b1035c | SpanId: bf50acacf2b1035c] | DEBUG | [reactor-http-epoll-2] | HttpWebHandlerAdapter | [LogFormatUtils.java : 119] - [dc95f5e8-3] Completed 302 FOUND 2024.04.09 09:47:58.889 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [reactor-http-epoll-2] | HttpWebHandlerAdapter | [LogFormatUtils.java : 119] - [dc95f5e8-4] HTTP GET "/login?error" 2024.04.09 09:47:58.890 | springAppName_IS_UNDEFINED | TraceId: dfc47f638854de17 | SpanId: dfc47f638854de17] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /login' doesn't match 'null /oauth2/authorization/{registrationId}' 2024.04.09 09:47:58.891 | springAppName_IS_UNDEFINED | TraceId: dfc47f638854de17 | SpanId: dfc47f638854de17] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 87] - Request 'GET /login' doesn't match 'null /login/oauth2/code/{registrationId}' 2024.04.09 09:47:58.891 | springAppName_IS_UNDEFINED | TraceId: dfc47f638854de17 | SpanId: dfc47f638854de17] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 57] - Trying to match using PathMatcherServerWebExchangeMatcher{pattern='/login', method=GET} 2024.04.09 09:47:58.891 | springAppName_IS_UNDEFINED | TraceId: dfc47f638854de17 | SpanId: dfc47f638854de17] | DEBUG | [reactor-http-epoll-2] | PathPatternParserServerWebExchangeMatcher | [PathPatternParserServerWebExchangeMatcher.java : 95] - Checking match of request : '/login'; against '/login' 2024.04.09 09:47:58.892 | springAppName_IS_UNDEFINED | TraceId: dfc47f638854de17 | SpanId: dfc47f638854de17] | DEBUG | [reactor-http-epoll-2] | OrServerWebExchangeMatcher | [OrServerWebExchangeMatcher.java : 60] - matched 2024.04.09 09:47:58.990 | springAppName_IS_UNDEFINED | TraceId: dfc47f638854de17 | SpanId: dfc47f638854de17] | DEBUG | [reactor-http-epoll-2] | HttpWebHandlerAdapter | [LogFormatUtils.java : 119] - [dc95f5e8-4] Completed 200 OK ```

Das gleiche bei dave-adminportal und dave-selfservice-portal.

gislab-augsburg commented 5 months ago

@DanielOber @klml :

Das Frontend läuft, aber ich komme nicht rein. Liegt das nur daran dass ich über Keycloak nicht berechtigt bin? Wenn ja, könnt ihr mich da berechtigen?

Ich hab momentan ein SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_KEYCLOAK_CLIENT-SECRET, aus dave-c rauskopiert, in meinen values-secret.yaml. Passt das evtl. nicht? Ich kenn mich da nicht aus.

Oder passt was mit den Pfaden nicht ( https://ssodev.muenchen.de/auth/realms/Dave vs. https://dave-frontend-apigateway-service-dave-external.apps.capk.muenchen.de ), muss ich die anpassen?

-> https://github.com/gislab-augsburg/helm-charts/blob/ffa419a5ecb357b47aa76784affa56378e35116f/charts/dave/values-lhm.yaml#L151-L154

--

Oder liegt es an Authentication failed: [invalid_scope] Invalid scopes: LHM LHM_Extended ?

Die Scopes hab ich aus Dave-internal, application-prod.yaml: https://git.muenchen.de/dave/dave-internal/-/blob/main/dave-frontend/apigateway/src/main/resources/application-prod.yml?ref_type=heads#L72-L74 Ohne die gab es vorher einen Error, dass der Scope fehlt

gislab-augsburg commented 5 months ago

Ohne Scopes kommt folgender Error:

Caused by: java.lang.IllegalArgumentException: scope "<Hier Scope definieren>" contains invalid characters
``` Starting the Java application using /opt/jboss/container/java/run/run-java.sh ... INFO exec -a "java" java -Djavax.net.ssl.trustStore=/mnt/cacerts-lhm -Djavax.net.ssl.trustStorePassword=changeit --add-modules java.se --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.management/sun.management=ALL-UNNAMED --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED -cp "." -jar /deployments/spring-boot-application.jar INFO running in /deployments Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 --------------------------------------------------------------------------------------------------------------------------------------------------- _____ __ __ | __ \ /\ \ \ / / | | | | / \ \ \ / / ___ | | | | / /\ \ \ \/ / / _ \ | |__| | _ / ____ \ _ \ / | __/ _ |_____/ (_) /_/ \_\ (_) \/ \___| (_) _________________________ /\\ _____ | | | | | | \ ,-----, / \\____/__|__\_ |___|_____|_____|____|_|___\ ,--'---:---`--, / | _ | `| | | | \ ==(o)-----(o)==J `(o)-------(o)= --(o)(o)--------------(o)--' Datenbank und Auswertungen von Verkehrszählungen Application Name : ${spring.application.name} Spring Boot Version : (v2.7.8) --------------------------------------------------------------------------------------------------------------------------------------------------- 2024.04.09 15:27:35.997 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | ApiGatewayApplication | [StartupInfoLogger.java : 55] - Starting ApiGatewayApplication using Java 11.0.22 on dave-frontend-apigateway-service-6f48978c6b-58zcs with PID 1 (/deployments/spring-boot-application.jar started by 1003100000 in /deployments) 2024.04.09 15:27:36.002 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | ApiGatewayApplication | [StartupInfoLogger.java : 56] - Running with Spring Boot v2.7.8, Spring v5.3.25 2024.04.09 15:27:36.002 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | ApiGatewayApplication | [SpringApplication.java : 637] - The following 1 profile is active: "dev" 2024.04.09 15:27:45.130 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | GenericScope | [GenericScope.java : 283] - BeanFactory id=6e12c5ef-3aaa-3381-b986-bfdc8211aeb3 2024.04.09 15:27:51.815 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | logo | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] + + o o o o---o o----o o o---o o o----o o--o--o + + + + | | / \ / | | / / \ | | + + + + + o----o o o o o----o | o o o o----o | + + + + | | / \ / | | \ / \ | | + + o o o o o---o o----o o----o o---o o o o----o o 2024.04.09 15:27:51.816 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Copyright (c) 2008-2022, Hazelcast, Inc. All Rights Reserved. 2024.04.09 15:27:51.816 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Hazelcast Platform 5.1.5 (20221114 - c52d6ff) starting at [10.138.59.81]:5701 2024.04.09 15:27:51.816 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Cluster name: dave-frontend-apigateway-service-session_replication_group 2024.04.09 15:27:51.817 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Integrity Checker is disabled. Fail-fast on corrupted executables will not be performed. To enable integrity checker do one of the following: - Change member config using Java API: config.setIntegrityCheckerEnabled(true); - Change XML/YAML configuration property: Set hazelcast.integrity-checker.enabled to true - Add system property: -Dhz.integritychecker.enabled=true (for Hazelcast embedded, works only when loading config via Config.load) - Add environment variable: HZ_INTEGRITYCHECKER_ENABLED=true (recommended when running container image. For Hazelcast embedded, works only when loading config via Config.load) 2024.04.09 15:27:51.902 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | system | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] The Jet engine is disabled. To enable the Jet engine on the members, do one of the following: - Change member config using Java API: config.getJetConfig().setEnabled(true) - Change XML/YAML configuration property: Set hazelcast.jet.enabled to true - Add system property: -Dhz.jet.enabled=true (for Hazelcast embedded, works only when loading config via Config.load) - Add environment variable: HZ_JET_ENABLED=true (recommended when running container image. For Hazelcast embedded, works only when loading config via Config.load) 2024.04.09 15:27:54.895 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | DiscoveryService | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Kubernetes Discovery properties: { service-dns: null, service-dns-timeout: 5, service-name: dave-frontend-apigateway-service, service-port: 0, service-label: null, service-label-value: true, namespace: dave-external, pod-label: null, pod-label-value: null, resolve-not-ready-addresses: true, expose-externally-mode: AUTO, use-node-name-as-external-address: false, service-per-pod-label: null, service-per-pod-label-value: null, kubernetes-api-retries: 3, kubernetes-master: https://kubernetes.default.svc} 2024.04.09 15:27:56.416 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | DiscoveryService | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Kubernetes Discovery activated with mode: KUBERNETES_API 2024.04.09 15:27:56.418 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | security | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Enable DEBUG/FINE log level for log category com.hazelcast.system.security or use -Dhazelcast.security.recommendations system property to see 🔒 security recommendations and the status of current config. 2024.04.09 15:27:57.094 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | Node | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Using Discovery SPI 2024.04.09 15:27:57.100 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | WARN | [main] | CPSubsystem | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] CP Subsystem is not enabled. CP data structures will operate in UNSAFE mode! Please note that UNSAFE mode will not provide strong consistency guarantees. 2024.04.09 15:27:58.894 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | Diagnostics | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Diagnostics disabled. To enable add -Dhazelcast.diagnostics.enabled=true to the JVM arguments. 2024.04.09 15:27:58.901 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | LifecycleService | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] [10.138.59.81]:5701 is STARTING 2024.04.09 15:27:59.192 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | DiscoveryService | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Cannot fetch the current zone, ZONE_AWARE feature is disabled 2024.04.09 15:27:59.214 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | WARN | [main] | DiscoveryService | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Cannot fetch name of the node, NODE_AWARE feature is disabled 2024.04.09 15:27:59.314 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | WARN | [main] | KubernetesClient | [StandardLoggerFactory.java : 56] - Kubernetes API access is forbidden! Starting standalone. To use Hazelcast Kubernetes discovery, configure the required RBAC. For 'default' service account in 'default' namespace execute: `kubectl apply -f https://raw.githubusercontent.com/hazelcast/hazelcast/master/kubernetes-rbac.yaml` 2024.04.09 15:28:04.504 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | ClusterService | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Members {size:1, ver:1} [ Member [10.138.59.81]:5701 - db7d569e-3faf-4429-84dd-0eb750b97da3 this ] 2024.04.09 15:28:04.520 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | LifecycleService | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] [10.138.59.81]:5701 is STARTED 2024.04.09 15:28:07.501 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RestTemplate | [CompositeLog.java : 127] - HTTP GET https://ssodev.muenchen.de/auth/realms/Dave/.well-known/openid-configuration 2024.04.09 15:28:07.592 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RestTemplate | [CompositeLog.java : 127] - Accept=[application/json, application/*+json] 2024.04.09 15:28:07.792 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RestTemplate | [CompositeLog.java : 127] - Response 200 OK 2024.04.09 15:28:07.795 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | DEBUG | [main] | RestTemplate | [CompositeLog.java : 127] - Reading to [java.util.Map] 2024.04.09 15:28:08.198 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | WARN | [main] | AnnotationConfigReactiveWebServerApplicationContext | [AbstractApplicationContext.java : 591] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [de/muenchen/dave/configuration/SecurityConfiguration.class]: Unsatisfied dependency expressed through method 'springSecurityFilterChain' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.reactive.ServerHttpSecurityConfiguration': Unsatisfied dependency expressed through method 'setAdapterRegistry' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration$EnableWebFluxConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector$OAuth2ClientWebFluxSecurityConfiguration': Unsatisfied dependency expressed through method 'setClientRegistrationRepository' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientRegistrationRepository' defined in class path resource [org/springframework/boot/autoconfigure/security/oauth2/client/reactive/ReactiveOAuth2ClientConfigurations$ReactiveClientRegistrationRepositoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.registration.InMemoryReactiveClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is java.lang.IllegalArgumentException: scope "" contains invalid characters 2024.04.09 15:28:08.198 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | LifecycleService | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] [10.138.59.81]:5701 is SHUTTING_DOWN 2024.04.09 15:28:08.204 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | Node | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Shutting down connection manager... 2024.04.09 15:28:08.208 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | Node | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Shutting down node engine... 2024.04.09 15:28:08.298 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | NodeExtension | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Destroying node NodeExtension. 2024.04.09 15:28:08.299 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | Node | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] Hazelcast Shutdown is completed in 97 ms. 2024.04.09 15:28:08.299 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | LifecycleService | [StandardLoggerFactory.java : 56] - [10.138.59.81]:5701 [dave-frontend-apigateway-service-session_replication_group] [5.1.5] [10.138.59.81]:5701 is SHUTDOWN 2024.04.09 15:28:08.308 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | WARN | [main] | DisposableBeanAdapter | [DisposableBeanAdapter.java : 222] - Invocation of destroy method failed on bean with name 'reactorServerResourceFactory': org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'braveTracer': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) 2024.04.09 15:28:08.492 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | INFO | [main] | ConditionEvaluationReportLoggingListener | [ConditionEvaluationReportLoggingListener.java : 136] - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024.04.09 15:28:08.601 | springAppName_IS_UNDEFINED | TraceId: | SpanId: ] | ERROR | [main] | SpringApplication | [SpringApplication.java : 821] - Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [de/muenchen/dave/configuration/SecurityConfiguration.class]: Unsatisfied dependency expressed through method 'springSecurityFilterChain' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.reactive.ServerHttpSecurityConfiguration': Unsatisfied dependency expressed through method 'setAdapterRegistry' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration$EnableWebFluxConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector$OAuth2ClientWebFluxSecurityConfiguration': Unsatisfied dependency expressed through method 'setClientRegistrationRepository' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientRegistrationRepository' defined in class path resource [org/springframework/boot/autoconfigure/security/oauth2/client/reactive/ReactiveOAuth2ClientConfigurations$ReactiveClientRegistrationRepositoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.registration.InMemoryReactiveClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is java.lang.IllegalArgumentException: scope "" contains invalid characters at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:541) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.refresh(ReactiveWebServerApplicationContext.java:66) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) at de.muenchen.dave.ApiGatewayApplication.main(ApiGatewayApplication.java:35) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.reactive.ServerHttpSecurityConfiguration': Unsatisfied dependency expressed through method 'setAdapterRegistry' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration$EnableWebFluxConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector$OAuth2ClientWebFluxSecurityConfiguration': Unsatisfied dependency expressed through method 'setClientRegistrationRepository' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientRegistrationRepository' defined in class path resource [org/springframework/boot/autoconfigure/security/oauth2/client/reactive/ReactiveOAuth2ClientConfigurations$ReactiveClientRegistrationRepositoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.registration.InMemoryReactiveClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is java.lang.IllegalArgumentException: scope "" contains invalid characters at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:768) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:720) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:410) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:353) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887) at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ... 27 common frames omitted Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.reactive.WebFluxAutoConfiguration$EnableWebFluxConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector$OAuth2ClientWebFluxSecurityConfiguration': Unsatisfied dependency expressed through method 'setClientRegistrationRepository' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientRegistrationRepository' defined in class path resource [org/springframework/boot/autoconfigure/security/oauth2/client/reactive/ReactiveOAuth2ClientConfigurations$ReactiveClientRegistrationRepositoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.registration.InMemoryReactiveClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is java.lang.IllegalArgumentException: scope "" contains invalid characters at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:768) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:720) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:410) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:760) ... 49 common frames omitted Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.reactive.ReactiveOAuth2ClientImportSelector$OAuth2ClientWebFluxSecurityConfiguration': Unsatisfied dependency expressed through method 'setClientRegistrationRepository' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientRegistrationRepository' defined in class path resource [org/springframework/boot/autoconfigure/security/oauth2/client/reactive/ReactiveOAuth2ClientConfigurations$ReactiveClientRegistrationRepositoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.registration.InMemoryReactiveClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is java.lang.IllegalArgumentException: scope "" contains invalid characters at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:768) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:720) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1609) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1573) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveMultipleBeans(DefaultListableBeanFactory.java:1462) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1349) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:760) ... 72 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientRegistrationRepository' defined in class path resource [org/springframework/boot/autoconfigure/security/oauth2/client/reactive/ReactiveOAuth2ClientConfigurations$ReactiveClientRegistrationRepositoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.registration.InMemoryReactiveClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is java.lang.IllegalArgumentException: scope "" contains invalid characters at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.resolveMethodArguments(AutowiredAnnotationBeanPostProcessor.java:760) ... 89 common frames omitted Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.oauth2.client.registration.InMemoryReactiveClientRegistrationRepository]: Factory method 'clientRegistrationRepository' threw exception; nested exception is java.lang.IllegalArgumentException: scope "" contains invalid characters at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) ... 102 common frames omitted Caused by: java.lang.IllegalArgumentException: scope "" contains invalid characters at org.springframework.util.Assert.isTrue(Assert.java:121) at org.springframework.security.oauth2.client.registration.ClientRegistration$Builder.validateScopes(ClientRegistration.java:706) at org.springframework.security.oauth2.client.registration.ClientRegistration$Builder.build(ClientRegistration.java:625) at org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientPropertiesRegistrationAdapter.getClientRegistration(OAuth2ClientPropertiesRegistrationAdapter.java:73) at org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientPropertiesRegistrationAdapter.lambda$getClientRegistrations$0(OAuth2ClientPropertiesRegistrationAdapter.java:53) at java.base/java.util.HashMap.forEach(HashMap.java:1337) at org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientPropertiesRegistrationAdapter.getClientRegistrations(OAuth2ClientPropertiesRegistrationAdapter.java:52) at org.springframework.boot.autoconfigure.security.oauth2.client.reactive.ReactiveOAuth2ClientConfigurations$ReactiveClientRegistrationRepositoryConfiguration.clientRegistrationRepository(ReactiveOAuth2ClientConfigurations.java:56) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.beans.facto ```
gislab-augsburg commented 5 months ago

Den Platzhalter versuchen zu löschen indem man den Scope als Null, None oder "" definiert, funktioniert nicht:

SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_KEYCLOAK_SCOPE_0: None

mb@nbo00370518:~/dave2/helm-charts/charts/dave$ oc logs dave-frontend-apigateway-service-65856b8cfd-xcxjc | grep "scope"
                    DEBUG | [reactor-http-epoll-3] | DefaultServerRedirectStrategy | [DefaultServerRedirectStrategy.java : 54] - Redirecting to 'https://ssodev.muenchen.de/auth/realms/Dave/protocol/openid-connect/auth?response_type=code&client_id=dave&scope=None&state=_4qt-OGyWj_q4V6IPTj2PKx14LuqJxUGk7dnygkswzE%3D&redirect_uri=https://dave-frontend-apigateway-service-dave-external.apps.capk.muenchen.de/login/oauth2/code/keycloak'
                    DEBUG | [reactor-http-epoll-3] | HttpWebHandlerAdapter | [LogFormatUtils.java : 119] - [88424229-3] HTTP GET "/login/oauth2/code/keycloak?error=invalid_scope&error_description=Invalid+scop
s%3A+None&state=_4qt-OGyWj_q4V6IPTj2PKx14LuqJxUGk7dnygkswzE%3D"
                    DEBUG | [reactor-http-epoll-3] | AuthenticationWebFilter | [AuthenticationWebFilter.java : 127] - Authentication failed: [invalid_scope] Invalid scopes: None

SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_KEYCLOAK_SCOPE_0: Null

mb@nbo00370518:~/dave2/helm-charts/charts/dave$ oc logs dave-frontend-apigateway-service-67fd9bcd6f-4pth8 | grep "scope"
                    DEBUG | [reactor-http-epoll-2] | DefaultServerRedirectStrategy | [DefaultServerRedirectStrategy.java : 54] - Redirecting to 'https://ssodev.muenchen.de/auth/realms/Dave/protocol/openid-connect/auth?response_type=code&client_id=dave&scope=&state=7xWhHxnKEXKnBvUruElXpQUhUW6CcnIzRqFHOWP9Cqo%3D&redirect_uri=https://dave-frontend-apigateway-service-dave-external.apps.capk.muenchen.de/login/oauth2/code/keycloak'
                    DEBUG | [reactor-http-epoll-2] | HttpWebHandlerAdapter | [LogFormatUtils.java : 119] - [51097639-3] HTTP GET "/login/oauth2/code/keycloak?error=invalid_scope&error_description=Invalid+scop
s%3A+&state=7xWhHxnKEXKnBvUruElXpQUhUW6CcnIzRqFHOWP9Cqo%3D"
                    DEBUG | [reactor-http-epoll-2] | AuthenticationWebFilter | [AuthenticationWebFilter.java : 127] - Authentication failed: [invalid_scope] Invalid scopes:

SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_KEYCLOAK_SCOPE_0: ""

mb@nbo00370518:~/dave2/helm-charts/charts/dave$ oc logs dave-frontend-apigateway-service-dfc5d49b-pbgxz | grep "scope"
                    DEBUG | [reactor-http-epoll-2] | DefaultServerRedirectStrategy | [DefaultServerRedirectStrategy.java : 54] - Redirecting to 'https://ssodev.muenchen.de/auth/realms/Dave/protocol/openid-connect/auth?response_type=code&client_id=dave&scope=&state=E53HOWb3Jddf_aaDSvu1Wz-R7bq9DfQ42VinxdEYSrs%3D&redirect_uri=https://dave-frontend-apigateway-service-dave-external.apps.capk.muenchen.de/login/oauth2/code/keycloak'
                    DEBUG | [reactor-http-epoll-2] | HttpWebHandlerAdapter | [LogFormatUtils.java : 119] - [1917bb49-3] HTTP GET "/login/oauth2/code/keycloak?error=invalid_scope&error_description=Invalid+scopes%3A+&state=E53HOWb3Jddf_aaDSvu1Wz-R7bq9DfQ42VinxdEYSrs%3D"
                    DEBUG | [reactor-http-epoll-2] | AuthenticationWebFilter | [AuthenticationWebFilter.java : 127] - Authentication failed: [invalid_scope] Invalid scopes:

--> Dann nehm ich den Scope halt hier im dave-frontend Repo bzw. hier raus und bau ein neues Image, analog im dave-selfservice-portal Repo.

@DanielOber Sollte gehen, oder?

gislab-augsburg commented 5 months ago

--> Dann nehm ich den Scope halt hier im dave-frontend Repo bzw. hier raus und bau ein neues Image, analog im dave-selfservice-portal Repo.

-> https://github.com/gislab-augsburg/dave-frontend/commit/3eccb37c7d38ba5863bd13e8e72182446cb20ebe

So geht's :)