So Iâm not sure what happened. The reverse proxy was working Saturday night, albeit with that error, but when I restarted it yesterday to mess with, it was no longer working. Any idea what happened? I didnât change anything besides turn it off one day and on again later.
logs
{"level":"info","ts":1636588642.009567,"msg":"shutdown complete","signal":"SIGTERM","exit_code":0}
{"level":"info","ts":1636588966.5860264,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"}
{"level":"warn","ts":1636588966.5877047,"msg":"input is not formatted with 'caddy fmt'","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":12}
{"level":"info","ts":1636588966.5894728,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["localhost:2019","[::1]:2019","127.0.0.1:2019"]}
{"level":"info","ts":1636588966.5899518,"logger":"http","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"srv0","https_port":443}
{"level":"info","ts":1636588966.5899935,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc0002593b0"}
{"level":"info","ts":1636588966.5900528,"logger":"http","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
{"level":"info","ts":1636588966.5908177,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["komga.troilus98.com"]}
{"level":"info","ts":1636588966.590831,"logger":"tls","msg":"cleaning storage unit","description":"FileStorage:/data/caddy"}
{"level":"info","ts":1636588966.5924366,"logger":"tls","msg":"finished cleaning storage units"}
{"level":"info","ts":1636588966.5933383,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
{"level":"info","ts":1636588966.5933914,"msg":"serving initial configuration"}
{"level":"error","ts":1636589007.6262681,"logger":"http.log.error","msg":"dial tcp: i/o timeout","request":{"remote_addr":"172.20.0.1:54068","proto":"HTTP/2.0","method":"GET","host":"komga.troilus98.com","uri":"/","headers":{"Sec-Ch-Ua-Platform":["\"Windows\""],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36 OPR/80.0.4170.63"],"Accept-Language":["en-US,en;q=0.9"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Mode":["navigate"],"Sec-Fetch-Dest":["document"],"Cookie":["SESSION=NTE5ZWI0YWMtMDdjNS00OGY3LTg4MGItOWQ1Zjg4NDZhZDJm"],"Sec-Ch-Ua":["\"Chromium\";v=\"94\", \" Not A;Brand\";v=\"99\", \"Opera\";v=\"80\""],"Sec-Fetch-Site":["none"],"Sec-Fetch-User":["?1"],"Accept-Encoding":["gzip, deflate, br"],"Cache-Control":["max-age=0"],"Upgrade-Insecure-Requests":["1"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"komga.troilus98.com"}},"duration":10.00448137,"status":502,"err_id":"3b43ba02z","err_trace":"reverseproxy.statusError (reverseproxy.go:858)"}
{"level":"error","ts":1636589067.8867686,"logger":"http.log.error","msg":"dial tcp: i/o timeout","request":{"remote_addr":"172.20.0.1:54070","proto":"HTTP/2.0","method":"GET","host":"komga.troilus98.com","uri":"/","headers":{"Accept-Language":["en-US,en;q=0.9"],"Cache-Control":["max-age=0"],"Sec-Fetch-Site":["none"],"Sec-Fetch-User":["?1"],"Accept-Encoding":["gzip, deflate, br"],"Sec-Ch-Ua":["\"Chromium\";v=\"94\", \" Not A;Brand\";v=\"99\", \"Opera\";v=\"80\""],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36 OPR/80.0.4170.63"],"Cookie":["SESSION=NTE5ZWI0YWMtMDdjNS00OGY3LTg4MGItOWQ1Zjg4NDZhZDJm"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Upgrade-Insecure-Requests":["1"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"],"Sec-Fetch-Mode":["navigate"],"Sec-Fetch-Dest":["document"]},"tls":{"resumed":true,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"komga.troilus98.com"}},"duration":10.004958643,"status":502,"err_id":"pn0pssebv","err_trace":"reverseproxy.statusError (reverseproxy.go:858)"}
{"level":"error","ts":1636589230.5448005,"logger":"tls.issuance.acme","msg":"looking up info for HTTP challenge","host":"komga.troilus98.com","error":"no information found to solve challenge for identifier: komga.troilus98.com"}
{"level":"error","ts":1636589230.54487,"logger":"tls.issuance.acme","msg":"looking up info for HTTP challenge","host":"komga.troilus98.com","error":"no information found to solve challenge for identifier: komga.troilus98.com"}
{"level":"error","ts":1636589230.6465602,"logger":"tls.issuance.acme","msg":"looking up info for HTTP challenge","host":"komga.troilus98.com","error":"no information found to solve challenge for identifier: komga.troilus98.com"}
{"level":"error","ts":1636589230.6466393,"logger":"tls.issuance.acme","msg":"looking up info for HTTP challenge","host":"komga.troilus98.com","error":"no information found to solve challenge for identifier: komga.troilus98.com"}
{"level":"error","ts":1636589240.6470518,"logger":"http.log.error","msg":"dial tcp: i/o timeout","request":{"remote_addr":"172.20.0.1:54074","proto":"HTTP/1.1","method":"GET","host":"komga.troilus98.com","uri":"/.well-known/acme-challenge/K6P6DI1R_WpMUXQSfxo6pEuItfXLyhUZ35uNHx5sD2E","headers":{"Connection":["close"],"User-Agent":["acme.zerossl.com/v2/DV90"],"Cache-Control":["no-cache"],"Referer":["http://komga.troilus98.com/.well-known/acme-challenge/K6P6DI1R_WpMUXQSfxo6pEuItfXLyhUZ35uNHx5sD2E"],"Accept-Encoding":["gzip"]},"tls":{"resumed":false,"version":772,"cipher_suite":4867,"proto":"","proto_mutual":true,"server_name":"komga.troilus98.com"}},"duration":10.000534613,"status":502,"err_id":"xwz9bsy9r","err_trace":"reverseproxy.statusError (reverseproxy.go:858)"}
PS C:\Users\ikerz> curl -v komga.troilus98.com
* Rebuilt URL to: komga.troilus98.com/
* Trying 67.4.148.230...
* TCP_NODELAY set
* Connected to komga.troilus98.com (67.4.148.230) port 80 (#0)
> GET / HTTP/1.1
> Host: komga.troilus98.com
> User-Agent: curl/7.55.1
> Accept: */*
>
< HTTP/1.1 200 Ok
< Server: micro_httpd
< Cache-Control: no-cache
< Date: Thu, 11 Nov 2021 00:05:02 GMT
< Content-Type: text/html
< Connection: close
<
<script type="text/javascript">
var exp = new Date();
exp.setTime(exp.getTime()-1000);
document.cookie = "Authorization= ;path=/;expires="+exp.toGMTString();
document.cookie = "CLINK_SESSION_ID= ;path=/;expires="+exp.toGMTString();
document.cookie = "record_page= ;expires="+exp.toGMTString();
document.cookie = "toptab= ;expires="+exp.toGMTString();
document.cookie = "loginaccount= ;path=/;expires="+exp.toGMTString();
window.location.href = "/clink_login.html"
</script>
* Closing connection 0