Disabling Cache pages for guests remove the error.After installing the latest version, removing page rules, adding cache rules and enabling guest cache I can no longer accept cookies as a guest.
Ya, I'm seeing that now (I don't use the cookie consent anywhere). It looks like particular link works differently than all other requests in XenForo (probably because it has to do with cookie consent, so it's not assuming the user has support for cookies). I guess for the time being, disable the cache. Going to see if there's a way around it on this end.After installing the latest version, removing page rules, adding cache rules and enabling guest cache I can no longer accept cookies as a guest.
View attachment 279876
View attachment 279878
View attachment 279877
Update to the latest version: 1.5.0.1My reply is being overlooked.
Ya, everything there looks normal (the DevTools stuff). max-age=1 is telling your browser not to keep the page in it's local cache for more than 1 second, and if an actual underlying request goes out to Cloudflare to fetch it, that request is going to have the xf_user cookie, so Cloudflare shouldn't serve you a cached version there either.Here is a screenshot showing the entire requests from login to error, including the keep-alive response that even shows my user id
View attachment 279879
Network tab cleared, page reloaded
View attachment 279880
Correct... the 1.5.0.1 version fixes it for accounts that have never done anything with Cache Rules.Update to the latest version: 1.5.0.1
You are on the right track, keep investigatingthat request is going to have the xf_user cookie, so Cloudflare shouldn't serve you a cached version there either.
Well until I can replicate it, not sure if I can fix it. Are you doing anything non-standard somehow (like not sending cookies with your request)?You are on the right track, keep investigating![]()
What browser/version/operating system are you using? I'll keep trying to replicate it, but so far nada.No, I am not doing anything a normal user couldn't do with a vanilla browser (no browser Add-ons, DevTools, Firewall, Anti-Virus, Pihole, etc. involved) - just a normal login by entering username and password and doing clicks on the login form.
Do you have all the necessary permissions for your API Token? There should be 14 (should correspond to what it shows in XF Admin -> Options -> External service providers underThanks, that fixed the Rules part.
And in Access
10000: Authentication error
Did I do something wrong there ?
Cloudflare authentication
.Do you have a different cache/proxy you are going through by chance? Maybe a proxy through your upstream ISP that isn't doing what it's supposed to be doing with Cache-Control headers somehow? Honestly not sure at this point.Doesn't really matter (will happen with any Browser / OS), but:
OS
Windows 10 Pro 22H2 Build 19045.2486
Browsers
Chrome 108.0.5359.125
Edge 108.0.1462.76
Firefox 108.0.2
Opera 94.0.4606.38
(all 64Bit)
Just register to your site I/O labs, i can't log out.What browser/version/operating system are you using? I'll keep trying to replicate it, but so far nada.
No, no other proxy is invloved.Do you have a different cache/proxy you are going through by chance? Maybe a proxy through your upstream ISP that isn't doing what it's supposed to be doing with Cache-Control headers somehow? Honestly not sure at this point.
Correct, its' not Windows-specific - it happens with any browser (at least I think so, I haven't actually tested this or looked at your code).I've not been able to get it to happen on the latest versions of Chrome, Safari, Firefox on macOS, iOS or Linux. I haven't dug up the Windows machine yet, but I doubt it's going to be something Windows-specific.
So ya... from the looks of it, XenForo is doing csrf tokens different for a few URLs in theUpdate to the latest version: 1.5.0.1
misc
route. From the bit I skimmed, it's the new cookie consent thing and also language/style selectors. And XenForo's own internal function to update csrf tokens don't get applied in those cases.We use essential cookies to make this site work, and optional cookies to enhance your experience.