rancher-letsencrypt: when strting in HTTP mode, the service is not listening

I started the service in a rancher (v1.6.2) the template version is 0.4.0

I configured it with HTTP mode

The service starts and prints:

level=info msg="Make sure that HTTP requests for '/.well-known/acme-challenge' for all certificate domains are forwarded to the container running this application"

I tried to see if it listens on that port,

so I exec to that container and I saw it doesn’t listen on any port:

 # netstat -lntu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
#

thanks

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Reactions: 4
  • Comments: 19

Most upvoted comments

+1 Issue also happen with rancher (v1.6.2) the template version is 0.5.0

+1 rancher (v1.6.12) rancher-letsencrypt:v0.5.0

I updated rancher from 1.6.10 to .1.6.12 and it does not work anymore.

  • I recreated the LB with domain.tld 80 /.well-known/acme-challenge 80 rancher-letsencrypt
  • /etc/letsencrypt is on NFS mounted and working (files are mounted)

But only 503 on http://domain.tld/.well-known/acme-challenge or http://domain.tld/.well-known/acme-challenge/<key>

LOG: Error obtaining certificate: acme: Error 400 - urn:acme:error:connection - Fetching http://<domain.tld>/.well-known/acme-challenge/Rk_Zo0-TQsVZhFysd16Is8–oK__I9jcgyx634kyvjE: Connection refused

any suggestions?

!Confused… It just started working?! Weird… I did nothing…?!