Matéo
Matéo
IImmich
Created by Matéo on 8/30/2023 in #help-desk-support
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
14 replies