M
MastraAI3mo ago
Sean

[ERROR] Error executing step: Error: Cannot perform I/O on behalf of a different request.

We are getting the following issue on CF Workers. This is currently blocking our production deployment. Someone created an issue for it here with reproduction details: https://github.com/mastra-ai/mastra/issues/6337
GitHub
[BUG] Workflow execution fails on Cloudflare workers · Issue #6337...
Describe the Bug Workflow execution fails on Cloudflare workers with the error (from the cf dashboard): Local run with wrangler dev inside .mastra/output [wrangler:info] POST /api/workflows/weather...
3 Replies
_roamin_
_roamin_3mo ago
Hey! I found what the issue is and opened a PR to fix it (https://github.com/mastra-ai/mastra/pull/6470), it has to do with how Cloudflare's workerd runtime handles AbortController's which are used when running workflows. I don't when the fix will be released though.
Mastra Triager
Mastra Triager3mo ago
GitHub
[DISCORD:1400595798143533066] [ERROR] Error executing step: Error: ...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1400595798143533066 We are getting the following issue on CF Workers. This is currently blocking our produ...

Did you find this page helpful?