jolly-jump
jolly-jump
IImmich
Created by jolly-jump on 6/25/2023 in #help-desk-support
EAI_AGAIN when first using typesense
The original post was solved, can I close this post? Let's try.
17 replies
IImmich
Created by jolly-jump on 6/25/2023 in #help-desk-support
EAI_AGAIN when first using typesense
and then the server does not complain anymore.
17 replies
IImmich
Created by jolly-jump on 6/25/2023 in #help-desk-support
EAI_AGAIN when first using typesense
oh, maybe the log was not way back as it should. here is a beginning:
immich-server | Request #1687726654047: Request to Node 0 failed due to "undefined Request failed with HTTP code 503 | Server said: Not Ready or Lagging"
immich-server | Request #1687726654047: Sleeping for 4s and then retrying request...
[...]
Configuration of this group is 172.18.0.15:8107:8108
typesense | I20230625 20:57:37.559172 144 raft_server.h:273] Configuration of this group is 172.18.0.5:8107:8108
typesense | I20230625 20:57:37.559638 144 node.cpp:3142] node default_group:172.18.0.5:8107:8108 reset ConfigurationCtx, new_peers: 172.18.0.5:8107:8108, old_peers: 172.18.0.5:8107:8108
typesense | I20230625 20:57:37.560143 144 raft_server.h:256] Node becomes leader, term: 8
immich-server | Request #1687726654047: Request to Node 0 failed due to "undefined Request failed with HTTP code 503 | Server said: Not Ready or Lagging"
immich-server | Request #1687726654047: Sleeping for 4s and then retrying request...
immich-server | [Nest] 1 - 06/25/2023, 8:57:42 PM DEBUG [TypesenseRepository] faces-v1 collection has 0 documents
immich-server | [Nest] 1 - 06/25/2023, 8:57:42 PM DEBUG [TypesenseRepository] albums-v1 collection has 7 documents
immich-server | [Nest] 1 - 06/25/2023, 8:57:42 PM DEBUG [TypesenseRepository] assets-v7 collection has 886 documents
immich-server | [Nest] 1 - 06/25/2023, 8:57:42 PM LOG [TypesenseRepository] Schema up to date: assets/assets-v7
immich-server | [Nest] 1 - 06/25/2023, 8:57:42 PM LOG [TypesenseRepository] Schema up to date: albums/albums-v1
immich-server | [Nest] 1 - 06/25/2023, 8:57:42 PM LOG [TypesenseRepository] Schema up to date: faces/faces-v1
immich-server | Request #1687726654047: Request to Node 0 failed due to "undefined Request failed with HTTP code 503 | Server said: Not Ready or Lagging"
immich-server | Request #1687726654047: Sleeping for 4s and then retrying request...
[...]
Configuration of this group is 172.18.0.15:8107:8108
typesense | I20230625 20:57:37.559172 144 raft_server.h:273] Configuration of this group is 172.18.0.5:8107:8108
typesense | I20230625 20:57:37.559638 144 node.cpp:3142] node default_group:172.18.0.5:8107:8108 reset ConfigurationCtx, new_peers: 172.18.0.5:8107:8108, old_peers: 172.18.0.5:8107:8108
typesense | I20230625 20:57:37.560143 144 raft_server.h:256] Node becomes leader, term: 8
immich-server | Request #1687726654047: Request to Node 0 failed due to "undefined Request failed with HTTP code 503 | Server said: Not Ready or Lagging"
immich-server | Request #1687726654047: Sleeping for 4s and then retrying request...
immich-server | [Nest] 1 - 06/25/2023, 8:57:42 PM DEBUG [TypesenseRepository] faces-v1 collection has 0 documents
immich-server | [Nest] 1 - 06/25/2023, 8:57:42 PM DEBUG [TypesenseRepository] albums-v1 collection has 7 documents
immich-server | [Nest] 1 - 06/25/2023, 8:57:42 PM DEBUG [TypesenseRepository] assets-v7 collection has 886 documents
immich-server | [Nest] 1 - 06/25/2023, 8:57:42 PM LOG [TypesenseRepository] Schema up to date: assets/assets-v7
immich-server | [Nest] 1 - 06/25/2023, 8:57:42 PM LOG [TypesenseRepository] Schema up to date: albums/albums-v1
immich-server | [Nest] 1 - 06/25/2023, 8:57:42 PM LOG [TypesenseRepository] Schema up to date: faces/faces-v1
17 replies
IImmich
Created by jolly-jump on 6/25/2023 in #help-desk-support
EAI_AGAIN when first using typesense
sorry, this is the output of: docker-compose logs -f --tail=1000 immich-server
17 replies
IImmich
Created by jolly-jump on 6/25/2023 in #help-desk-support
EAI_AGAIN when first using typesense
when I try to login from another browser, it shows the login screen but "error: unable to connect"
17 replies
IImmich
Created by jolly-jump on 6/25/2023 in #help-desk-support
EAI_AGAIN when first using typesense
yes.
17 replies
IImmich
Created by jolly-jump on 6/25/2023 in #help-desk-support
EAI_AGAIN when first using typesense
does it make sense, that the webclient says "Server: offline" and I can see no photos etc... but as soon as I disable typesense again, the server is online again, and the photos are there. The logs don't show any problem, when typesense is enabled.
17 replies
IImmich
Created by jolly-jump on 6/25/2023 in #help-desk-support
EAI_AGAIN when first using typesense
right! makes totally sense for my setup.
17 replies
IImmich
Created by jolly-jump on 6/25/2023 in #help-desk-support
EAI_AGAIN when first using typesense
Follow up: The example.env mentions
# Example JSON that was used:
# [
# { "host": "typesense-1.example.net", "port": "443", "protocol": "https" },
# { "host": "typesense-2.example.net", "port": "443", "protocol": "https" },
# { "host": "typesense-3.example.net", "port": "443", "protocol": "https" },
# ]
# TYPESENSE_URL=ha://WwogIHsgImhvc3QiOiAidHlwZXNlbnNlLTEuZXhhbXBsZS5uZXQiLCAicG9ydCI6ICI0NDMiLCAicHJvdG9jb2wiOiAiaHR0cHMiIH0sCiAgeyAiaG9zdCI6ICJ0eXBlc2Vuc2UtMi5leGFtcGxlLm5ldCIsICJwb3J0IjogIjQ0MyIsICJwcm90b2NvbCI6ICJodHRwcyIgfSwKICB7ICJob3N0IjogInR5cGVzZW5zZS0zLmV4YW1wbGUubmV0IiwgInBvcnQiOiAiNDQzIiwgInByb3RvY29sIjogImh0dHBzIiB9Cl0=
# Example JSON that was used:
# [
# { "host": "typesense-1.example.net", "port": "443", "protocol": "https" },
# { "host": "typesense-2.example.net", "port": "443", "protocol": "https" },
# { "host": "typesense-3.example.net", "port": "443", "protocol": "https" },
# ]
# TYPESENSE_URL=ha://WwogIHsgImhvc3QiOiAidHlwZXNlbnNlLTEuZXhhbXBsZS5uZXQiLCAicG9ydCI6ICI0NDMiLCAicHJvdG9jb2wiOiAiaHR0cHMiIH0sCiAgeyAiaG9zdCI6ICJ0eXBlc2Vuc2UtMi5leGFtcGxlLm5ldCIsICJwb3J0IjogIjQ0MyIsICJwcm90b2NvbCI6ICJodHRwcyIgfSwKICB7ICJob3N0IjogInR5cGVzZW5zZS0zLmV4YW1wbGUubmV0IiwgInBvcnQiOiAiNDQzIiwgInByb3RvY29sIjogImh0dHBzIiB9Cl0=
which I can't reproduce, I think the last "," in the json is wrong anyway. Would it not be better to write the following into the example.env
# Example JSON that was used:
# [
# { "host": "typesense", "port": "8108", "protocol": "http" }
# ]
# TYPESENSE_URL=ha://WwogICAgIHsgImhvc3QiOiAidHlwZXNlbnNlIiwgInBvcnQiOiAiODEwOCIsICJwcm90b2NvbCI6ICJodHRwIiB9Cl0K
# Example JSON that was used:
# [
# { "host": "typesense", "port": "8108", "protocol": "http" }
# ]
# TYPESENSE_URL=ha://WwogICAgIHsgImhvc3QiOiAidHlwZXNlbnNlIiwgInBvcnQiOiAiODEwOCIsICJwcm90b2NvbCI6ICJodHRwIiB9Cl0K
?
17 replies
IImmich
Created by jolly-jump on 6/25/2023 in #help-desk-support
EAI_AGAIN when first using typesense
@bo0tzz That worked, yeah! Thanks
17 replies
IImmich
Created by jolly-jump on 6/25/2023 in #help-desk-support
EAI_AGAIN when first using typesense
ah... oh, ok. I'll try the default then
17 replies