Scheduled Worker 504 Gateway Time-out

Hello,

I'm suddenly getting a 504 Gateway Time-out when visting http://localhost:8787/__scheduled?cron=*+*+*+*+* to test my scheduled worker via npx wrangler dev --test-scheduled.

This only happens when local mode is turned off. If local mode is enabled I just get an error in the console stating the table does not exist (which is correct).

I'm not really sure what could have caused this. I am on my master branch which was working a couple days ago, so I have changed no code. Does anyone have ideas on what could cause this?

Happy to supply any code/config. Thanks.
Was this page helpful?