Immich ML error 500
Trying to run face recognition or smart search jobs fail with the following error:
I run ML/Microservices on a separate device to the one storing the files/running redis ect.
immich_microservices| [Nest] 2 - 05/13/2025, 12:04:32 PM ERROR [Microservices:{"id":"5f6e71e4-aac1-4348-bae2-3b08dd9bb9b6"}] Unable to run job handler (faceDetection/face-detection): Error: Machine learning request '{"facial-recognition":{"detection":{"modelName":"antelopev2","options":{"minScore":0.7}},"recognition":{"modelName":"antelopev2"}}}' failed for all URLs
immich_microservices| Error: Machine learning request '{"facial-recognition":{"detection":{"modelName":"antelopev2","options":{"minScore":0.7}},"recognition":{"modelName":"antelopev2"}}}' failed for all URLs
immich_microservices|at MachineLearningRepository.predict (/usr/src/app/dist/repositories/machine-learning.repository.js:98:15)
immich_microservices|at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
immich_microservices|at async MachineLearningRepository.detectFaces (/usr/src/app/dist/repositories/machine-learning.repository.js:107:26)
immich_microservices|at async PersonService.handleDetectFaces (/usr/src/app/dist/services/person.service.js:237:52)
immich_microservices|at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:166:28)
immich_microservices|at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:126:13)
immich_microservices|at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
immich_microservices|at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
immich_microservices| [Nest] 2 - 05/13/2025, 12:04:32 PM WARN [Microservices:MachineLearningRepository] Machine learning request to "http://192.168.3.200:3003" failed with status 500: Internal Server Errorimmich_microservices| [Nest] 2 - 05/13/2025, 12:04:32 PM ERROR [Microservices:{"id":"5f6e71e4-aac1-4348-bae2-3b08dd9bb9b6"}] Unable to run job handler (faceDetection/face-detection): Error: Machine learning request '{"facial-recognition":{"detection":{"modelName":"antelopev2","options":{"minScore":0.7}},"recognition":{"modelName":"antelopev2"}}}' failed for all URLs
immich_microservices| Error: Machine learning request '{"facial-recognition":{"detection":{"modelName":"antelopev2","options":{"minScore":0.7}},"recognition":{"modelName":"antelopev2"}}}' failed for all URLs
immich_microservices|at MachineLearningRepository.predict (/usr/src/app/dist/repositories/machine-learning.repository.js:98:15)
immich_microservices|at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
immich_microservices|at async MachineLearningRepository.detectFaces (/usr/src/app/dist/repositories/machine-learning.repository.js:107:26)
immich_microservices|at async PersonService.handleDetectFaces (/usr/src/app/dist/services/person.service.js:237:52)
immich_microservices|at async JobService.onJobStart (/usr/src/app/dist/services/job.service.js:166:28)
immich_microservices|at async EventRepository.onEvent (/usr/src/app/dist/repositories/event.repository.js:126:13)
immich_microservices|at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:394:28)
immich_microservices|at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:581:24)
immich_microservices| [Nest] 2 - 05/13/2025, 12:04:32 PM WARN [Microservices:MachineLearningRepository] Machine learning request to "http://192.168.3.200:3003" failed with status 500: Internal Server ErrorI run ML/Microservices on a separate device to the one storing the files/running redis ect.