Skip to content

Bug: Kutt cannot resolve hostname of redis server without an A-record #1020

Description

@sellerie98

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions