Docker Caddy request for certs having valid ones

1. Caddy version (caddy version):

caddy:2.1.1-alpine

2. How I run Caddy:

I have caddy running as a docker container.

a. System environment:

I use ubuntu 18 and run caddy with docker

b. Command:

paste command here

c. Service/unit/compose file:

This is my docker compose file

version: “3”

services:
caddy_server:
image: anthonyrfarias/dinner:caddy_server
deploy:
replicas: 1
ports:
- 80:80
- 443:443
volumes:
- caddy_data:/data
- caddy_config:/config
networks:
- dinner-internet
- dinner-no-internet

volumes:
caddy_data:
external: true
caddy_config:
external: true
dinnerdb:
external: true
dinnerredisdb:
external: true
dinnerImages:
external: true

networks:
dinner-no-internet:
driver: overlay
internal: true
dinner-internet:
driver: overlay

paste full file contents here

d. My complete Caddyfile or JSON config:

tudinner.com {
   root * /usr/share/caddy/
   file_server browse   
}
test.tudinner.com {
   encode zstd gzip
   root * /staging
   file_server browse
   try_files {path} {path}/ /index.html
}
testempresas.tudinner.com {
   reverse_proxy ms-empresas-app:6060
}
testproductos.tudinner.com {
   reverse_proxy ms-productos-app:6061
}
testusuarios.tudinner.com {
   reverse_proxy ms-usuarios-app:6062
}
testimages.tudinner.com {
   reverse_proxy ms-imagenes-app:6063
}
testnotificaciones.tudinner.com {
   reverse_proxy ms-notificaciones-app:6064
}
stagingredisadmin.tudinner.com {
   reverse_proxy redis-commander-dinner:8081
}

3. The problem I’m having:

The first time I deployed my app everything was good. Tls worked greate. As I kept uploading changes and deploying caddy stopped serving my website. Taking a look at the logs, it says too many certificates requested. I assumed caddy would not request for any more certificates, having downloaded certificates for the first time being still valid.

4. Error messages and/or full log output:

dinner_caddy_server.1.l50pexa9qmcn@dinner-ubuntu | 2020/07/31 23:20:20 [INFO] [tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.l50pexa9qmcn@dinner-ubuntu | 2020/07/31 23:20:20 [ERROR] acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many certificates already issued for exact set of domains: tudinner.com: see https://letsencrypt.org/docs/rate-limits/, url: (challenge=tls-alpn-01 remaining=[])

5. What I already tried:

I dont really know what to do here.

6. Links to relevant resources:

This is my webpage, tudinner.com you can see the ssl error

you look to be hitting the rate limit for LetsEncrypt https://letsencrypt.org/docs/rate-limits/.

If you’ve hit a rate limit, we don’t have a way to temporarily reset it. You’ll need to wait until the rate limit expires after a week.

Since you will have to wait for the rate limit to clear you should use the staging endpoint to finish the rest of your testing. https://caddyserver.com/docs/automatic-https#testing

to prevent this from happening try one of the following:

2 Likes

Great tips by @cupanoodle. I’ll add one other most important thing: make sure you’re not purging Caddy’s data directory. It won’t get new certs if it already has existing ones.

I am using a docker volume. It does not purge volume data. A few days ago, I had tudinner.com with tls perfectly working. I deployed several times for the other subdomains you see in my caddyfile and the cert for tudinner.com just went away.

My question is: Should I use caddy directly in my operating system? are there any disadvantages using it on docker? is there anything wrong with my compose file for deployment? Because all i can see in the logs is that it keeps looking for new certificates on every reload.

Thanks in advanced for your help.

Could you verify that your docker image (since you’re using a custom one) has the XDG_DATA_HOME environment var set correctly to /data? It might be storing the certs somewhere else instead, causing them not to be persisted via your volume.

I’m using an official docker image. This is the link. XDG_DATA_HOME is right there!

In your docker-compose config above you have:

Also, please use ``` on the lines before and after your config to use code block formatting, it’s hard to read your logs and config without it. Whitespace/indentation isn’t preserved.

Oh, yeah, but it builds from the official.

Here is my docker file.

FROM caddy:2.1.1-alpine

COPY ./Caddyfile /etc/caddy/

RUN mkdir -p /staging/
RUN mkdir -p /usr/share/caddy/

COPY ./staticFiles/ /usr/share/caddy/
COPY ./frontend-webpage/dist/ /staging/

Okay. What are your full logs? Instead of just those couple lines… there might be other relevant stuff in there that you omitted.

Here are my logs.

dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    |     {"level":"info","ts":1596301090.8448286,"logger":"http","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"srv0","https_port":443}
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | {"level":"info","ts":1596301090.844869,"logger":"http","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | {"level":"info","ts":1596301090.8474717,"logger":"tls","msg":"cleaned up storage units"}
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | {"level":"info","ts":1596301090.8476803,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["test.tudinner.com","tudinner.com","testnotificaciones.tudinner.com","stagingredisadmin.tudinner.com","testproductos.tudinner.com","testempresas.tudinner.com","testusuarios.tudinner.com","testimages.tudinner.com"]}
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | {"level":"info","ts":1596301090.8500607,"msg":"autosaved config","file":"/config/caddy/autosave.json"}
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | {"level":"info","ts":1596301090.8500948,"msg":"serving initial configuration"}
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][tudinner.com] Obtain certificate; acquiring lock...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][tudinner.com] Obtain: Lock acquired; proceeding...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][cache:0xc0006f9aa0] Started certificate maintenance routine
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][test.tudinner.com] Obtain certificate; acquiring lock...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][test.tudinner.com] Obtain: Lock acquired; proceeding...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][testnotificaciones.tudinner.com] Obtain certificate; acquiring lock...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][testnotificaciones.tudinner.com] Obtain: Lock acquired; proceeding...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][stagingredisadmin.tudinner.com] Obtain certificate; acquiring lock...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][stagingredisadmin.tudinner.com] Obtain: Lock acquired; proceeding...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][testproductos.tudinner.com] Obtain certificate; acquiring lock...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][testproductos.tudinner.com] Obtain: Lock acquired; proceeding...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][testempresas.tudinner.com] Obtain certificate; acquiring lock...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][testempresas.tudinner.com] Obtain: Lock acquired; proceeding...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][testusuarios.tudinner.com] Obtain certificate; acquiring lock...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][testusuarios.tudinner.com] Obtain: Lock acquired; proceeding...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][testimages.tudinner.com] Obtain certificate; acquiring lock...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:10 [INFO][testimages.tudinner.com] Obtain: Lock acquired; proceeding...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO] [test.tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][test.tudinner.com] Waiting on rate limiter...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][test.tudinner.com] Done waiting
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO] [tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][tudinner.com] Waiting on rate limiter...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][tudinner.com] Done waiting
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][testnotificaciones.tudinner.com] Waiting on rate limiter...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO] [testnotificaciones.tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][testnotificaciones.tudinner.com] Done waiting
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][stagingredisadmin.tudinner.com] Waiting on rate limiter...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][stagingredisadmin.tudinner.com] Done waiting
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO] [stagingredisadmin.tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO] [testproductos.tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][testproductos.tudinner.com] Waiting on rate limiter...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][testproductos.tudinner.com] Done waiting
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO] [testempresas.tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][testempresas.tudinner.com] Waiting on rate limiter...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][testempresas.tudinner.com] Done waiting
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][testusuarios.tudinner.com] Waiting on rate limiter...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][testusuarios.tudinner.com] Done waiting
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO] [testusuarios.tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][testimages.tudinner.com] Waiting on rate limiter...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO][testimages.tudinner.com] Done waiting
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:11 [INFO] [testimages.tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [ERROR] acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many certificates already issued for exact set of domains: tudinner.com: see https://letsencrypt.org/docs/rate-limits/, url:  (challenge=tls-alpn-01 remaining=[http-01])
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [ERROR] acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many certificates already issued for exact set of domains: stagingredisadmin.tudinner.com: see https://letsencrypt.org/docs/rate-limits/, url:  (challenge=tls-alpn-01 remaining=[http-01])
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [test.tudinner.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/6254022505
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [test.tudinner.com] acme: use tls-alpn-01 solver
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [test.tudinner.com] acme: Trying to solve TLS-ALPN-01
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testempresas.tudinner.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/6254022581
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testempresas.tudinner.com] acme: use tls-alpn-01 solver
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testempresas.tudinner.com] acme: Trying to solve TLS-ALPN-01
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testproductos.tudinner.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/6254022628
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testproductos.tudinner.com] acme: use tls-alpn-01 solver
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testproductos.tudinner.com] acme: Trying to solve TLS-ALPN-01
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testusuarios.tudinner.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/6254022668
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testusuarios.tudinner.com] acme: use tls-alpn-01 solver
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testusuarios.tudinner.com] acme: Trying to solve TLS-ALPN-01
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testimages.tudinner.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/6254022698
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testimages.tudinner.com] acme: use tls-alpn-01 solver
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testimages.tudinner.com] acme: Trying to solve TLS-ALPN-01
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testnotificaciones.tudinner.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/6254022677
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testnotificaciones.tudinner.com] acme: use tls-alpn-01 solver
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:12 [INFO] [testnotificaciones.tudinner.com] acme: Trying to solve TLS-ALPN-01
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:13 http: TLS handshake error from 127.0.0.1:33476: EOF
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:13 [INFO][testusuarios.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:13 [INFO][testusuarios.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:13 [INFO][testusuarios.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:13 [INFO][testusuarios.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 [INFO] [tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 http: TLS handshake error from 127.0.0.1:33478: EOF
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 [INFO] [stagingredisadmin.tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 [ERROR] acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many certificates already issued for exact set of domains: tudinner.com: see https://letsencrypt.org/docs/rate-limits/, url:  (challenge=http-01 remaining=[])
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 [ERROR] acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many certificates already issued for exact set of domains: stagingredisadmin.tudinner.com: see https://letsencrypt.org/docs/rate-limits/, url:  (challenge=http-01 remaining=[])
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 [INFO][testempresas.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 [INFO][testempresas.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 http: TLS handshake error from 127.0.0.1:33480: EOF
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 [INFO][testempresas.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 [INFO][test.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 [INFO][test.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 [INFO][testempresas.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 [INFO][test.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 [INFO][test.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 http: TLS handshake error from 127.0.0.1:33482: EOF
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 http: TLS handshake error from 127.0.0.1:33484: EOF
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 http: TLS handshake error from 127.0.0.1:33486: EOF
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 [INFO][testproductos.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:14 [INFO][testnotificaciones.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:15 [INFO][testproductos.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:15 [INFO][testnotificaciones.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:15 [INFO][testproductos.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:15 [INFO][testimages.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:15 [INFO][testimages.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:15 [INFO][testproductos.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:15 [INFO][testnotificaciones.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:15 [INFO][testnotificaciones.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:15 [INFO][testimages.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:15 [INFO][testimages.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:16 [ERROR] attempt 1: [tudinner.com] Obtain: [tudinner.com] acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many certificates already issued for exact set of domains: tudinner.com: see https://letsencrypt.org/docs/rate-limits/, url:  - retrying in 1m0s (5.398510261s/720h0m0s elapsed)...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:16 [ERROR] attempt 1: [stagingredisadmin.tudinner.com] Obtain: [stagingredisadmin.tudinner.com] acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many certificates already issued for exact set of domains: stagingredisadmin.tudinner.com: see https://letsencrypt.org/docs/rate-limits/, url:  - retrying in 1m0s (5.521822467s/720h0m0s elapsed)...
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:17 http: TLS handshake error from 10.0.0.2:39978: no certificate available for 'testnotificaciones.tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:17 http: TLS handshake error from 10.0.0.2:39980: no certificate available for 'testnotificaciones.tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:17 http: TLS handshake error from 10.0.0.2:39982: no certificate available for 'testnotificaciones.tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:17 http: TLS handshake error from 10.0.0.2:39984: no certificate available for 'testnotificaciones.tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:17 [INFO] [test.tudinner.com] The server validated our request
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:17 [INFO] [test.tudinner.com] acme: Validations succeeded; requesting certificates
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:18 [INFO] [testusuarios.tudinner.com] The server validated our request
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:18 [INFO] [testusuarios.tudinner.com] acme: Validations succeeded; requesting certificates
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:18 http: TLS handshake error from 10.0.0.2:39986: no certificate available for 'testnotificaciones.tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:18 [INFO] [test.tudinner.com] Server responded with a certificate.
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:18 [INFO][test.tudinner.com] Certificate obtained successfully
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:18 [INFO][test.tudinner.com] Obtain: Releasing lock
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:18 http: TLS handshake error from 10.0.0.2:39988: no certificate available for 'testnotificaciones.tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:18 http: TLS handshake error from 10.0.0.2:39990: no certificate available for 'testnotificaciones.tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:18 [INFO] [testusuarios.tudinner.com] Server responded with a certificate.
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:18 [INFO][testusuarios.tudinner.com] Certificate obtained successfully
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:18 [INFO][testusuarios.tudinner.com] Obtain: Releasing lock
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:18 http: TLS handshake error from 10.0.0.2:39992: no certificate available for 'testnotificaciones.tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:19 [INFO] [testempresas.tudinner.com] The server validated our request
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:19 [INFO] [testempresas.tudinner.com] acme: Validations succeeded; requesting certificates
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:19 [INFO] [testnotificaciones.tudinner.com] The server validated our request
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:19 [INFO] [testnotificaciones.tudinner.com] acme: Validations succeeded; requesting certificates
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO] [testimages.tudinner.com] The server validated our request
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO] [testimages.tudinner.com] acme: Validations succeeded; requesting certificates
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO] [testempresas.tudinner.com] Server responded with a certificate.
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO][testempresas.tudinner.com] Certificate obtained successfully
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO][testempresas.tudinner.com] Obtain: Releasing lock
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO] [testnotificaciones.tudinner.com] Server responded with a certificate.
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO][testnotificaciones.tudinner.com] Certificate obtained successfully
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO][testnotificaciones.tudinner.com] Obtain: Releasing lock
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO] [testimages.tudinner.com] Server responded with a certificate.
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO][testimages.tudinner.com] Certificate obtained successfully
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO][testimages.tudinner.com] Obtain: Releasing lock
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO] [testproductos.tudinner.com] The server validated our request
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO] [testproductos.tudinner.com] acme: Validations succeeded; requesting certificates
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO] [testproductos.tudinner.com] Server responded with a certificate.
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO][testproductos.tudinner.com] Certificate obtained successfully
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:58:20 [INFO][testproductos.tudinner.com] Obtain: Releasing lock
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:16 [INFO] [tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:16 [INFO] [stagingredisadmin.tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:16 [INFO] [tudinner.com] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/87017257
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:16 [INFO] [tudinner.com] acme: Could not find solver for: tls-alpn-01
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:16 [INFO] [tudinner.com] acme: use http-01 solver
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:16 [INFO] [tudinner.com] acme: Trying to solve HTTP-01
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:17 http: TLS handshake error from 10.0.0.2:21278: no certificate available for 'tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:17 [INFO] [stagingredisadmin.tudinner.com] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/87017261
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:17 [INFO] [stagingredisadmin.tudinner.com] acme: Could not find solver for: tls-alpn-01
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:17 [INFO] [stagingredisadmin.tudinner.com] acme: use http-01 solver
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:17 [INFO] [stagingredisadmin.tudinner.com] acme: Trying to solve HTTP-01
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:17 http: TLS handshake error from 10.0.0.2:21286: no certificate available for 'stagingredisadmin.tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:17 http: TLS handshake error from 10.0.0.2:54400: no certificate available for 'tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:17 http: TLS handshake error from 10.0.0.2:61252: no certificate available for 'stagingredisadmin.tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:17 http: TLS handshake error from 10.0.0.2:41854: no certificate available for 'stagingredisadmin.tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:17 http: TLS handshake error from 10.0.0.2:19094: no certificate available for 'tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:17 http: TLS handshake error from 10.0.0.2:41856: no certificate available for 'tudinner.com'
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:22 [INFO] Deactivating auth: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/87017261
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:22 [INFO] Unable to deactivate the authorization: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/87017261
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:22 [ERROR] error: one or more domains had a problem:
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | [stagingredisadmin.tudinner.com] acme: error: 400 :: urn:ietf:params:acme:error:tls :: Fetching https://stagingredisadmin.tudinner.com/.well-known/acme-challenge/X5lh8Zc_i9NFSdOv-17zRRAReaNYVZWPtYEJQkUm-oE: remote error: tls: internal error, url: 
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    |  (challenge=http-01 remaining=[tls-alpn-01])
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:23 [INFO] Deactivating auth: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/87017257
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:23 [ERROR] error: one or more domains had a problem:
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | [tudinner.com] acme: error: 400 :: urn:ietf:params:acme:error:tls :: Fetching https://tudinner.com/.well-known/acme-challenge/0HtkZCblX34HBg_p7WNT1f6-DhS9mq-knLrA4gvFV5M: remote error: tls: internal error, url: 
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    |  (challenge=http-01 remaining=[tls-alpn-01])
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:23 [INFO] Unable to deactivate the authorization: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/87017257
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:24 [INFO] [stagingredisadmin.tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:24 [INFO] [stagingredisadmin.tudinner.com] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/87017319
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:24 [INFO] [stagingredisadmin.tudinner.com] acme: use tls-alpn-01 solver
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:24 [INFO] [stagingredisadmin.tudinner.com] acme: Trying to solve TLS-ALPN-01
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:25 http: TLS handshake error from 127.0.0.1:33536: EOF
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:25 [INFO][stagingredisadmin.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:25 [INFO][stagingredisadmin.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:25 [INFO] [tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:25 [INFO][stagingredisadmin.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:25 [INFO] [tudinner.com] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/87017348
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:25 [INFO] [tudinner.com] acme: use tls-alpn-01 solver
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:25 [INFO] [tudinner.com] acme: Trying to solve TLS-ALPN-01
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu    | 2020/08/01 16:59:25 [INFO][stagingredisadmin.tudinner.com] Served key authentication certificate (TLS-ALPN challenge)

dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:25 http: TLS handshake error from 127.0.0.1:33538: EOF
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:26 [INFO][tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:26 [INFO][tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:26 [INFO][tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:26 [INFO][tudinner.com] Served key authentication certificate (TLS-ALPN challenge)
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:31 [INFO] [stagingredisadmin.tudinner.com] The server validated our request
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:31 [INFO] [stagingredisadmin.tudinner.com] acme: Validations succeeded; requesting certificates
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:32 [INFO] [stagingredisadmin.tudinner.com] Server responded with a certificate.
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:32 [INFO][stagingredisadmin.tudinner.com] Waiting on rate limiter…
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:32 [INFO][stagingredisadmin.tudinner.com] Done waiting
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:32 [INFO] [stagingredisadmin.tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:32 [INFO] [tudinner.com] The server validated our request
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:32 [INFO] [tudinner.com] acme: Validations succeeded; requesting certificates
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:32 [ERROR] acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many certificates already issued for exact set of domains: stagingredisadmin.tudinner.com: see https://letsencrypt.org/docs/rate-limits/, url: (challenge=http-01 remaining=[tls-alpn-01])
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:32 [INFO] [tudinner.com] Server responded with a certificate.
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:32 [INFO] [tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:32 [INFO][tudinner.com] Waiting on rate limiter…
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:32 [INFO][tudinner.com] Done waiting
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:32 [ERROR] acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many certificates already issued for exact set of domains: tudinner.com: see https://letsencrypt.org/docs/rate-limits/, url: (challenge=http-01 remaining=[tls-alpn-01])
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:34 [INFO] [stagingredisadmin.tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:34 [ERROR] acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many certificates already issued for exact set of domains: stagingredisadmin.tudinner.com: see https://letsencrypt.org/docs/rate-limits/, url: (challenge=tls-alpn-01 remaining=[])
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:34 [INFO] [tudinner.com] acme: Obtaining bundled SAN certificate given a CSR
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:34 [ERROR] acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many certificates already issued for exact set of domains: tudinner.com: see https://letsencrypt.org/docs/rate-limits/, url: (challenge=tls-alpn-01 remaining=[])
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:36 [INFO][stagingredisadmin.tudinner.com] Obtain: Releasing lock
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:36 [ERROR] stagingredisadmin.tudinner.com: obtaining certificate: [stagingredisadmin.tudinner.com] Obtain: [stagingredisadmin.tudinner.com] acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many certificates already issued for exact set of domains: stagingredisadmin.tudinner.com: see https://letsencrypt.org/docs/rate-limits/, url:
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:36 [INFO][tudinner.com] Obtain: Releasing lock
dinner_caddy_server.1.2q6uylkcaowd@dinner-ubuntu | 2020/08/01 16:59:36 [ERROR] tudinner.com: obtaining certificate: [tudinner.com] Obtain: [tudinner.com] acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many certificates already issued for exact set of domains: tudinner.com: see https://letsencrypt.org/docs/rate-limits/, url:

Are you running Docker in swarm mode? I don’t have much experience there so I’m not certain if something is going wrong there.

The only thing that looks strange to me is external: true which as per https://docs.docker.com/compose/compose-file/#external means that you need to have created the volume manually outside of the docker-compose config. Did you do that? Maybe the volume is just a black hole and nothing’s getting persisted. That’s what it reads like to me right now.

Caddy would avoid hitting rate limits if the storage was persisted and the certs would not be lost on each restart.

Yes, i am using docker swarm, and yes, i manually created the volumes. But as i’m checking right now, i think @matt is right. I just stopped my services and for some reason, the certificates are gone, but the autosave.json file is not gone, i dont why it removes my certs but not this file. The volume is still there.

Config and data are stored in different places, according to OS convention. Please take a look here:

Guys, thank you very much for your help and time.

I removed my volumes and rewrite my docker stack compose file. The following worked for some reason i dont know:

version: "3"

services:
   caddy_server:
      image: anthonyrfarias/dinner:caddy_server
      deploy:
         replicas: 1
      ports:
      - 80:80
      - 443:443
      volumes:
        - dinner_caddydata:/data
        - dinner_caddyconfig:/config
      networks:
         - dinner-internet
         - dinner-no-internet
   


volumes:
    dinner_caddydata:
    dinner_caddyconfig:
    

networks:
   dinner-no-internet:
      driver: overlay
      internal: true
   dinner-internet:
      driver: overlay
1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.