Failed to pass the challenge for domain

Using acme4j client fails to generate certificate with this error:

org.shredzone.acme4j.exception.AcmeException: Failed to pass the challenge for domain www.
mysampledomain123.com, ... Giving up.

I manually checked the challenge file and got

http://www.mysampledomain123.com/.well-known/acme-challenge/jU--PkDrn5tDZw2RN6NNJHbPD00ovHFkLFvN3mJdeQX

Inside the file:

jU--PkDrn5tDZw2RN6NNJHbPD00ovHFkLFvN3mJdeQX.tuMr-UijwpsJ1KVZkdWTYgodWZ2SxxKdB7_CMAAEfpg

And here’s the complete HTTP response header:

Accept-Ranges: bytes
Connection: keep-alive
Content-Encoding: gzip
Content-Type: text/plain
Date: Sun, 16 Feb 2020 14:15:22 GMT
Server: nginx/1.14.0 (Ubuntu)
Transfer-Encoding: chunked
Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
X-Powered-By: Divroll
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 0

I’m wondering whether the problem is with the HTTP response headers or the content itself.
Any ideas would be appreciated.

There doesn’t seem to be enough detail in the acme4j logs entry provided to help anyone easily determine where/what the problem is.

If there is any way to increase the logging, please do so - if only for a test.
Then also post the log file here - maybe someone can find a clue in there. :slight_smile: