workerd icon indicating copy to clipboard operation
workerd copied to clipboard

`MY_QUEUE.send()` regularly fails with `Internal Server Error` at runtime

Open nvie opened this issue 1 year ago • 8 comments

We regularly see the following error pop up in our production logs:

Error: Queue send failed: Internal Server Error

This error is produced here, and happens when we call the following public API:

await env.MY_QUEUE.send(message);

Here, message is a simple/regular JSON object, nothing out of the ordinary. Is it possible to get more detailed runtime information than Internal Server Error?

nvie avatar Dec 08 '23 10:12 nvie

This issue also occurs to me. This is an important issue since it inhibits the reliability of Cloudflare worker's queue as a whole. Also, I've noticed that this also tends to be followed by a D1_ERROR: Network connection lost error, maybe there is some connection with how Cloudflare hosts its architecture.

BjornTheProgrammer avatar Mar 20 '24 16:03 BjornTheProgrammer

@BjornTheProgrammer can you provide an account ID and queue ID here?

We should assume these issues are unrelated to the OPs post until we determine otherwise.

elithrar avatar Mar 20 '24 16:03 elithrar

Account id: b919dbc53a0f6046d83862a233859913 Queue id: 60e9a4ec9b654015866dd4bf709822e0

We should assume these issues are unrelated to the OPs post until we determine otherwise.

Good point

BjornTheProgrammer avatar Mar 20 '24 17:03 BjornTheProgrammer