When setting up Kutt in Docker with a separate DB/Redis host thats only reachable via IPv6 the Kutt server seems to be unable to resolve the hostname behind the DB hostname:
server-1 | [ioredis] Unhandled error event: Error: getaddrinfo ENOTFOUND <kutt-db-server>
server-1 | at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:26)
(I redacted the hostname; this error message is repeated over and over in the log)
The hostname resolves properly when using e.g. nslookup from inside the kutt container.
This seems to be the default behaviour of ioredis up until version 5.8.2: redis/ioredis#2028
When setting up Kutt in Docker with a separate DB/Redis host thats only reachable via IPv6 the Kutt server seems to be unable to resolve the hostname behind the DB hostname:
(I redacted the hostname; this error message is repeated over and over in the log)
The hostname resolves properly when using e.g. nslookup from inside the kutt container.
This seems to be the default behaviour of ioredis up until version 5.8.2: redis/ioredis#2028