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.4 Replies
I've added some new logs to debug and come across the following error:
Looking up the error code it seems pretty generic with the Cloudflare API firing it in multiple scenarios, so not really sure what to do with it.
youre example: 'binding DB of type d1 failed to generate. Please try again later or contact support.
[code: 10021] try adding more text like. Failed genaration upon binding DB of type prefix DB D1 Failed. backwards and normal
you feel me?
I'm not sure I understand, sorry?
just reversing it and adding the first text