Traefik error="no domain was given"

Hi all,

I'm getting a strange error while I setting up a service behind traefik.

level=error msg="Unable to obtain ACME certificate for domains \"\"" ACME CA="" error="no domain was given" providerName=staging.acme routerName=signal-proxy@docker rule="HostSNI(``)"

As you can see, I want to setup Signal TLS proxy behind traefik.
The labels in the signal-proxy docker are:

      - "traefik.enable=true"
      - ""
      - ""
      - "traefik.tcp.routers.signal-proxy.rule=HostSNI(``)"
      - "traefik.tcp.routers.signal-proxy.entrypoints=websecure"
      - "traefik.tcp.routers.signal-proxy.tls=true"
      - "traefik.tcp.routers.signal-proxy.tls.certresolver=http-resolver"
      - ""

What I don't understand is why the error says no domain was given...

I hope someone can help me, I already tried everything I could think of...


Traefik is looking for an array, you are missing the index (doc):

## Dynamic configuration
  -``) && Path(`/blog`)

Thank you so much! At least I get a new error message now:

evel=error msg="Error during connection: readfrom tcp> remote error: tls: unknown certificate authority"

I'm using the same certresolver that I also use for some other services, but never got this error.

It seems Traefik does not know the certificate that your target service is using, therefore not trusting it. This has nothing to do with the certresolver, that creates the certs for Traefik to use when connected from (external) (browser) clients.

To make it work, you can set global insecureSkipVerify (doc), you can create a serverTransport and assign it specifically to the service (doc), or import and use the custom certificate from the service (doc).