The server could not connect to the client for DV


#1

As the titles suggests LE is having issues connecting to my webserver, however I can find no issue. DNS points to the correct spot, and files are accessible in that directory.

LE appears to futz around with nonces for a bit, saves the chellenges (i see no evidence in the log to the contrary), starts the challenge and fails ambiguously with the error stated in the title.

I cannot find any of the issues in previous topics about this error to apply to my situation.


#2

Can you post the command used, the last part of the log files, and your domain name please?


#3

./letsencrypt-auto certonly -a manual -d strato.im -d www.strato.im -d git.strato.im -d jira.strato.im

./letsencrypt-auto certonly -a webroot --webroot-path /var/www -d strato.im -d www.strato.im -d git.strato.im -d jira.strato.im

And the error for both:

FailedChallenges: Failed authorization procedure. git.strato.im (http-01): urn:acme:error:connection :: The server could not connect to the client for DV :: Could not connect to http://git.strato.im/.well-known/acme-challenge/bangshangalangrandomstrang, www.strato.im (http-01): urn:acme:error:connection :: The server could not connect to the client for DV :: Could not connect to http://www.strato.im/.well-known/acme-challenge/bangshangalangrandomstrang, strato.im (http-01): urn:acme:error:connection :: The server could not connect to the client for DV :: Could not connect to http://strato.im/.well-known/acme-challenge/bangshangalangrandomstrang, jira.strato.im (http-01): urn:acme:error:connection :: The server could not connect to the client for DV :: Could not connect to http://jira.strato.im/.well-known/acme-challenge/bangshangalangrandomstrang

#4
curl -v git.strato.im
* Rebuilt URL to: git.strato.im/
*   Trying 2001:470:b:141::6...
*   Trying 70.65.138.229...
* connect to 2001:470:b:141::6 port 80 failed: Connection refused
* connect to 70.65.138.229 port 80 failed: Connection refused
* Failed to connect to git.strato.im port 80: Connection refused
* Closing connection 0
curl: (7) Failed to connect to git.strato.im port 80: Connection refused

#5

Hum. That was working before now it’s broke again, one moment.


#6

Alright I can connect via external services fine now


#7

Okay, somehow the letsencrypt standalone webserver necroed listening on that port from trying that before and it’s working now!

Thanks