Unexpected Server error with Remix SDK and Cloudflare

So this issue is occuring when I have my domain proxied through cloudflare. I have local, staging and production setup and I made sure to test with staging to see that turning proxy on and off was the issue. I get "Unexpected Server Error" when I try to login with a gmail account and the console shows "Failed to load resource: the server responded with a status of 500 ()" Is there more network request information, or info on my cloudflare setup I can share that would help us figure out why this is happening?
1 Reply
CrazyCroatKid
CrazyCroatKidOP3mo ago
Nevermind! Added page rules like these with one of them making things work:
Cache Level: Set to "Bypass"
Disable Performance Features: Turn off features like Rocket Loader, Mirage, etc.
Security Level: Optionally, set to "Essentially Off" to disable WAF for this path.
Disable Apps: Ensure no Cloudflare Apps are affecting this path.
Cache Level: Set to "Bypass"
Disable Performance Features: Turn off features like Rocket Loader, Mirage, etc.
Security Level: Optionally, set to "Essentially Off" to disable WAF for this path.
Disable Apps: Ensure no Cloudflare Apps are affecting this path.
I also did have cache everything from a while back that was put on my domain that could have been the issue.
Want results from more Discord servers?
Add your server