imagegenius / docker-immich

Monolithic (Single) Docker Container for Immich
GNU General Public License v3.0
545 stars 26 forks source link

ECONNREFUSED error when using smart search #385

Open afermar opened 3 months ago

afermar commented 3 months ago

I get this in the logs:

[Nest] 539  - 07/01/2024, 9:15:08 PM   ERROR [Api:Error: Machine learning request to "http://127.0.0.1:3003" failed with Error: connect ECONNREFUSED 127.0.0.1:3003
    at /app/immich/server/dist/repositories/machine-learning.repository.js:19:19
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async MachineLearningRepository.predict (/app/immich/server/dist/repositories/machine-learning.repository.js:18:21)
    at async MachineLearningRepository.encodeText (/app/immich/server/dist/repositories/machine-learning.repository.js:47:26)
    at async SearchService.searchSmart (/app/immich/server/dist/services/search.service.js:96:27)~femsl0jr] Failed to search smart
[Nest] 539  - 07/01/2024, 9:15:08 PM   ERROR [Api:Error: Machine learning request to "http://127.0.0.1:3003" failed with Error: connect ECONNREFUSED 127.0.0.1:3003
    at /app/immich/server/dist/repositories/machine-learning.repository.js:19:19
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async MachineLearningRepository.predict (/app/immich/server/dist/repositories/machine-learning.repository.js:18:21)
    at async MachineLearningRepository.encodeText (/app/immich/server/dist/repositories/machine-learning.repository.js:47:26)
    at async SearchService.searchSmart (/app/immich/server/dist/services/search.service.js:96:27)~femsl0jr] Error: Machine learning request to "http://127.0.0.1:3003" failed with Error: connect ECONNREFUSED 127.0.0.1:3003
MoSattler commented 3 months ago

This has been fixed for me after pulling the latest image

hydazz commented 2 months ago

@afermar was this also fixed for you?

afermar commented 2 months ago

No, still same error with v1.107.2

hydazz commented 2 months ago

What tag are you using?

afermar commented 2 months ago

latest