© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•3y ago•
13 replies
Matéo

Search error

I have two servers: the first is my "immich" server, and the second is used for machine learning.

I have created an NGINX proxy to expose my machine learning container to the internet with the URL: ml.mydomain.com
server {
    listen 80;
    listen [::]:80;
    server_name ml.mydomain.com;
    proxy_redirect off;

    location / {
        proxy_pass http://127.0.0.1:3003;
    }
}
server {
    listen 80;
    listen [::]:80;
    server_name ml.mydomain.com;
    proxy_redirect off;

    location / {
        proxy_pass http://127.0.0.1:3003;
    }
}

After searching for "cat" in my search bar, I encountered this error:
https://photos.mydomain.com/search/__data.json?q=cat&clip=true&x-sveltekit-invalidated=01
https://photos.mydomain.com/search/__data.json?q=cat&clip=true&x-sveltekit-invalidated=01

{
    "type": "data",
    "nodes": [
        {
            "type": "skip"
        },
        {
            "type": "error",
            "error": {
                "message": "Internal server error",
                "code": "500 - Internal Server Error"
            }
        }
    ]
}
{
    "type": "data",
    "nodes": [
        {
            "type": "skip"
        },
        {
            "type": "error",
            "error": {
                "message": "Internal server error",
                "code": "500 - Internal Server Error"
            }
        }
    ]
}


On my "immich" server:
[Nest] 8  - 08/30/2023, 9:07:13 PM   ERROR [ExceptionsHandler] input.join is not a function
TypeError: input.join is not a function
    at TypesenseRepository.vectorSearch (/usr/src/app/dist/infra/repositories/typesense.repository.js:244:70)
    at SearchService.search (/usr/src/app/dist/domain/search/search.service.js:115:54)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:46:28
    at async /usr/src/app/node_modules/@nestjs/core/router/router-proxy.js:9:17
[Nest] 8  - 08/30/2023, 9:07:13 PM   ERROR [ExceptionsHandler] input.join is not a function
TypeError: input.join is not a function
    at TypesenseRepository.vectorSearch (/usr/src/app/dist/infra/repositories/typesense.repository.js:244:70)
    at SearchService.search (/usr/src/app/dist/domain/search/search.service.js:115:54)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:46:28
    at async /usr/src/app/node_modules/@nestjs/core/router/router-proxy.js:9:17


In my machine learning container, I noticed double slashes and a 404 error:
[08/30/23 19:14:16] INFO     172.20.0.1:33504 - "POST //predict HTTP/1.1" 404 
[08/30/23 19:14:16] INFO     172.20.0.1:33504 - "POST //predict HTTP/1.1" 404 
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

RKNN ML smart search error
ImmichIImmich / help-desk-support
11mo ago
Internal server error on search
ImmichIImmich / help-desk-support
3y ago
Search function returns an error
ImmichIImmich / help-desk-support
3y ago
Search 500 - Internal Server Error
ImmichIImmich / help-desk-support
3y ago