Closed aitorcelaya closed 2 years ago
These are the logs on the DSC in the Provider's side:
2022-03-03T10:45:13,407 [main] INFO - Started ConnectorApplication in 106.7 seconds (JVM running for 110.33)
2022-03-03T10:46:13,465 [scheduling-1] INFO - Scanning agreements...
2022-03-03T10:47:01,451 [https-jsse-nio-7084-exec-5] INFO - Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-03-03T10:47:01,453 [https-jsse-nio-7084-exec-5] INFO - Initializing Servlet 'dispatcherServlet'
2022-03-03T10:47:01,465 [https-jsse-nio-7084-exec-5] INFO - Completed initialization in 12 ms
2022-03-03T10:47:13,547 [scheduling-1] INFO - Scanning agreements...
2022-03-03T10:47:24,885 [https-jsse-nio-7084-exec-10] INFO - Init duration for springdoc-openapi is: 17193 ms
2022-03-03T10:47:40,230 [https-jsse-nio-7084-exec-1] INFO - Successfully received DAT from DAPS.
2022-03-03T10:47:40,844 [https-jsse-nio-7084-exec-1] INFO - Using cached DAPS DAT. [expiration=(2022-03-03T11:47:40.000+0000)]
2022-03-03T10:47:42,616 [Thread-2] INFO - Retrieving Dynamic Attribute Token from DAPS ...
2022-03-03T10:47:43,379 [Thread-2] ERROR - Failed to request token issued with parameters: Issuer: C6:3E:DE:2B:E7:00:3F:2A:84:C0:1D:BF:41:2C:E6:65:82:44:E8:AC:keyid:CB:8C:C7:B6:85:79:A8:23:A6:CB:15:AB:17:50:2F:E6:65:43:5D:E8, Subject: C6:3E:DE:2B:E7:00:3F:2A:84:C0:1D:BF:41:2C:E6:65:82:44:E8:AC:keyid:CB:8C:C7:B6:85:79:A8:23:A6:CB:15:AB:17:50:2F:E6:65:43:5D:E8, Expiration: 2022-03-04T10:47:42.627+0000, IssuedAt: 2022-03-03T10:47:42.628+0000, NotBefore: 2022-03-03T10:47:42.628+0000, Audience: idsc:IDS_CONNECTORS_ALL
2022-03-03T10:47:43,381 [Thread-2] ERROR - Exception occurred during requesting DAT from DAPS:
de.fhg.aisec.ids.idscp2.idscp_core.error.DatException: Received non-200 http response: 404
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.syncGetToken(AisecDapsDriver.kt:229) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.getToken(AisecDapsDriver.kt:271) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.getDynamicAttributeToken(FSM.kt:508) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.StateClosed$1.invoke(StateClosed.kt:87) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.StateClosed$1.invoke(StateClosed.kt:75) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.Transition.doTransition(Transition.kt:30) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.State.feedEvent(State.kt:46) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.feedEvent(FSM.kt:369) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.onControlMessage(FSM.kt:272) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.startIdscpHandshake(FSM.kt:409) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.AsyncIdscp2Factory.initiateIdscp2Connection$lambda-1(AsyncIdscp2Factory.kt:77) ~[idscp2-0.6.0.jar:?]
at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
2022-03-03T10:47:47,474 [Thread-1] WARN - DapsDriver throws Exception while validating remote DAT. Send IDSCP_CLOSE {}
de.fhg.aisec.ids.idscp2.idscp_core.error.DatException: Error during claims processing
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.innerVerifyToken(AisecDapsDriver.kt:350) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.verifyToken(AisecDapsDriver.kt:293) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.StateWaitForHello$7.invoke(StateWaitForHello.kt:201) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.StateWaitForHello$7.invoke(StateWaitForHello.kt:146) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.Transition.doTransition(Transition.kt:30) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.State.feedEvent(State.kt:46) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.feedEvent(FSM.kt:369) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.onMessage(FSM.kt:258) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.secure_channel.SecureChannel.onMessage$lambda-0(SecureChannel.kt:64) ~[idscp2-0.6.0.jar:?]
at java.util.concurrent.CompletableFuture.uniAcceptNow(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture.uniAcceptStage(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture.thenAccept(Unknown Source) ~[?:?]
at de.fhg.aisec.ids.idscp2.idscp_core.secure_channel.SecureChannel.onMessage(SecureChannel.kt:64) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.secure_channel.tlsv1_3.client.TLSClient.onMessage$lambda-2(TLSClient.kt:146) ~[idscp2-0.6.0.jar:?]
at java.util.concurrent.CompletableFuture.uniAcceptNow(Unknown Source) [?:?]
at java.util.concurrent.CompletableFuture.uniAcceptStage(Unknown Source) [?:?]
at java.util.concurrent.CompletableFuture.thenAccept(Unknown Source) [?:?]
at de.fhg.aisec.ids.idscp2.default_drivers.secure_channel.tlsv1_3.client.TLSClient.onMessage(TLSClient.kt:146) [idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.secure_channel.tlsv1_3.client.InputListenerThread.run(InputListenerThread.kt:52) [idscp2-0.6.0.jar:?]
Caused by: org.jose4j.jwt.consumer.InvalidJwtException: JWT processing failed. Additional details: [[17] Unable to process JOSE object (cause: org.jose4j.lang.JoseException: Invalid JOSE Compact Serialization. Expecting either 3 or 5 parts for JWS or JWE respectively but was 1.): INVALID_DAT]
at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:413) ~[jose4j-0.7.8.jar:?]
at org.jose4j.jwt.consumer.JwtConsumer.processToClaims(JwtConsumer.java:171) ~[jose4j-0.7.8.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.innerVerifyToken(AisecDapsDriver.kt:346) ~[idscp2-0.6.0.jar:?]
... 18 more
Caused by: org.jose4j.lang.JoseException: Invalid JOSE Compact Serialization. Expecting either 3 or 5 parts for JWS or JWE respectively but was 1.
at org.jose4j.jwx.JsonWebStructure.fromCompactSerialization(JsonWebStructure.java:90) ~[jose4j-0.7.8.jar:?]
at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:327) ~[jose4j-0.7.8.jar:?]
at org.jose4j.jwt.consumer.JwtConsumer.processToClaims(JwtConsumer.java:171) ~[jose4j-0.7.8.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.innerVerifyToken(AisecDapsDriver.kt:346) ~[idscp2-0.6.0.jar:?]
... 18 more
2022-03-03T10:47:47,865 [Thread-2] WARN - Could not connect to Server idscp2client://testidsa9:29292?awaitResponse=true&sslContextParameters=%23serverSslContext&useIdsMessages=true, delaying connect until first message...
2022-03-03T10:47:47,905 [https-jsse-nio-7084-exec-1] WARN - Message delivery failed in attempt 1, reset connection and retry after 5000 ms...
java.util.concurrent.ExecutionException: de.fhg.aisec.ids.idscp2.idscp_core.error.Idscp2HandshakeException: Handshake failed
at java.util.concurrent.CompletableFuture.reportGet(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture.get(Unknown Source) ~[?:?]
at de.fhg.aisec.ids.camel.idscp2.client.Idscp2ClientProducer.process(Idscp2ClientProducer.kt:56) ~[camel-idscp2-0.6.0.jar:?]
at org.apache.camel.support.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:66) ~[camel-support-3.15.0.jar:3.15.0]
at org.apache.camel.processor.SendDynamicProcessor.lambda$process$0(SendDynamicProcessor.java:197) ~[camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.support.cache.DefaultProducerCache.doInAsyncProducer(DefaultProducerCache.java:327) [camel-support-3.15.0.jar:3.15.0]
at org.apache.camel.processor.SendDynamicProcessor.process(SendDynamicProcessor.java:182) [camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.doRun(RedeliveryErrorHandler.java:812) [camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.run(RedeliveryErrorHandler.java:720) [camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:187) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultReactiveExecutor.scheduleMain(DefaultReactiveExecutor.java:64) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:184) [camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.CamelInternalProcessor.process(CamelInternalProcessor.java:399) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:96) [camel-direct-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.SharedCamelInternalProcessor.process(SharedCamelInternalProcessor.java:214) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.SharedCamelInternalProcessor$1.process(SharedCamelInternalProcessor.java:111) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultAsyncProcessorAwaitManager.process(DefaultAsyncProcessorAwaitManager.java:83) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.SharedCamelInternalProcessor.process(SharedCamelInternalProcessor.java:108) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.support.cache.DefaultProducerCache.send(DefaultProducerCache.java:199) [camel-support-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:176) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:148) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:131) [camel-base-engine-3.15.0.jar:3.15.0]
at io.dataspaceconnector.controller.message.ids.DescriptionRequestMessageController.sendMessage(DescriptionRequestMessageController.java:115) [classes/:7.0.1]
at io.dataspaceconnector.controller.message.ids.DescriptionRequestMessageController$$FastClassBySpringCGLIB$$ba843bd6.invoke(<generated>) [classes/:7.0.1]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) [spring-core-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:783) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:61) [spring-security-core-5.6.1.jar:5.6.1]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:698) [spring-aop-5.3.15.jar:5.3.15]
at io.dataspaceconnector.controller.message.ids.DescriptionRequestMessageController$$EnhancerBySpringCGLIB$$a414654e.sendMessage(<generated>) [classes/:7.0.1]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1067) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) [spring-webmvc-5.3.15.jar:5.3.15]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:681) [tomcat-embed-core-9.0.56.jar:4.0.FR]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) [spring-webmvc-5.3.15.jar:5.3.15]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) [tomcat-embed-core-9.0.56.jar:4.0.FR]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:181) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96) [spring-boot-actuator-2.6.3.jar:2.6.3]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at io.opentracing.contrib.web.servlet.filter.TracingFilter.doFilter(TracingFilter.java:189) [opentracing-web-servlet-filter-0.4.0.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:895) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1732) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.56.jar:9.0.56]
at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: de.fhg.aisec.ids.idscp2.idscp_core.error.Idscp2HandshakeException: Handshake failed
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.startIdscpHandshake(FSM.kt:419) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.AsyncIdscp2Factory.initiateIdscp2Connection$lambda-1(AsyncIdscp2Factory.kt:77) ~[idscp2-0.6.0.jar:?]
at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) ~[?:?]
... 1 more
2022-03-03T10:47:53,306 [Thread-7] INFO - Retrieving Dynamic Attribute Token from DAPS ...
2022-03-03T10:47:53,418 [Thread-7] ERROR - Failed to request token issued with parameters: Issuer: C6:3E:DE:2B:E7:00:3F:2A:84:C0:1D:BF:41:2C:E6:65:82:44:E8:AC:keyid:CB:8C:C7:B6:85:79:A8:23:A6:CB:15:AB:17:50:2F:E6:65:43:5D:E8, Subject: C6:3E:DE:2B:E7:00:3F:2A:84:C0:1D:BF:41:2C:E6:65:82:44:E8:AC:keyid:CB:8C:C7:B6:85:79:A8:23:A6:CB:15:AB:17:50:2F:E6:65:43:5D:E8, Expiration: 2022-03-04T10:47:53.306+0000, IssuedAt: 2022-03-03T10:47:53.306+0000, NotBefore: 2022-03-03T10:47:53.306+0000, Audience: idsc:IDS_CONNECTORS_ALL
2022-03-03T10:47:53,427 [Thread-7] ERROR - Exception occurred during requesting DAT from DAPS:
de.fhg.aisec.ids.idscp2.idscp_core.error.DatException: Received non-200 http response: 404
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.syncGetToken(AisecDapsDriver.kt:229) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.getToken(AisecDapsDriver.kt:271) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.getDynamicAttributeToken(FSM.kt:508) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.StateClosed$1.invoke(StateClosed.kt:87) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.StateClosed$1.invoke(StateClosed.kt:75) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.Transition.doTransition(Transition.kt:30) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.State.feedEvent(State.kt:46) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.feedEvent(FSM.kt:369) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.onControlMessage(FSM.kt:272) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.startIdscpHandshake(FSM.kt:409) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.AsyncIdscp2Factory.initiateIdscp2Connection$lambda-1(AsyncIdscp2Factory.kt:77) ~[idscp2-0.6.0.jar:?]
at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
2022-03-03T10:47:53,507 [Thread-6] WARN - DapsDriver throws Exception while validating remote DAT. Send IDSCP_CLOSE {}
de.fhg.aisec.ids.idscp2.idscp_core.error.DatException: Error during claims processing
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.innerVerifyToken(AisecDapsDriver.kt:350) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.verifyToken(AisecDapsDriver.kt:293) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.StateWaitForHello$7.invoke(StateWaitForHello.kt:201) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.StateWaitForHello$7.invoke(StateWaitForHello.kt:146) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.Transition.doTransition(Transition.kt:30) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.State.feedEvent(State.kt:46) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.feedEvent(FSM.kt:369) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.onMessage(FSM.kt:258) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.secure_channel.SecureChannel.onMessage$lambda-0(SecureChannel.kt:64) ~[idscp2-0.6.0.jar:?]
at java.util.concurrent.CompletableFuture.uniAcceptNow(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture.uniAcceptStage(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture.thenAccept(Unknown Source) ~[?:?]
at de.fhg.aisec.ids.idscp2.idscp_core.secure_channel.SecureChannel.onMessage(SecureChannel.kt:64) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.secure_channel.tlsv1_3.client.TLSClient.onMessage$lambda-2(TLSClient.kt:146) ~[idscp2-0.6.0.jar:?]
at java.util.concurrent.CompletableFuture.uniAcceptNow(Unknown Source) [?:?]
at java.util.concurrent.CompletableFuture.uniAcceptStage(Unknown Source) [?:?]
at java.util.concurrent.CompletableFuture.thenAccept(Unknown Source) [?:?]
at de.fhg.aisec.ids.idscp2.default_drivers.secure_channel.tlsv1_3.client.TLSClient.onMessage(TLSClient.kt:146) [idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.secure_channel.tlsv1_3.client.InputListenerThread.run(InputListenerThread.kt:52) [idscp2-0.6.0.jar:?]
Caused by: org.jose4j.jwt.consumer.InvalidJwtException: JWT processing failed. Additional details: [[17] Unable to process JOSE object (cause: org.jose4j.lang.JoseException: Invalid JOSE Compact Serialization. Expecting either 3 or 5 parts for JWS or JWE respectively but was 1.): INVALID_DAT]
at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:413) ~[jose4j-0.7.8.jar:?]
at org.jose4j.jwt.consumer.JwtConsumer.processToClaims(JwtConsumer.java:171) ~[jose4j-0.7.8.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.innerVerifyToken(AisecDapsDriver.kt:346) ~[idscp2-0.6.0.jar:?]
... 18 more
Caused by: org.jose4j.lang.JoseException: Invalid JOSE Compact Serialization. Expecting either 3 or 5 parts for JWS or JWE respectively but was 1.
at org.jose4j.jwx.JsonWebStructure.fromCompactSerialization(JsonWebStructure.java:90) ~[jose4j-0.7.8.jar:?]
at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:327) ~[jose4j-0.7.8.jar:?]
at org.jose4j.jwt.consumer.JwtConsumer.processToClaims(JwtConsumer.java:171) ~[jose4j-0.7.8.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.innerVerifyToken(AisecDapsDriver.kt:346) ~[idscp2-0.6.0.jar:?]
... 18 more
2022-03-03T10:47:53,543 [https-jsse-nio-7084-exec-1] WARN - Message delivery failed in attempt 2, reset connection and retry after 5000 ms...
java.util.concurrent.ExecutionException: de.fhg.aisec.ids.idscp2.idscp_core.error.Idscp2HandshakeException: Handshake failed
at java.util.concurrent.CompletableFuture.reportGet(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture.get(Unknown Source) ~[?:?]
at de.fhg.aisec.ids.camel.idscp2.client.Idscp2ClientProducer.process(Idscp2ClientProducer.kt:56) ~[camel-idscp2-0.6.0.jar:?]
at org.apache.camel.support.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:66) ~[camel-support-3.15.0.jar:3.15.0]
at org.apache.camel.processor.SendDynamicProcessor.lambda$process$0(SendDynamicProcessor.java:197) ~[camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.support.cache.DefaultProducerCache.doInAsyncProducer(DefaultProducerCache.java:327) [camel-support-3.15.0.jar:3.15.0]
at org.apache.camel.processor.SendDynamicProcessor.process(SendDynamicProcessor.java:182) [camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.doRun(RedeliveryErrorHandler.java:812) [camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.run(RedeliveryErrorHandler.java:720) [camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:187) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultReactiveExecutor.scheduleMain(DefaultReactiveExecutor.java:64) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:184) [camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.CamelInternalProcessor.process(CamelInternalProcessor.java:399) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:96) [camel-direct-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.SharedCamelInternalProcessor.process(SharedCamelInternalProcessor.java:214) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.SharedCamelInternalProcessor$1.process(SharedCamelInternalProcessor.java:111) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultAsyncProcessorAwaitManager.process(DefaultAsyncProcessorAwaitManager.java:83) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.SharedCamelInternalProcessor.process(SharedCamelInternalProcessor.java:108) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.support.cache.DefaultProducerCache.send(DefaultProducerCache.java:199) [camel-support-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:176) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:148) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:131) [camel-base-engine-3.15.0.jar:3.15.0]
at io.dataspaceconnector.controller.message.ids.DescriptionRequestMessageController.sendMessage(DescriptionRequestMessageController.java:115) [classes/:7.0.1]
at io.dataspaceconnector.controller.message.ids.DescriptionRequestMessageController$$FastClassBySpringCGLIB$$ba843bd6.invoke(<generated>) [classes/:7.0.1]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) [spring-core-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:783) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:61) [spring-security-core-5.6.1.jar:5.6.1]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:698) [spring-aop-5.3.15.jar:5.3.15]
at io.dataspaceconnector.controller.message.ids.DescriptionRequestMessageController$$EnhancerBySpringCGLIB$$a414654e.sendMessage(<generated>) [classes/:7.0.1]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1067) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) [spring-webmvc-5.3.15.jar:5.3.15]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:681) [tomcat-embed-core-9.0.56.jar:4.0.FR]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) [spring-webmvc-5.3.15.jar:5.3.15]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) [tomcat-embed-core-9.0.56.jar:4.0.FR]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:181) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96) [spring-boot-actuator-2.6.3.jar:2.6.3]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at io.opentracing.contrib.web.servlet.filter.TracingFilter.doFilter(TracingFilter.java:189) [opentracing-web-servlet-filter-0.4.0.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:895) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1732) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.56.jar:9.0.56]
at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: de.fhg.aisec.ids.idscp2.idscp_core.error.Idscp2HandshakeException: Handshake failed
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.startIdscpHandshake(FSM.kt:419) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.AsyncIdscp2Factory.initiateIdscp2Connection$lambda-1(AsyncIdscp2Factory.kt:77) ~[idscp2-0.6.0.jar:?]
at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) ~[?:?]
... 1 more
2022-03-03T10:47:58,862 [Thread-10] INFO - Retrieving Dynamic Attribute Token from DAPS ...
2022-03-03T10:47:58,980 [Thread-10] ERROR - Failed to request token issued with parameters: Issuer: C6:3E:DE:2B:E7:00:3F:2A:84:C0:1D:BF:41:2C:E6:65:82:44:E8:AC:keyid:CB:8C:C7:B6:85:79:A8:23:A6:CB:15:AB:17:50:2F:E6:65:43:5D:E8, Subject: C6:3E:DE:2B:E7:00:3F:2A:84:C0:1D:BF:41:2C:E6:65:82:44:E8:AC:keyid:CB:8C:C7:B6:85:79:A8:23:A6:CB:15:AB:17:50:2F:E6:65:43:5D:E8, Expiration: 2022-03-04T10:47:58.863+0000, IssuedAt: 2022-03-03T10:47:58.863+0000, NotBefore: 2022-03-03T10:47:58.863+0000, Audience: idsc:IDS_CONNECTORS_ALL
2022-03-03T10:47:58,995 [Thread-10] ERROR - Exception occurred during requesting DAT from DAPS:
de.fhg.aisec.ids.idscp2.idscp_core.error.DatException: Received non-200 http response: 404
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.syncGetToken(AisecDapsDriver.kt:229) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.getToken(AisecDapsDriver.kt:271) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.getDynamicAttributeToken(FSM.kt:508) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.StateClosed$1.invoke(StateClosed.kt:87) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.StateClosed$1.invoke(StateClosed.kt:75) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.Transition.doTransition(Transition.kt:30) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.State.feedEvent(State.kt:46) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.feedEvent(FSM.kt:369) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.onControlMessage(FSM.kt:272) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.startIdscpHandshake(FSM.kt:409) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.AsyncIdscp2Factory.initiateIdscp2Connection$lambda-1(AsyncIdscp2Factory.kt:77) ~[idscp2-0.6.0.jar:?]
at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) [?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
2022-03-03T10:47:59,025 [Thread-9] WARN - DapsDriver throws Exception while validating remote DAT. Send IDSCP_CLOSE {}
de.fhg.aisec.ids.idscp2.idscp_core.error.DatException: Error during claims processing
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.innerVerifyToken(AisecDapsDriver.kt:350) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.verifyToken(AisecDapsDriver.kt:293) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.StateWaitForHello$7.invoke(StateWaitForHello.kt:201) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.StateWaitForHello$7.invoke(StateWaitForHello.kt:146) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.Transition.doTransition(Transition.kt:30) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.State.feedEvent(State.kt:46) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.feedEvent(FSM.kt:369) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.onMessage(FSM.kt:258) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.secure_channel.SecureChannel.onMessage$lambda-0(SecureChannel.kt:64) ~[idscp2-0.6.0.jar:?]
at java.util.concurrent.CompletableFuture.uniAcceptNow(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture.uniAcceptStage(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture.thenAccept(Unknown Source) ~[?:?]
at de.fhg.aisec.ids.idscp2.idscp_core.secure_channel.SecureChannel.onMessage(SecureChannel.kt:64) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.secure_channel.tlsv1_3.client.TLSClient.onMessage$lambda-2(TLSClient.kt:146) ~[idscp2-0.6.0.jar:?]
at java.util.concurrent.CompletableFuture.uniAcceptNow(Unknown Source) [?:?]
at java.util.concurrent.CompletableFuture.uniAcceptStage(Unknown Source) [?:?]
at java.util.concurrent.CompletableFuture.thenAccept(Unknown Source) [?:?]
at de.fhg.aisec.ids.idscp2.default_drivers.secure_channel.tlsv1_3.client.TLSClient.onMessage(TLSClient.kt:146) [idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.secure_channel.tlsv1_3.client.InputListenerThread.run(InputListenerThread.kt:52) [idscp2-0.6.0.jar:?]
Caused by: org.jose4j.jwt.consumer.InvalidJwtException: JWT processing failed. Additional details: [[17] Unable to process JOSE object (cause: org.jose4j.lang.JoseException: Invalid JOSE Compact Serialization. Expecting either 3 or 5 parts for JWS or JWE respectively but was 1.): INVALID_DAT]
at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:413) ~[jose4j-0.7.8.jar:?]
at org.jose4j.jwt.consumer.JwtConsumer.processToClaims(JwtConsumer.java:171) ~[jose4j-0.7.8.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.innerVerifyToken(AisecDapsDriver.kt:346) ~[idscp2-0.6.0.jar:?]
... 18 more
Caused by: org.jose4j.lang.JoseException: Invalid JOSE Compact Serialization. Expecting either 3 or 5 parts for JWS or JWE respectively but was 1.
at org.jose4j.jwx.JsonWebStructure.fromCompactSerialization(JsonWebStructure.java:90) ~[jose4j-0.7.8.jar:?]
at org.jose4j.jwt.consumer.JwtConsumer.process(JwtConsumer.java:327) ~[jose4j-0.7.8.jar:?]
at org.jose4j.jwt.consumer.JwtConsumer.processToClaims(JwtConsumer.java:171) ~[jose4j-0.7.8.jar:?]
at de.fhg.aisec.ids.idscp2.default_drivers.daps.aisec_daps.AisecDapsDriver.innerVerifyToken(AisecDapsDriver.kt:346) ~[idscp2-0.6.0.jar:?]
... 18 more
2022-03-03T10:47:59,033 [https-jsse-nio-7084-exec-1] ERROR - Massage delivery failed finally, aborting exchange...
2022-03-03T10:47:59,093 [https-jsse-nio-7084-exec-1] ERROR - Failed delivery for (MessageId: 6311B622954700D-0000000000000000 on ExchangeId: 6311B622954700D-0000000000000000). Exhausted after delivery attempt: 1 caught: java.util.concurrent.ExecutionException: de.fhg.aisec.ids.idscp2.idscp_core.error.Idscp2HandshakeException: Handshake failed\n\nMessage History (source location and message history is disabled)\n---------------------------------------------------------------------------------------------------------------------------------------\nSource ID Processor Elapsed (ms)\n descriptionRequestSender/descr 18297\n ...\n descriptionRequestSender/toD8 ${exchangeProperty.idscp2-client-uri} 0\n\nStacktrace\n---------------------------------------------------------------------------------------------------------------------------------------
java.util.concurrent.ExecutionException: de.fhg.aisec.ids.idscp2.idscp_core.error.Idscp2HandshakeException: Handshake failed
at java.util.concurrent.CompletableFuture.reportGet(Unknown Source) ~[?:?]
at java.util.concurrent.CompletableFuture.get(Unknown Source) ~[?:?]
at de.fhg.aisec.ids.camel.idscp2.client.Idscp2ClientProducer.process(Idscp2ClientProducer.kt:56) ~[camel-idscp2-0.6.0.jar:?]
at org.apache.camel.support.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:66) ~[camel-support-3.15.0.jar:3.15.0]
at org.apache.camel.processor.SendDynamicProcessor.lambda$process$0(SendDynamicProcessor.java:197) ~[camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.support.cache.DefaultProducerCache.doInAsyncProducer(DefaultProducerCache.java:327) ~[camel-support-3.15.0.jar:3.15.0]
at org.apache.camel.processor.SendDynamicProcessor.process(SendDynamicProcessor.java:182) ~[camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.doRun(RedeliveryErrorHandler.java:812) [camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.run(RedeliveryErrorHandler.java:720) [camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:187) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultReactiveExecutor.scheduleMain(DefaultReactiveExecutor.java:64) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.processor.Pipeline.process(Pipeline.java:184) [camel-core-processor-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.CamelInternalProcessor.process(CamelInternalProcessor.java:399) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:96) [camel-direct-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.SharedCamelInternalProcessor.process(SharedCamelInternalProcessor.java:214) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.SharedCamelInternalProcessor$1.process(SharedCamelInternalProcessor.java:111) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultAsyncProcessorAwaitManager.process(DefaultAsyncProcessorAwaitManager.java:83) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.SharedCamelInternalProcessor.process(SharedCamelInternalProcessor.java:108) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.support.cache.DefaultProducerCache.send(DefaultProducerCache.java:199) [camel-support-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:176) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:148) [camel-base-engine-3.15.0.jar:3.15.0]
at org.apache.camel.impl.engine.DefaultProducerTemplate.send(DefaultProducerTemplate.java:131) [camel-base-engine-3.15.0.jar:3.15.0]
at io.dataspaceconnector.controller.message.ids.DescriptionRequestMessageController.sendMessage(DescriptionRequestMessageController.java:115) [classes/:7.0.1]
at io.dataspaceconnector.controller.message.ids.DescriptionRequestMessageController$$FastClassBySpringCGLIB$$ba843bd6.invoke(<generated>) [classes/:7.0.1]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) [spring-core-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:783) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:61) [spring-security-core-5.6.1.jar:5.6.1]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753) [spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:698) [spring-aop-5.3.15.jar:5.3.15]
at io.dataspaceconnector.controller.message.ids.DescriptionRequestMessageController$$EnhancerBySpringCGLIB$$a414654e.sendMessage(<generated>) [classes/:7.0.1]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1067) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) [spring-webmvc-5.3.15.jar:5.3.15]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) [spring-webmvc-5.3.15.jar:5.3.15]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:681) [tomcat-embed-core-9.0.56.jar:4.0.FR]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) [spring-webmvc-5.3.15.jar:5.3.15]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) [tomcat-embed-core-9.0.56.jar:4.0.FR]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:327) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:149) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:181) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:336) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:211) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:183) [spring-security-web-5.6.1.jar:5.6.1]
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96) [spring-boot-actuator-2.6.3.jar:2.6.3]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) [spring-web-5.3.15.jar:5.3.15]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) [spring-web-5.3.15.jar:5.3.15]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at io.opentracing.contrib.web.servlet.filter.TracingFilter.doFilter(TracingFilter.java:189) [opentracing-web-servlet-filter-0.4.0.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:895) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1732) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-embed-core-9.0.56.jar:9.0.56]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.56.jar:9.0.56]
at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: de.fhg.aisec.ids.idscp2.idscp_core.error.Idscp2HandshakeException: Handshake failed
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.FSM.startIdscpHandshake(FSM.kt:419) ~[idscp2-0.6.0.jar:?]
at de.fhg.aisec.ids.idscp2.idscp_core.fsm.AsyncIdscp2Factory.initiateIdscp2Connection$lambda-1(AsyncIdscp2Factory.kt:77) ~[idscp2-0.6.0.jar:?]
at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) ~[?:?]
... 1 more
2022-03-03T10:48:13,550 [scheduling-1] INFO - Scanning agreements...
2022-03-03T10:49:13,552 [scheduling-1] INFO - Scanning agreements...
2022-03-03T10:50:13,563 [scheduling-1] INFO - Scanning agreements...
2022-03-03T10:51:13,568 [scheduling-1] INFO - Scanning agreements...
2022-03-03T10:52:13,570 [scheduling-1] INFO - Scanning agreements...
2022-03-03T10:52:43,372 [OkHttp ConnectionPool] WARN - A connection to https://omejdn/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
2022-03-03T10:52:53,391 [OkHttp ConnectionPool] WARN - A connection to https://omejdn/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
Hi,
I just checked the DSC's IDSCP2 configuration class. There, only the property daps.url
is used to configure IDSCP2. The daps.token.url
property is not used there. So maybe the /v2
in the URL comes from IDSCP2 itself. @milux, do you have an idea?
We have fixed the v2 issue quite a while ago in IDSCP2. However, seems that the DSC 7.0.1 is still using a very old version of IDSCP2 (0.6.0 vs. 0.10.0). Two options:
EDIT: IDSCP2 0.10.0 released yesterday.
Note: IDSCP2 has been updated for the 7.0.1-RA version, which is kind of separate, but not the "normal" releases.
@ronjaquensel Could you or maybe @juliapampus please elaborate why recent IDSCP2 versions have not been integrated into DSC releases?
7.0.3 still uses the very outdated 0.6.0 version.
Moreover, could anyone please elaborate the motivation behind the separte 7.X.Z-RA
releases?
I think the best option is for sovity (@SebastianOpriel ) to update the IDSCP2 version and test it accordingly. Would be a good warm up.
Off-topic: The separte 7.0.1-RA release of remote attestation is due to the fact that we cannot test remote attestation ourselves and it is not clear whether anyone (other than you and your colleagues) can set it up. Therefore, we have released it as a separate version, so that anyone who wants to set it up and test it can do so.
@HeinrichPet AFAIK, IDSCP2 is disabled by default. But even if it isn't, then RA should be configured to "Dummy" by default, which means that the CMC RA is not active. I don't see any benefit from separate RA releases, apart from forcing everybody willing to try out this feature to use a outdated DSC version. Even if future dependency updates were to break CMC RA, a broken up-to-date version is still one step closer to a useful setup than a version that breaks anyway when merging latest updates. Moreover, nothing prevents you from clarifying that the latest tested version with CMC RA working was 7.0.1, and that future versions may be broken and cannot be maintained from your side. It is up to you (or Sovity) to decide how you want to handle this situation, but to me this separate releases thing looks like an anti-pattern that causes more harm than good for everyone.
I am trying to connect two Dataspace Connectors to our local Omejdn DAPS using IDSCPv2. Everything is working as intended when I try to connect the DSC v7.0.1 to the public DAPS (daps.aisec.fraunhofer.de).
The issue comes when I change the
application.properties
in the DSC to the following:and
I am trying to obtain the description of one DSC to another with
POST /api/ids/description
.The connector with IDSCPv2 is trying to force a call to
/v2/token
instead of/token
as defined in theapplication.properties
. The logs on the Omejdn DAPS are the following: