Invalid response

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:
test.txanalytics.com (as of right now, database is broken, But I know why there is a 500 error on the server, shouldn’t be effecting this at all).

I ran this command:

certbot certonly --webroot -w /var/www/certbot \
    --staging \
    user@gmail.com \
    test.txanalytics.com \
    --rsa-key-size 2048 \
    --agree-tos \
    --force-renewal" certbot

It produced this output:

Waiting for verification...
Challenge failed for domain test.txanalytics.com
http-01 challenge for test.txanalytics.com
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: test.txanalytics.com
   Type:   unauthorized
   Detail: Invalid response from
   http://test.txanalytics.com/.well-known/acme-challenge/LruYYoGp7hP2oZLXbRQwgaa6E4UoR1VrroeBIcyJHg4
   [35.209.164.163]: 404

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address.

My web server is (include version):
None, Im using docker to run a command that runs two exectuables (./server and ./db)
(If Im correct that this is indeed talking about nginx, apache, etc).

The operating system my web server runs on is (include version):
Ubuntu 18.04

My hosting provider, if applicable, is:
Google cloud, Compute engine

I can login to a root shell on my machine (yes or no, or I don’t know):
yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
Newest, Downloaded latest version last night

1 Like

Hi @neddacs

checking your domain the main things are ok - https://check-your-website.server-daten.de/?q=test.txanalytics.com

Port 80 is open. Checking a not existing file in /.well-known/acme-challenge there is the expected result http status 404 - Not Found.

But: There is no server software visible.

So the first question: Is the webroot path correct?

Really /var/www/certbot? Is there a location definition? Create the two subdirectories

/var/www/certbot/.well-known/acme-challenge

there a file (file name 1234), then try to load that file via

http://test.txanalytics.com/.well-known/acme-challenge/1234

That must work.

2 Likes

Im not quite sure what the --webroot should be equal too, Im using google compute engine to run the docker, and when I ssh into it, it looks like a normal linux directory,
If its looking at whats being served ie what my ./server is doing
my html/javascript/css files are in a /dist/ folder, But my server is serving the whole dist/ folder.
Do you have any idea on how i may find the correct webpath

1 Like

Your webroot is the basic directory of your website.

There, where your main index.html is saved.

2 Likes

I dont seem to have one, Or if an any case can find one

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