That error means that Caddy was unable to establish a connection to that website. I was unable to reproduce the behavior on my machine, so something between your computer and theirs is preventing the connection from succeeding.
What is in your process and error logs, anything? (use the -log flag to enable the process log, and use the errors directive to enable error logging, like errors stderr)
Thank you, I run a detailed error log process;【 caddy - log string 】
Got the following contents:
(“
2019/10/11 09:58:28 [INFO][cache:0xc0000a07d0] Started certificate maintenance routine
2019/10/11 09:58:28 [INFO] Successfully loaded TLS assets from ./path/ssl/lorzl.ml.pem and ./path/ssl/privkey.key
2019/10/11 09:58:28 [INFO] Serving https://lm.lorzl.ml
2019/10/11 09:58:29 [INFO] SIGINT: Shutting down
2019/10/11 09:58:29 [INFO][cache:0xc0000a07d0] Stopped certificate maintenance routine
”)
I am from China;
But our continent seems to intercept the [www.pixiv.net] certificate access to detect and block
Thanks for the logs! That’s what I was looking for, except…
I was hoping that you would attempt to make a request through the proxy while the server was running so we could see if any more details were emitted to the logs.
Ah. Then in that case you will need to set up the proxy outside of the blocked network…
If that is the case, I’m guessing you would see an error like connection refused/reset or DNS lookup failed. I don’t think there’s much Caddy can do for you within a network that is restricted. Fortunately, it is common to deploy Caddy in other regions which have lower latency and higher connectivity.