Investigation-service - UNAVAILABLE: server concurrency limit reached          

       

Overview

When trying to identify a latent or face in Case management, the Webafis trows an error:


Unable to load biometric samples. If the problem persists, please contact the administrator.



Full logs from investigation-service:

2026-02-16 16:51:30.685 ERROR [deb808f1a1b2bff2fcb29f7766aae631,c51bfbc852a71aba,,] --- [DefaultDispatcher-worker-21] Application ABIS-10001: General error: ERROR verifying latents with minutiae: io.grpc.StatusRuntimeException: UNAVAILABLE: Server concurrency limit reached
2026-02-16 16:51:30.685 ERROR [deb808f1a1b2bff2fcb29f7766aae631,c51bfbc852a71aba,,] --- [DefaultDispatcher-worker-17] Application ABIS-10001: General error: ERROR verifying latents with minutiae: io.grpc.StatusRuntimeException: UNAVAILABLE: Server concurrency limit reached
2026-02-16 16:51:30.685 ERROR [deb808f1a1b2bff2fcb29f7766aae631,c51bfbc852a71aba,,] --- [DefaultDispatcher-worker-19] Application ABIS-10001: General error: ERROR verifying latents with minutiae: io.grpc.StatusRuntimeException: UNAVAILABLE: Server concurrency limit reached
2026-02-16 16:51:30.686 ERROR [deb808f1a1b2bff2fcb29f7766aae631,c51bfbc852a71aba,,] --- [DefaultDispatcher-worker-26] Application ABIS-10001: General error: ERROR verifying latents with minutiae: io.grpc.StatusRuntimeException: UNAVAILABLE: Server concurrency limit reached
2026-02-16 16:51:30.685 ERROR [deb808f1a1b2bff2fcb29f7766aae631,c51bfbc852a71aba,,] --- [DefaultDispatcher-worker-22] Application ABIS-10001: General error: ERROR verifying latents with minutiae: io.grpc.StatusRuntimeException: UNAVAILABLE: Server concurrency limit reached
2026-02-16 16:51:30.685 ERROR [deb808f1a1b2bff2fcb29f7766aae631,c51bfbc852a71aba,,] --- [DefaultDispatcher-worker-23] Application ABIS-10001: General error: ERROR verifying latents with minutiae: io.grpc.StatusRuntimeException: UNAVAILABLE: Server concurrency limit reached
2026-02-16 16:51:30.685 ERROR [deb808f1a1b2bff2fcb29f7766aae631,c51bfbc852a71aba,,] --- [DefaultDispatcher-worker-18] Application ABIS-10001: General error: ERROR verifying latents with minutiae: io.grpc.StatusRuntimeException: UNAVAILABLE: Server concurrency limit reached
2026-02-16 16:51:30.685 ERROR [deb808f1a1b2bff2fcb29f7766aae631,c51bfbc852a71aba,,] --- [DefaultDispatcher-worker-24] Application ABIS-10001: General error: ERROR verifying latents with minutiae: io.grpc.StatusRuntimeException: UNAVAILABLE: Server concurrency limit reached
2026-02-16 16:51:31.236 ERROR [deb808f1a1b2bff2fcb29f7766aae631,c51bfbc852a71aba,,] --- [DefaultDispatcher-worker-10] Application General error
com.innovatrics.abis.investigation.lib.AbisException: General error
    at com.innovatrics.abis.investigation.handlers.MinutiaePointsHandler.verifyLatentsWithMinutiaePoints(MinutiaePointsHandler.kt:43)
    at com.innovatrics.abis.investigation.handlers.SearchIdentificationSamplesHandler.getSampleCorrespondences(SearchIdentificationSamplesHandler.kt:390)
    at com.innovatrics.abis.investigation.handlers.SearchIdentificationSamplesHandler.access$getSampleCorrespondences(SearchIdentificationSamplesHandler.kt:43)
    at com.innovatrics.abis.investigation.handlers.SearchIdentificationSamplesHandler$handleLatent$2$indexedCorrespondences$1$1.invokeSuspend(SearchIdentificationSamplesHandler.kt:65)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
    at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
    Suppressed: com.innovatrics.abis.investigation.lib.AbisException: General error
        ... 12 common frames omitted
    Suppressed: com.innovatrics.abis.investigation.lib.AbisException: General error
        ... 12 common frames omitted
    Suppressed: com.innovatrics.abis.investigation.lib.AbisException: General error
        ... 12 common frames omitted
    Suppressed: com.innovatrics.abis.investigation.lib.AbisException: General error
        ... 12 common frames omitted
    Suppressed: com.innovatrics.abis.investigation.lib.AbisException: General error
        ... 12 common frames omitted
    Suppressed: com.innovatrics.abis.investigation.lib.AbisException: General error
        ... 12 common frames omitted
    Suppressed: com.innovatrics.abis.investigation.lib.AbisException: General error
        ... 12 common frames omitted
2026-02-16 16:51:31.237 INFO  [deb808f1a1b2bff2fcb29f7766aae631,c51bfbc852a71aba,,] --- [DefaultDispatcher-worker-7] Application 500 Internal Server Error: POST - /investigation-service/v3/internal/search/identification/samples in 1111ms

Root Cause


Data-service has a limit of messages that it can process at the same time and the limit is being reached.

Resolution

Increase SERVER_MAX_INFLIGHT_REQUESTS in data-service configmap and restart the data-service deployment.