Invalid status: <domain>, Verify error detail, Invalid response from http

I got error while building my docker compose container.
I did it on April this year for the first time and got the certificate, my app was working fine with my domain but last week i need to update my app so i create new image on my aws and pushed it but i got an error from letsencrypt abount invalid verification.
I don't know what is going on cause i didn't change the docker-compse.yml so it shoukd work cuse it worked on April. Maybe someone can help me with it. Thanks
Whole error:

2024/06/17 06:27:02 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
Creating/renewal certificates... (
[Mon Jun 17 06:27:03 UTC 2024] Using CA:
[Mon Jun 17 06:27:03 UTC 2024] Using pre generated key: /etc/
[Mon Jun 17 06:27:03 UTC 2024] Generate next pre-generate key.
[Mon Jun 17 06:27:05 UTC 2024] Single domain=''
[Mon Jun 17 06:27:05 UTC 2024] Getting domain auth token for each domain
[Mon Jun 17 06:27:07 UTC 2024] Getting webroot for domain=''
[Mon Jun 17 06:27:07 UTC 2024] Verifying:
[Mon Jun 17 06:27:08 UTC 2024] Pending, The CA is processing your order, please just wait. (1/30)
[Mon Jun 17 06:27:11 UTC 2024] Invalid status, error detail: Invalid response from 404
[Mon Jun 17 06:27:11 UTC 2024] Please check log file for more details:

do you have any geoblocking firewall?

1 Like

No, I have not, I think there is something wrong with authorization because first time i ordered cert it was more than 90 days ago do maybe i need to renewal it but i'm not sure if this is an sillution and don't know how to do it thru docker

why you did 90 days ago?

1 Like

I did my deploy of my app on April this year, my app was working fine on my domain with cert. Whole deploy was fine. Last week i did an update to add some new features so i needed to make new image and deploy it again but this time cert has eroor that i paste above.

Lets see the docker compose file

1 Like

sure, here it is

image: myimage
command: gunicorn --bind --timeout 100000 app:app
restart: unless-stopped
- ./.env
- 5000
depends_on :
- redis
- /home/ubuntu/hubert/Ledger_App:/home/ubuntu/hubert/Ledger_App

container_name: nginx
image: nginxproxy/nginx-proxy
restart: unless-stopped
- 8080:443
- 443:443
- /var/run/docker.sock:/tmp/docker.sock:ro
- /var/docker/nginx/html:/usr/share/nginx/html
- /var/docker/nginx/certs:/etc/nginx/certs
- /var/docker/nginx/vhost:/etc/nginx/vhost.d
max-size: "10m"
max-file: "3"

container_name: letsencrypt-companion
image: jrcs/letsencrypt-nginx-proxy-companion
restart: unless-stopped
- nginx
- /var/run/docker.sock:/var/run/docker.sock
- /var/docker/nginx/acme:/etc/

image: redis:7-alpine
restart: unless-stopped

container_name: celery_worker
image: myimage
command: celery -A app.celery worker --loglevel=info
restart: unless-stopped
- ./.env
- redis
- web

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