Hi!
So this is a bit of a weird question, but every time I go to a page of the caddy main website or documentation, it’s a 50/50 chance whether the page actually loads or returns 425. A refresh or two fixes it every single time. No other website is affected for me.
1. The problem I’m having:
The caddy official website and documentation frequently returns Http 425
2. Error messages and/or full log output:
HTTP 425
PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.
This is because our server enable 0-RTT, and Chromium is buggy and does not retry requests with 425 responses as it should (which mean “you tried to make a request before the TLS handshake completed so we can’t validate your IP address”). In fact, we just merged a feature to disable 0-RTT to work around this caddyhttp: Option to disable 0-RTT by francislavoie · Pull Request #7485 · caddyserver/caddy · GitHub but this is unfortunate because it’s not Caddy’s fault, Chromium broke it. See Chromium
I have a problem with Caddy returning 425 error when running the docker tag caddy:alpine - however caddy:2.10-alpine does not return the same error.
This is with Caddy configured to do a simple proxy to a web server.
EDIT: Disregard… For some reason, my tests weren’t able to trigger it as easily in Caddy 2.11.x. The problem still occurs with 2.10.x as well as expected…