Our side after integrating CloudFlare, randomly we have 520 error.
After we chat with Cloudflare support, then reply to us.
Your web server returned an invalid response that exceeded our limits. Often this can happen if your web server is returning too many/too large headers. This is often caused by runaway scripts that return too many cookies, for example. The Code Igniter PHP framework has some known bugs around this too.
Once we turned off the cookie encryption.
in app/Http/Kernel.php
then comment this line 'Illuminate\Cookie\Middleware\EncryptCookies',
Is it safe to turn off?
Then working fine. Is anyone also facing similar issue?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community