Different Errors on D1 randomly happening once in a while

Here are some errors happens on D1 once in a while to me.

I run Telegram Bots on Cloudflare Workers. and the requests are connnected with D1 to check things.

So it reads and writes very often. I am on paid Plan so no limit issues.

I’ve set it up to send the errors to me on Telegram in DM.

D1_ERROR: Network connection lost.
D1_ERROR: Cannot resolve D1 due to transient issue on remote node.
D1_ERROR: internal error.
D1_ERROR: D1 storage operation exceeded timeout which caused object to be reset.

This should not happen on databases. Especially if the size is not so big. My databases are very small where this happens. Some are about 100 MB and some are like 1-5 MB of databases.

3 Likes

Hi any resolution for this ? Im facing similar issue . I could see a random error like this in my worker when it tries to connect to d1

Seeing similar errors:

Error: D1 storage operation exceeded timeout which caused object to be reset.

On a database with 3GB of data. Seeing issues even during periods when the workload is mostly reads (about 2k reads / minute), minimal writes.