# Getting Error when trying to generate ACME certificates

**URL:** <https://community.traefik.io/t/getting-error-when-trying-to-generate-acme-certificates/6292>\
**Category:** Traefik v2\
**Tags:** docker, letsencrypt-acme\
**Created:** [May 30, 2020, 8:38pm UTC](https://community.traefik.io/t/getting-error-when-trying-to-generate-acme-certificates/6292 "2020-05-30T20:38:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![piersonjarvis](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/piersonjarvis/32/1021_2.png) [@piersonjarvis](https://community.traefik.io/u/piersonjarvis)\
**Post date:** [May 30, 2020, 8:38pm UTC](https://community.traefik.io/t/getting-error-when-trying-to-generate-acme-certificates/6292/1 "2020-05-30T20:38:17Z")

</div>

I'm getting an error claiming there is a timeout during connect (likely firewall problem) when trying to generate ACME certificates with let's encrypt. I do have a firewall between traefik and the world, however I do have ports 80 and 443 forwarded to the machines running traefik, and when I set up a different container using those ports it still works. I've tried moving traefik to a different machine with no luck. And reverse-proxy doesn't work from outside in. Internally it works.

---

<div class="post-metadata">

**Author:** ![GregG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/gregg/32/6577_2.png) [@GregG](https://community.traefik.io/u/GregG)\
**Post date:** [June 1, 2020, 2:59am UTC](https://community.traefik.io/t/getting-error-when-trying-to-generate-acme-certificates/6292/2 "2020-06-01T02:59:51Z")

</div>

Need some configuration files and some logs. Just as a note: I get an error 400 when my acme.json is completely empty in first run. Logs show error 400 and acme.json only has a snippet of info about my cloudflare email but nothing about my domain but after I up/down Traefik it pulls everything else. I'm not suggesting you have the same problem but there is definitely some trickery at work with cert pulling.

---

<div class="post-metadata">

**Author:** ![notsureifkevin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/notsureifkevin/32/1940_2.png) [@notsureifkevin](https://community.traefik.io/u/notsureifkevin)\
**Post date:** [June 1, 2020, 11:32am UTC](https://community.traefik.io/t/getting-error-when-trying-to-generate-acme-certificates/6292/3 "2020-06-01T11:32:59Z")

</div>

> [@piersonjarvis](#):
>
> timeout during connect

Hello, it's possible that the environment within the Traefik container is unable to make contact with the outside world, this is required to initiate a handshake with LE.

Please post your logs and configuration which we could possibly use to reproduce the problem.

\_kc
