Sudden HTTP 403 errors with Discourse Docker ("BAD CSRF")

We’re using Discourse Docker and getting HTTP 403 since yesterday (2024-12-21) when trying to login or (for those already logged in) to post a message. The error response is ["BAD CSRF"], which makes me think this security fix may have caused this regression:

Is anybody else experiencing these?

PS: The Discourse instance exists since 2020, and is updated automatically every night.

1 Like

Maybe this will fix it in 3.3.4?

See also:

2 Likes

Can you try it out?

1 Like

@sam Thank you, I just verified and I can log in again in 3.3.3 + 1, so the PR mentioned above resolved the issue.

3 Likes

Thanks for checking!