© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•3y ago•
5 replies
Lambo

Scheduled Worker 504 Gateway Time-out

Hello,

I'm suddenly getting a
504 Gateway Time-out
504 Gateway Time-out
when visting
http://localhost:8787/__scheduled?cron=*+*+*+*+*
http://localhost:8787/__scheduled?cron=*+*+*+*+*
to test my scheduled worker via
npx wrangler dev --test-scheduled
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
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.
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

504 Gateway Time-out
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
14mo ago
504 Gateway timeout
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Scheduled Worker - Unexpected 429s
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
10mo ago
504 Gateway Timeouts on Wrangler deploy
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2mo ago