For a POC, i use Axon Server version 4.5.6. My application works fine with this version. When i have decided to upgrade Axon Server to the last version 4.5.10, i encouter problems with Axon (Regression). The Queries are not dispatched and we have exceptions which are logged.
21/01/2022 08:48:04 15436 INFO Starting SupportApplication using Java 1.8.0_66 on PC-CHERQAOUI with PID 15436 (F:\WebDocument\DEV\Backend\codebase\services\support\target\classes started by admin in F:\WebDocument\DEV\Backend\codebase)
21/01/2022 08:48:04 15436 DEBUG Running with Spring Boot v2.6.2, Spring v5.3.14
21/01/2022 08:48:04 15436 INFO The following profiles are active: dev
21/01/2022 08:48:27 15436 INFO Started SupportApplication in 28.544 seconds (JVM running for 31.715)
21/01/2022 08:48:27 15436 INFO @@@ WebDocument version : 01.000.00
21/01/2022 08:48:27 15436 INFO — Loading WebDocument Configuration…
21/01/2022 08:48:27 15436 ERROR +++ org.axonframework.queryhandling.QueryExecutionException: com.ncrm.webdocument.commons.queries.WebDocumentConfigQuery
at org.axonframework.axonserver.connector.ErrorCode.lambda$static$15(ErrorCode.java:109)
at org.axonframework.axonserver.connector.ErrorCode.convert(ErrorCode.java:182)
at org.axonframework.axonserver.connector.query.GrpcBackedResponseMessage.(GrpcBackedResponseMessage.java:64)
at org.axonframework.axonserver.connector.query.QuerySerializer.deserializeResponse(QuerySerializer.java:176)
at org.axonframework.axonserver.connector.query.AxonServerQueryBus$ResponseProcessingTask.run(AxonServerQueryBus.java:725)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: AxonServerRemoteQueryHandlingException{message=An exception was thrown by the remote message handling component: com.ncrm.webdocument.commons.queries.WebDocumentConfigQuery, errorCode=‘AXONIQ-5001’, location=‘12880@PC-CHERQAOUI’}
at org.axonframework.axonserver.connector.ErrorCode.lambda$static$15(ErrorCode.java:107)
… 9 more
The logs you provide appear to be from the app that sends the query. Do you see anything in the Axon Server logs or in the app that contains the QueryHandler? The 5002 error is “just” the error showing the handling of the query ran into a problem.