cloudflare / cloudflare/workers-rs

"The destination execution context for this RPC was canceled while the call was still running." when using RPC

Open
#711 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3.7k
Forks
429
Avg merge
20h 28m
Merged PRs (30d)
7

Description

the RPC output (and input) is limited in 1MB to I have to use stream to bypass the limit
```rust
pub async fn my_function(data: String) -> Result {
let stream1 = str_to_readable_stream(String::from_utf8(out).unwrap().as_str());
let stream = wasm_streams::ReadableStream::from_raw(stream1);
Ok(ByteStream { inner: stream })
```

However I always getting "The destination execution context for this RPC was canceled while the call was still running." in caller service. Do you know what's the issue here

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.