-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACME "Waiting for Nginx..." #5962
Comments
The problem lies in this curl request, as when I exec into the container, I am able to ping the alias nginx - however when curling it fails to resolve the host However, if I curl with the nginx containers internal ip, I get a response and the script would continue. So this is what is stopping the acme container from proceeding. What I have done in the mean time is exec into the container and modify the
But as the script is copied / built into the image, it goes back to "Waiting for Nginx..." after running If there was a way to persistantly edit the Appreciate any help / input - Thanks in advance :) |
Hello, I'm hitting the same bug on a fresh mailcow install. Same OS (ubuntu 22.04) and same architecture (ARM64). The same fix (replace "nginx" with "$nginx ip" in acme.sh worked to obtain a cert, but as stated a "docker compose down && docker compose up -d" reverts acme.sh to a broken state. |
I've some more digging and found out that apparently this is the intended behaviour of curl curl/curl#11104? So unless an explicit entry is added to I think I have however found a fix: From this thread if we use the full domain for the container so |
I tested this fix as well and it works. Hopefully it will be merged soon. |
Contribution guidelines
I've found a bug and checked that ...
Description
Logs:
Steps to reproduce:
Which branch are you using?
master
Which architecture are you using?
ARM64 (aarch64)
Operating System:
Ubuntu 22.04 minimal
Server/VM specifications:
12gb ram, 2 cores
Is Apparmor, SELinux or similar active?
no
Virtualization technology:
no
Docker version:
Docker version 27.0.3, build 7d4bcd8
docker-compose version or docker compose version:
Docker Compose version v2.28.1
mailcow version:
2024-06c
Reverse proxy:
n/a
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:
The text was updated successfully, but these errors were encountered: