Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

stefan7's avatar

Cloudflare problems with Livewire

The problem is that there are sporadically 404 and 403 errors while using Livewire components on the website.

When for example clicking a button in a livewire comonent, then the Cloudflare checkox appears. But after clicking the checkbox or sometimes even before, there appears another layer, showing the content of the 404 page too.

At the same time it occurs in console log a error with the /livewire url of the component that was clicked, error says 403 forbidden.

This problem occurs only sporidically and with different components all over the website.

Does anybody have some experience and a suggestion for best way to solve it?

As first step i excluded the /livewire urls from Cloudflare checks completely, but i guess that is not the best solution.

0 likes
3 replies
nexxai's avatar

Are you using wire:navigate from the previous page to the ones with the issues? I don't have a solution but I noticed that certain styles would be cached/not loaded when using wire:navigate so that might be a place to look.

stefan7's avatar

No, wire:navigation is not used

Cloudflare recommends with such problems to deactivate the Browser Integrity Check. Could not find any better solution

nrdnisml's avatar

Hi, is there any solution to this problem? I'm facing the same issue

Please or to participate in this conversation.