I get any ReadableStream and use StreamSaver to get a writable stream and write to it using pipeTo. It gets stuck and does nothing, the promise never resolves nor rejects.
I found a more specific reason as to why this happens. For some reason, the GET request to mitm.html gets "canceled". Is there anything that could cause this? It sometimes DOES work in random occasions.
I get any ReadableStream and use StreamSaver to get a writable stream and write to it using pipeTo. It gets stuck and does nothing, the promise never resolves nor rejects.