dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

[BUG] Traefik unable to obtain ACME certificate for domains with a set path

Open DCodeProg opened this issue 1 year ago • 1 comments

To Reproduce

Hey guys can someone try this and send feedback ?

  1. Create a service
  2. Configure a domain in that service with a path (see image bellow)
  3. Enable Let's Encrypt
  4. Deploy your service
  5. Try to access the service
  6. Watch traefik logs

Current vs. Expected behavior

Currently i've got that error :

2025-11-03T10:58:28Z ERR Unable to obtain ACME certificate for domains error="unable to generate a certificate for the domains [parse.s**********r.com]: error: one or more domains had a problem:
[parse.s**********r.com] invalid authorization: acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: 46.***.***.117: Invalid response from http://parse.s**********r.com/.well-known/acme-challenge/Ub7D*********nuzZG224qaJSaWU5uLJBZ8: 404
" ACME CA=https://acme-v02.api.letsencrypt.org/directory acmeCA=https://acme-v02.api.letsencrypt.org/directory domains=["parse.s**********r.com"] providerName=letsencrypt.acme routerName=bdd-parsedashboard-4nn6wc-20-websecure@docker rule="Host(`parse.s**********r.com`) && PathPrefix(`/dashboard`)"

It should simply generate a Let's Encrypt certificate instead.

Provide environment information

OS: Ubuntu 24.04 LTS
Dokploy version: `v0.25.6`
Application: `Parse Server` & `Parse Dashboard`

Which area(s) are affected? (Select all that apply)

Traefik

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

Maybe, need help

DCodeProg avatar Nov 04 '25 09:11 DCodeProg

UPDATE

The issue was caused by a broken Dokploy network. After completely reinstalling Dokploy, the problem is now resolved.

DCodeProg avatar Nov 20 '25 09:11 DCodeProg