Praqma/learn-traefik

Issues running example 3

MaxOrelus opened this issue · 0 comments

I'm running this on OSX. This is the log for traefik using example 3 unmodified.

time="2019-09-28T00:09:19Z" level=info msg="Using TOML configuration file /etc/traefik/traefik.toml"
time="2019-09-28T00:09:19Z" level=info msg="No tls.defaultCertificate given for https: using the first item in tls.certificates as a fallback."
time="2019-09-28T00:09:19Z" level=info msg="Traefik version v1.7.18 built on 2019-09-26_01:56:30PM"
time="2019-09-28T00:09:19Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/v1.7/basics/#collected-data\n"
time="2019-09-28T00:09:19Z" level=error msg="failed to load X509 key pair: tls: failed to find any PEM data in certificate input"
time="2019-09-28T00:09:19Z" level=info msg="Preparing server http &{Address::80 TLS:<nil> Redirect:0xc00086e640 Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc0005d19c0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
time="2019-09-28T00:09:19Z" level=info msg="Preparing server https &{Address::443 TLS:0xc000712870 Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc0005d19e0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
time="2019-09-28T00:09:19Z" level=error msg="Unable to add a certificate to the entryPoint \"https\" : unable to generate TLS certificate : tls: failed to find any PEM data in certificate input"
time="2019-09-28T00:09:19Z" level=info msg="Preparing server dashboard &{Address::8080 TLS:<nil> Redirect:<nil> Auth:0xc0007527e0 WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc0005d1a00} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
time="2019-09-28T00:09:19Z" level=info msg="Starting provider configuration.ProviderAggregator {}"
time="2019-09-28T00:09:19Z" level=info msg="Starting server on :80"
time="2019-09-28T00:09:19Z" level=info msg="Starting server on :443"
time="2019-09-28T00:09:19Z" level=info msg="Starting server on :8080"
time="2019-09-28T00:09:19Z" level=info msg="Starting provider *docker.Provider {\"Watch\":true,\"Filename\":\"\",\"Constraints\":null,\"Trace\":false,\"TemplateVersion\":2,\"DebugLogGeneratedTemplate\":false,\"Endpoint\":\"unix:///var/run/docker.sock\",\"Domain\":\"\",\"TLS\":null,\"ExposedByDefault\":false,\"UseBindPortIP\":false,\"SwarmMode\":false,\"Network\":\"\",\"SwarmModeRefreshSeconds\":15}"
time="2019-09-28T00:09:19Z" level=error msg="failed to load X509 key pair: tls: failed to find any PEM data in certificate input"
time="2019-09-28T00:09:19Z" level=info msg="Server configuration reloaded on :80"
time="2019-09-28T00:09:19Z" level=info msg="Server configuration reloaded on :443"
time="2019-09-28T00:09:19Z" level=info msg="Server configuration reloaded on :8080"