-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Caddy hangs after: Started certificate maintenance routine #2561
Comments
Was Caddy forcefully quit at all within the last 2 hours? Esp. during this phase? |
I don't think so. Caddy was always stopped by However, eventually systemd may quit Caddy forcefully if it hangs too long after the |
My guess is that Caddy is waiting on some locks (in the Thanks for the detailed report! |
I had the same thought, and yes, there are no other Caddy instances. I've tried to remove the locks and other files in |
1. Which version of Caddy are you using (
caddy -version
)?Caddy 1.0.0-beta1
2. What are you trying to do?
Deploy an HTTPS proxy.
3. What is your Caddyfile?
4. How did you run Caddy (give the full command and describe the execution environment)?
By using an ansible role
5. Please paste any relevant HTTP request(s) here.
6. What did you expect to see?
Caddy starts successfully.
7. What did you see instead (give full error messages and/or log)?
[INFO][FileStorage:/etc/ssl/caddy] Started certificate maintenance routine
strace -ifp CADDYS_PID
shows the following:8. Why is this a bug, and how do you think this should be fixed?
9. What are you doing to work around the problem in the meantime?
CADDYPATH
which is/etc/ssl/caddy
in my case/usr/local/bin/caddy
with an older(v0.11.5
) onesetcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/caddy
to allow the new caddy listens on lower portsystemctl restart caddy
it works now.
10. Please link to any related issues, pull requests, and/or discussion.
Bonus: What do you use Caddy for? Why did you choose Caddy?
The text was updated successfully, but these errors were encountered: