hyper-reverse-proxy icon indicating copy to clipboard operation
hyper-reverse-proxy copied to clipboard

worker panic on websocket forward

Open yu-re-ka opened this issue 2 years ago • 3 comments

Jul 06 13:51:48 yaya rust-webserver[2689071]: thread 'tokio-runtime-worker' panicked at 'coping between upgraded connections failed: Kind(UnexpectedEof)', /build/cargo-vendor-dir/hyper-reverse-proxy-0.5.2-dev/src/lib.rs:425:26

yu-re-ka avatar Jul 06 '22 11:07 yu-re-ka

Do you have some sample code/setup?

somehowchris avatar Jul 18 '22 12:07 somehowchris

The code is nothing special. I have this running in my rust-webserver project as a reverse proxy for various services, so it's kind of hard to isolate what triggered it.

yu-re-ka avatar Jul 18 '22 13:07 yu-re-ka

I'm also seeing this lately, but not sure why. I think one end of the upgraded connections closed while the other was sending data. However, I still need to recreate it reliably.

chesedo avatar Sep 28 '22 08:09 chesedo