Hello. I’m new to Caddy. Thanks in advance for the help.
What Am I Trying to Do
Serve my server page over https. Caddy logs says its serving my website over https, but the page doesn’t load.
What Have I tried
Environment - my website and caddy (abiosoft/caddy) are in docker containers. They are on the same docker network, can ping each other. My host server is Ubuntu. Host server is on cloud, using vendor’s firewall with ports 443, 2015, 3000 open. My server alias is “talk” receiving traffic on port 3000. The url for my server should be https://devtalk.mm4a.io:3000
Inside the Caddy container is my Caddyfile, not in a host directory. Looks like this:
~/caddy2$ docker exec -it caddy3 sh
/srv # cat /etc/Caddyfile
devtalk.mm4a.io
proxy / http://talk:3000 {
websocket
transparent
}
proxy /api/v1/graph/ql http://talk:3000 {
websocket
transparent
}
Error msgs, logs
2019/09/09 16:08:57 [INFO][cache:0xc00008c780] Scanning for stale OCSP staples
2019/09/09 16:08:57 [INFO][cache:0xc00008c780] Done checking OCSP staples
2019/09/09 16:17:17 http: TLS handshake error from 45.33.80.76:37138: no certificate available for ''
2019/09/09 16:33:02 [INFO] SIGTERM: Shutting down servers then terminating
2019/09/09 16:33:02 [INFO][cache:0xc00008c780] Stopped certificate maintenance routine
Activating privacy features... 2019/09/09 16:33:04 [INFO][cache:0xc0000327d0] Started certificate maintenance routine
done.
Serving HTTPS on port 3000
https://devtalk.mm4a.io:3000
2019/09/09 16:33:04 [INFO] Serving https://devtalk.mm4a.io:3000
Serving HTTP on port 80
http://devtalk.mm4a.io
2019/09/09 16:33:04 [INFO] Serving http://devtalk.mm4a.io
2019/09/09 16:33:04 [NOTICE] Sending telemetry: we were too early; waiting 9h3m33.182301869s before trying again
2019/09/09 16:43:23 [INFO] SIGTERM: Shutting down servers then terminating
2019/09/09 16:43:23 [INFO][cache:0xc0000327d0] Stopped certificate maintenance routine
Activating privacy features... done.
Serving HTTPS on port 443
https://devtalk.mm4a.io
2019/09/09 16:43:24 [INFO] Serving https://devtalk.mm4a.io
Serving HTTP on port 80
http://devtalk.mm4a.io
2019/09/09 16:43:24 [INFO] Serving http://devtalk.mm4a.io
2019/09/09 16:43:24 [INFO][cache:0xc00008c780] Started certificate maintenance routine
2019/09/09 16:43:24 [NOTICE] Sending telemetry: we were too early; waiting 8h53m13.090148534s before trying again
So what could be doing wrong? Last week I got a limit reached message, figured I’d try again today. When I inspect the page on the browser, I seen the server is trying to server content, but errors out.