Hi all,
I’ve successfully set-up a Guacamole server and have added it to my Caddyfile to reverse proxy it to the outside. However, ever since I added it to the file Caddy Server keeps crashing.
Here is my Caddyfile:
Oct 30 07:03:09 CadServ systemd[1]: Started Caddy HTTP/2 web server.
Oct 30 07:03:09 CadServ caddy[398]: Activating privacy features…2017/10/30 07:03:09 get directory at ‘https://acme-v01.api.letsencrypt.org/directory’: failed to get json “https://acme-v01.api.letsencrypt.org/directory”: Get https://acm
Oct 30 07:03:09 CadServ systemd[1]: caddy.service: Main process exited, code=exited, status=1/FAILURE
Oct 30 07:03:09 CadServ systemd[1]: caddy.service: Unit entered failed state.
Oct 30 07:03:09 CadServ systemd[1]: caddy.service: Failed with result ‘exit-code’.
Oct 30 07:03:09 CadServ caddy[398]: Activating privacy features…2017/10/30 07:03:09 get directory at ‘https://acme-v01.api.letsencrypt.org/directory’: failed to get json “https://acme-v01.api.letsencrypt.org/directory”: Get https://acm
Looks like it failed because it couldn’t contact the ACME server. Doesn’t seem like a Guacamole-specific error. Does your Caddy host have internet access?
That might be because your host can’t access the ACME server right now, but you already have certificates for the other sites in your Caddyfile, so it doesn’t need to get them.
Try curl https://acme-v01.api.letsencrypt.org/directory from the Caddy host and see what you get.
Yep, your server can’t reach the ACME server. Mine can, so the problem is most likely at your end, not at LetsEncrypt.
If it’s able to access other hosts, it might just be a general internet routing issue, such as a bad router between you and LE. If that’s the case, it’ll be over in a few hours, most likely.