Caddy website and documentation frequently return Http 425 error

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.

3. Caddy version:

Not applicable

4. How I installed and ran Caddy:

Not applicable

a. System environment:

Chrome 145.0.7632.76 on Windows 11

b. Command:

Not applicable

c. Service/unit/compose file:

Not applicable

d. My complete Caddy config:

Not applicable

5. Links to relevant resources:

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

4 Likes

Thank you! That explains it at least. Hopefully Chromium will get things fixed soon

Ha yeah I noticed this too. It’s seemingly a browser bug.

1 Like

Is this a ‘feature’ in Caddy 2.11.x?

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…

1 Like