Randomly worker requests are being canceled

Hi 👋 ! We have a Cloudflare worker (with two environments) that accepts PATCH requests and makes update requests to Baserow. I suddenly noticed yesterday the worker is canceling the requests without throwing any kind of errors. Everything works fine tills a fetch request is made. Sometimes the code works, so I'm confused if the worker is hitting any time limit.

Note:
  1. Changing the custom domain URL and changing it back somewhat fixes the issue. Sometimes the requests get canceled but the fetch request goes through. Sometimes the fetch request goes through without canceling the request.
  2. Setting workers_dev to true somewhat fixes the issue too. Sometimes the requests get canceled but the fetch request goes through. If I set it to false again, sometimes it keeps working, sometimes it doesn't.
Code: https://github.com/dilmaheu/dilmahtea.me-workers/blob/main/src/workers/dilmahtea-me-baserow/src/index.ts
GitHub
Contribute to dilmaheu/dilmahtea.me-workers development by creating an account on GitHub.
Was this page helpful?