Thread 'tokio-runtime-worker' panicked


I’m getting this error:

thread 'tokio-runtime-worker' panicked at lib/src/session/
response receiver is open: ()

The reason is that the client has canceled the fetch (I’ve added a timeout in the client). How can I catch this error. I want to have a short timeout in fetch since it’s video data and I want to start downloading the next segment if this segment takes to long.

Is it possible to get notification if the client has canceled the request?


Hi @fredrikoja

Thanks for reaching out!

Would you be able to produce a reduced test case using Fiddle ( as it’ll help us understand your setup.

I presume you’re using BackendBuilder in fastly::backend - Rust to configure the timeout, is that correct?