Cem
CDCloudflare Developers
•Created by Cem on 8/4/2024 in #workers-help
Enterprise customer - cannot perform I/O error
Hi all - I was told to come hear from enterprise support as they were not sure what the issue was.
We're getting a couple of errors on a worker of ours that interacts with a durable object:
1. Cannot perform I/O on behalf of a different request. I/O objects (such as streams, request/response bodies, and others) created in the context of one request handler cannot be accessed from a different request's handler. This is a limitation of Cloudflare Workers which allows us to improve overall performance. (I/O type: OutgoingFactory)
2. this.viewer.fetch is not a function (this.viewer is the durable object)
Can anyone help us diagnose the issue? Unfortunately support weren't able to tell us where or why either of the errors where coming from.
The issue isn't constant, only affecting a small portion of our requests. However, because this worker gets so many requests, we're getting a decent amount of errors.
Thanks
14 replies