cloudflare / workers-sdk

⛅️ Home to Wrangler, the CLI for Cloudflare Workers®
https://developers.cloudflare.com/workers/
Apache License 2.0
2.63k stars 691 forks source link

🐛 BUG: Creating D1 Backups Causes 504 Gateway Timeout #2941

Open juriadams opened 1 year ago

juriadams commented 1 year ago

Which Cloudflare product(s) does this pertain to?

D1

What version of Wrangler are you using?

2.13.0

What operating system are you using?

Mac

Describe the Bug

Frequently, when creating D1 backups, I receive a 504 Gateway Timeout as the response. As I am storing a bunch of data in the database, might this be caused by the fact that the backup simply takes too long to be generated and, therefore causes a Gateway Timeout?

lxNn3xkD@2x

juriadams commented 1 year ago

BGG7Q1oB@2x

The dashboard is also broken in that regard.

ngrewe commented 1 year ago

I'm experiencing the same problem on a db with ~100MB size. Two additional observations: