# Http Challenge with own dns records

**URL:** <https://community.traefik.io/t/http-challenge-with-own-dns-records/7963>\
**Category:** Traefik v2\
**Tags:** docker, letsencrypt-acme\
**Created:** [September 29, 2020, 8:28pm UTC](https://community.traefik.io/t/http-challenge-with-own-dns-records/7963 "2020-09-29T20:28:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![stimts](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@stimts](https://community.traefik.io/u/stimts)\
**Post date:** [September 29, 2020, 8:28pm UTC](https://community.traefik.io/t/http-challenge-with-own-dns-records/7963/1 "2020-09-29T20:28:12Z")

</div>

Hi,

after endless searching in the web for a solution I finally have to ask for help.

I try to setup a nextcloud with traefik and I stuck at the http challange. I can and will provide more information about my setup but I try to spare you if possible.

My error I get:

```auto
Unable to obtain ACME certificate for domains \"mySubDomain.myDomain.io\": unable to generate a certificate for the domains [mySubDomain.myDomain.io]: error: one or more domains had a problem:\n[mySubDomain.myDomain.io] acme: error: 400 :: urn:ietf:params:acme:error:connection :: Fetching http://mySubDomain.myDomain.io/.well-known/acme-challenge/wuFJqo_-cgqLlXrtIpGO1mb6pqpYBaZC_2LNcIWgPNM: Timeout during connect (likely firewall problem), url: \n" routerName=nextcloud-app-secure@docker rule="Host(`mySubDomain.myDomain.io`)" providerName=http.acme

```

As background information:  
**Firewall**

```auto
Status: active

To Action From
-- ------ ----
80/tcp ALLOW Anywhere                  
433/tcp ALLOW Anywhere                  
80/tcp (v6) ALLOW Anywhere (v6)             
433/tcp (v6) ALLOW Anywhere (v6)             

```

**Fritzbox Router**  
`Portforwarding for 80/tcp and 433/tcp as wall as ipv4 and ipv6`

**DNS Records**

```auto
mySubdomain 300 IN A my.ip

```

Now I don't know what I can do to get it work. Please tell me if you need more informations about my setup.

---

<div class="post-metadata">

**Author:** ![zespri](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/zespri/32/310_2.png) [@zespri](https://community.traefik.io/u/zespri)\
**Post date:** [September 30, 2020, 7:09am UTC](https://community.traefik.io/t/http-challenge-with-own-dns-records/7963/2 "2020-09-30T07:09:07Z")

</div>

You need to make sure that the request to `http://mySubDomain.myDomain.io` ends up on your `traefik` instance. It looks like currently it does not.

---

<div class="post-metadata">

**Author:** ![stimts](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@stimts](https://community.traefik.io/u/stimts)\
**Post date:** [September 30, 2020, 8:35am UTC](https://community.traefik.io/t/http-challenge-with-own-dns-records/7963/3 "2020-09-30T08:35:17Z")

</div>

It should. Where do I find logs of traefik about incomming requests?

---

<div class="post-metadata">

**Author:** ![cakiwi](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/cakiwi/32/3205_2.png) [@cakiwi](https://community.traefik.io/u/cakiwi)\
**Post date:** [September 30, 2020, 11:28am UTC](https://community.traefik.io/t/http-challenge-with-own-dns-records/7963/4 "2020-09-30T11:28:06Z")

</div>

[https://letsdebug.net](https://letsdebug.net) is a great resource for helping identify LetsEncrypt issues.

Tuning the traefik logging to info or debug will show requests related to letsencrypt. But as the error indicates, its not getting any challenge request so you won't see anything.

More generically turn on traefik's access log to see http requests.

---

<div class="post-metadata">

**Author:** ![stimts](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@stimts](https://community.traefik.io/u/stimts)\
**Post date:** [September 30, 2020, 12:08pm UTC](https://community.traefik.io/t/http-challenge-with-own-dns-records/7963/5 "2020-09-30T12:08:48Z")

</div>

I solved it. Finally. It was a problem with the portforwarding of the fritzbox even it was setup correctly. According to this [Link](https://superuser.com/questions/1098474/fritzbox-port-forwarding-is-not-working-properly) I removed old devices out of the network list and created the forwarding rules new. Now everything is fine 🤞

---

<div class="post-metadata">

**Author:** ![stimts](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@stimts](https://community.traefik.io/u/stimts)\
**Post date:** [September 30, 2020, 12:09pm UTC](https://community.traefik.io/t/http-challenge-with-own-dns-records/7963/6 "2020-09-30T12:09:46Z")

</div>

@zespri and @cakiwi thanks for your support.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/containo/original/2X/b/bd81ebdb578656e76e56ff3cc3eed021d3ba132d.png) [@system](https://community.traefik.io/u/system)\
**Post date:** [October 3, 2020, 12:09pm UTC](https://community.traefik.io/t/http-challenge-with-own-dns-records/7963/7 "2020-10-03T12:09:51Z")

</div>

Closed on October 3, 2020, 12:09pm UTC

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