Describe the bug
When streaming raw .mp4 video files in Full Tunnel mode, mhrv-tunnel-node appears to ignore batch size limits. Because my VPS has a high-speed connection (1 Gbps), it aggressively buffers the video data and packs it into a single massive JSON payload.
The batch hits exactly ~52.4MB, which triggers Google Apps Script's hard memory limit. Google truncates the response, causing the Rust client to crash and instantly kill the video stream.
Log
ERROR batch JSON parse error: EOF while parsing a string at line 1 column 52428685
Workaround / Proof of Cause
I confirmed this is caused by the buffer filling too fast. When I used wondershaper to strictly limit the VPS network interface to 40 Mbps, the stream worked perfectly because the node was forced to send manageable chunks.
Describe the bug
When streaming raw
.mp4video files in Full Tunnel mode,mhrv-tunnel-nodeappears to ignore batch size limits. Because my VPS has a high-speed connection (1 Gbps), it aggressively buffers the video data and packs it into a single massive JSON payload.The batch hits exactly ~52.4MB, which triggers Google Apps Script's hard memory limit. Google truncates the response, causing the Rust client to crash and instantly kill the video stream.
Log
ERROR batch JSON parse error: EOF while parsing a string at line 1 column 52428685Workaround / Proof of Cause
I confirmed this is caused by the buffer filling too fast. When I used
wondershaperto strictly limit the VPS network interface to 40 Mbps, the stream worked perfectly because the node was forced to send manageable chunks.