Application goes 500 as soon as we start checking logs

Hi! We are deploying a Cloudflare Pages Application, and now (not sure since when, we just realised today while trying to debug an issue in our code) every time we start checking the logs, it starts failing with 500 Internal Server Error. It happens with both, using the wrangler pages deployment tail or the UI in the Functions section of the deployment and then Real-time Logs -> Begin log stream. I have tried multiple times, retrying the deployment, and then checking when it starts failing. Is it happening to anybody else? Any hint on what could it be? cc @Eusebio Trigo
6 Replies
Erisa
Erisaβ€’9mo ago
Hello @Francisco Robles - Embley! Did you enable Smart Placement on the application by any chance?
Francisco Robles - Embley
Hi @Erisa | Support Engineer ! πŸ™‚ Yes, we do have it enabled indeed πŸ€”
Erisa
Erisaβ€’9mo ago
Thanks - there is a known bug with Smart Placement at the moment where it breaks tail like that 😦 until thats resolved you will need to disable Smart Placement and redeploy the deployment to use tail
Francisco Robles - Embley
Oh okay! Is there any place where we can follow that issue so that we enable it again once solved? (small comment, it is Pages, not Workers)
Erisa
Erisaβ€’9mo ago
small comment, it is Pages, not Workers
My bad on that, it affects both exactly the same so didn't realise. Same applies
Is there any place where we can follow that issue so that we enable it again once solved?
I don't think so, its being tracked internally though
Francisco Robles - Embley
Okay! Thanks a lot for your help @Erisa | Support Engineer ! πŸ™‚ Is there any estimated time to fix it? Just to give it a try or ask here again at some point?