Suddenly getting 500 errors from Remix app deployer on Workers

I manage a production Remix website deployed on Cloudflare and it all worked pretty well for months until yesterday we started to get 500 messages. It started very rare but now it's pretty much all the time. We're assuming it was rare because of proxy client and server cache. The Workers Log Stream doen't help us pin down the issue, we already rolledback 3 days of commits and nothing works! We are already working on modifying the codebase and deploying the app to a normal Node server by now but we use KV too and the change would take too long considering the website is totally down... Is there any way for us to get what exactly is the server error that's causing this?
1 Reply
Tiago ☕
Tiago ☕8mo ago
We figured it out by logging to KV the Remix logs and find the issue.