"Some challenges have failed." when using Certbot

My domain is:
velcoro.xyz

I used docker-compose, which ran Nginx proxy server, my ASP.NET Core app and Certbot.
Then I got from Certbot following response:

Obtaining a new certificate
Performing the following challenges:
http-01 challenge for velcoro.xyz
http-01 challenge for www.velcoro.xyz
Using the webroot path /var/www/html for all unmatched domains.
Waiting for verification…
Challenge failed for domain www.velcoro.xyz
Challenge failed for domain velcoro.xyz
http-01 challenge for www.velcoro.xyz
http-01 challenge for velcoro.xyz
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:

Hi @Yehor

there is a check of your domain, ~~ one hour old - https://check-your-website.server-daten.de/?q=velcoro.xyz

Host T IP-Address is auth. ∑ Queries ∑ Timeout
velcoro.xyz A 162.255.119.148 Newark/New Jersey/United States (US) - Namecheap, Inc.
No Hostname found yes 1 0
AAAA yes
www.velcoro.xyz C parkingpage.namecheap.com yes 1 0
A 198.54.117.210 Newark/New Jersey/United States (US) - Namecheap, Inc. Hostname: parkingpage.namecheap.com yes
A 198.54.117.211 Newark/New Jersey/United States (US) - Namecheap, Inc. Hostname: parkingpage.namecheap.com yes
A 198.54.117.212 Newark/New Jersey/United States (US) - Namecheap, Inc. Hostname: parkingpage.namecheap.com yes
A 198.54.117.215 Newark/New Jersey/United States (US) - Namecheap, Inc. No Hostname found yes
A 198.54.117.216 Newark/New Jersey/United States (US) - Namecheap, Inc. No Hostname found yes
A 198.54.117.217 Newark/New Jersey/United States (US) - Namecheap, Inc. No Hostname found yes
A 198.54.117.218 Newark/New Jersey/United States (US) - Namecheap, Inc. No Hostname found yes

That’s a parking page, not your webserver.

And non-www / www have different ip addresses, that can’t work if you use a simple http validation.

So first step: Update your dns, so your A entries have the ip address of your server.

PS: You must be the domain owner of that domain. It’s not enough to create a local system and use a domain name you don’t own.

1 Like

Thanks for the reply. I’ll try to update the dns. I’m the owner as well. Probably I set it up in a wrong way.

2 Likes

I managed to add A records. Seems like it worked. But I got a problem with the following error:

“Timeout during connect (likely firewall problem)”

I read that there are some ports should be opened. What ports should be opened exactly? And where? Locally or inside docker container?

Please learn some basics:

And something about Challenge types:

A working port 80 webserver is required, not a timeout.

Rechecked your domain - https://check-your-website.server-daten.de/?q=velcoro.xyz - only timeouts, that can’t work.

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