Homarr struggles with IPv6...

Running a Talos Linux Kubernetes cluster here, configured dual stack IPv4 / IPv6. In that cluster, I have both Keycloak and Homarr (and more...). Keycloak is using 2 URLs (auth.domain.tld and keycloak.domain.tld) to separate users and admin access. Both of these are exposed with an ingress that listens on both IPv4 and IPv6. I also have both A and AAAA records for these names. When I try to configure Homarr for my Keycloak service, it fails. 2025-04-28T03:28:09.512Z error: fetch failed ... at async doRender (/app/node_modules/next/dist/server/base-server.js:1513:42) caused by Error: getaddrinfo ENOTFOUND auth.domain.tld errno="-3007" code="ENOTFOUND" syscall="getaddrinfo" hostname="auth.domain.tld" at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:130:17) When I open a shell in a pod, Homarr or another, nslookup successfully retrieve both DNS records : (from Homarr's pod here...) /app # nslookup auth.domain.tld Server: 10.96.0.10 Address: 10.96.0.10:53 auth.domain.tld canonical name = nginx-ing64.domain.tld Name: nginx-ing64.domain.tld Address: 172.24.138.10 auth.domain.tld canonical name = nginx-ing64.domain.tld Name: nginx-ing64.domain.tld Address: 2001:0DB8:6000:c4::100 Should I try to connect the SSL socket with OpenSSL from inside Homarr's pod, it fails : /app # openssl s_client -connect auth.domain.tld:443 28AB5B27057F0000:error:10080002:BIO routines:BIO_lookup_ex:system lib:crypto/bio/bio_addr.c:763:Name has no usable address connect:errno=22 The pod itself has both IPv4 and IPv6. In all cases, DNS records and IPs exist for both. Should Homarr be limited to v4, it should still be able to connect to Keycloak. Any idea how to fix that ?
Solution:
Please search for open GitHub issues or open a GitHub issue. We do not track bugs in Discord. Thank you!
Jump to solution
3 Replies
Cakey Bot
Cakey Bot3d ago
Thank you for submitting a support request. Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Heracles31
Heracles31OP3d ago
As an extra validation, I just hard coded the IPv4 in Homarr's /etc/hosts file and now it connects to my Keycloak instance. So really, the DNS resolution is confused by the dual stack and unable to get the v4 / is unable to work with the v6.
Solution
Manicraft1001
Manicraft10012d ago
Please search for open GitHub issues or open a GitHub issue. We do not track bugs in Discord. Thank you!

Did you find this page helpful?