Untitled

mail@pastecode.io avatar
unknown
plain_text
5 months ago
5.3 kB
3
Indexable
2024-08-22T10:25:54.773Z  INFO 1 --- [tContainer#27-1] b.m.m.b.p.s.EjbcaCertificateCreationStep : Sending request to ejbca for certificate enrollment for eidentityId: f7127638-09f8-4837-bb8c-6a017c19e024
2024-08-22T10:25:54.997Z ERROR 1 --- [tContainer#27-1] b.b.m.m.b.c.c.FeignEjbcaErrorDecoder     : Error Response in Feign Client: {"error_code":400,"error_message":"Invalid certificate request"}
2024-08-22T10:25:54.999Z ERROR 1 --- [tContainer#27-1] b.b.m.c.r.consumer.RabbitErrorHandler    : Listener method 'public org.springframework.amqp.support.converter.RemoteInvocationResult bg.bulsi.mvr.mpozei.backend.rabbitmq.ListenerDispatcher.enrollForDeskCertificate(bg.bulsi.mvr.mpozei.contract.dto.CertificateRequest)' threw exception

org.springframework.amqp.rabbit.support.ListenerExecutionFailedException: Listener method 'public org.springframework.amqp.support.converter.RemoteInvocationResult bg.bulsi.mvr.mpozei.backend.rabbitmq.ListenerDispatcher.enrollForDeskCertificate(bg.bulsi.mvr.mpozei.contract.dto.CertificateRequest)' threw exception
        at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:272)
        at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandlerAndProcessResult(MessagingMessageListenerAdapter.java:210)
        at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.onMessage(MessagingMessageListenerAdapter.java:149)
        at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:1719)
        at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.actualInvokeListener(AbstractMessageListenerContainer.java:1638)
        at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:1626)
        at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1617)
        at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListenerAndHandleException(AbstractMessageListenerContainer.java:1562)
        at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.lambda$executeListener$8(AbstractMessageListenerContainer.java:1541)
        at io.micrometer.observation.Observation.lambda$observe$0(Observation.java:493)
        at io.micrometer.observation.Observation.observeWithContext(Observation.java:603)
        at io.micrometer.observation.Observation.observe(Observation.java:492)
        at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1541)
        at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.doReceiveAndExecute(SimpleMessageListenerContainer.java:1001)
        at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer.receiveAndExecute(SimpleMessageListenerContainer.java:948)
        at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.mainLoop(SimpleMessageListenerContainer.java:1326)
        at org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer$AsyncMessageProcessingConsumer.run(SimpleMessageListenerContainer.java:1232)
        at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: bg.bulsi.mvr.common.exception.FaultMVRException: Invalid certificate request
        at bg.bulsi.mvr.mpozei.backend.client.config.FeignEjbcaErrorDecoder.decode(FeignEjbcaErrorDecoder.java:29)
        at feign.ResponseHandler.decodeError(ResponseHandler.java:136)
        at feign.ResponseHandler.handleResponse(ResponseHandler.java:70)
        at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:114)
        at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:70)
        at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:96)
        at jdk.proxy2/jdk.proxy2.$Proxy210.enrollForCertificate(Unknown Source)
        at bg.bulsi.mvr.mpozei.backend.pipeline.steps.EjbcaCertificateCreationStep.enrollForEjbcaCertificate(EjbcaCertificateCreationStep.java:61)
        at bg.bulsi.mvr.mpozei.backend.pipeline.steps.EjbcaCertificateCreationStep.process(EjbcaCertificateCreationStep.java:35)
        at bg.bulsi.mvr.mpozei.backend.pipeline.steps.EjbcaCertificateCreationStep.process(EjbcaCertificateCreationStep.java:23)
        at bg.bulsi.mvr.common.pipeline.Pipeline.process(Pipeline.java:45)
        at bg.bulsi.mvr.mpozei.backend.service.impl.ApplicationServiceImpl.processApplication(ApplicationServiceImpl.java:190)
        at bg.bulsi.mvr.mpozei.backend.service.impl.ApplicationServiceImpl.enrollForCertificate(ApplicationServiceImpl.java:306)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
Leave a Comment