adi90x / rancher-active-proxy

All in one active reverse proxy for Rancher ! For Kubernetes : https://github.com/adi90x/kube-active-proxy
MIT License
156 stars 55 forks source link

https letsencrypt failing #55

Closed ghost closed 6 years ago

ghost commented 6 years ago

trying to add https to redmine, which by default uses 80 and 443 in its own container, http works fine, https is failing

redmine config labels

rap.le_email: scottk@domain.com rap.le_host: redmine.cloud.com io.rancher.container.hostname_override: container_name io.rancher.container.pull_image: always rap.host: redmine.cloud.com rap.proto: https

results in failure, log file below 4/18/2018 9:06:00 AMcrond[52]: wakeup dt=60 4/18/2018 9:06:00 AMcrond[52]: file root: 4/18/2018 9:06:00 AMcrond[52]: line /app/letsencrypt.sh 4/18/2018 9:07:00 AMcrond[52]: wakeup dt=60 4/18/2018 9:07:00 AMcrond[52]: file root: 4/18/2018 9:07:00 AMcrond[52]: line /app/letsencrypt.sh 4/18/2018 9:07:27 AMranchergen.1 | level=warning msg="Unexpected format of service port: 80/tcp" 4/18/2018 9:07:27 AMranchergen.1 | level=info msg="All templates processed. Waiting for changes in Metadata..." 4/18/2018 9:07:37 AMranchergen.1 | level=warning msg="Unexpected format of service port: 80/tcp" 4/18/2018 9:07:37 AMranchergen.1 | level=info msg="Destination file %s has been updated/app/letsencrypt.conf" 4/18/2018 9:07:37 AMranchergen.1 | level=info msg="Executing notify command '/app/letsencrypt.sh'" 4/18/2018 9:08:00 AMcrond[52]: wakeup dt=60 4/18/2018 9:08:00 AMcrond[52]: file root: 4/18/2018 9:08:00 AMcrond[52]: line /app/letsencrypt.sh 4/18/2018 9:08:43 AMranchergen.1 | level=info msg="[/app/letsencrypt.sh]: \"Sleep 30s before Using Acme server https://acme-v01.api.letsencrypt.org/directory\"" 4/18/2018 9:08:43 AMranchergen.1 | loud.com certificates... (redmine.cloud.com)\"" 4/18/2018 9:08:43 AMranchergen.1 | euxc0nS1x34XAjkJvCqz6xhC15CdhZEc: \\"\r\"" 4/18/2018 9:08:43 AMranchergen.1 | title>\"" 4/18/2018 9:08:43 AMranchergen.1 | ]: \"level=info msg=\\"Processing all templates once.\\"\"" 4/18/2018 9:08:43 AMranchergen.1 | ormed :: Error creating new authz :: DNS name does not have enough labels\"" 4/18/2018 9:08:43 AMranchergen.1 | mplates processed. Exiting.\\"\"" 4/18/2018 9:09:00 AMcrond[52]: wakeup dt=60 4/18/2018 9:09:00 AMcrond[52]: file root: 4/18/2018 9:09:00 AMcrond[52]: line /app/letsencrypt.sh 4/18/2018 9:10:00 AMcrond[52]: wakeup dt=60 4/18/2018 9:10:00 AMcrond[52]: file root: 4/18/2018 9:10:00 AMcrond[52]: line /app/letsencrypt.sh 4/18/2018 9:11:00 AMcrond[52]: wakeup dt=60

ghost commented 6 years ago

nevermind... its resolved