Closed FingerlessGlov3s closed 6 months ago
In my tests i cannot reproduce this but i heard about this issue even earlier then the last update.
However it's very very hard to debug as the normal startup is working in general.
I'll try my best to look around.
After investigation with @DerLinkman's help, we believe the issue to be related to recent c-ares
changes and being included in Alpine 3.19, the fix exists, but they've not released a new release since the merge, so we need to wait for that plus for it to hit the Alpine repo. Then hopefully it fixes the problem I and a few others are experiencing.
https://github.com/c-ares/c-ares/pull/685
Workaround until the fix reachs Alpine is to remove search
option for the moment.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Contribution guidelines
I've found a bug and checked that ...
Description
Other containers using curl were also having issues trying to resolve, I didn't check them all but there were others, plus a person in Telegram said they had acme container stuck waiting for nginx, which also uses curl to check for connectivity.
After lots of debugging, if I remove the
search
option from the containers/etc/resolv.conf
mailcow it springs in to life. I have thesearch
option set on my Debian host, so the container had inherited the same value, but that's been set for I can't remember how long.Sounds as if there's a bug in the new alpine containers, as there was a new curl version last month, which maybe the issue, unless something else was changed.
Steps to reproduce:
Which branch are you using?
master
Operating System:
Debian 11
Server/VM specifications:
5GB, 4 Cores
Is Apparmor, SELinux or similar active?
no
Virtualization technology:
KVM
Docker version:
24.0.7
docker-compose version or docker compose version:
Docker Compose version v2.21.0
mailcow version:
2024-01
Reverse proxy:
None
Logs of git diff:
Logs of iptables -L -vn:
Logs of ip6tables -L -vn:
Logs of iptables -L -vn -t nat:
Logs of ip6tables -L -vn -t nat:
DNS check: