Closed prushh closed 2 months ago
I did a quick test but I was not able to reproduce the issue, I did not install the ISDCAC browser extension though. Does the issue happen when the extension is not installed?
Edit: I can reproduce the bug sometimes with the extension installed (and without using Docker).
@gildas-lormeau The problem occurs occasionally even without loading the extension, on Docker container.
The bug is a bit mysterious to me but should be fixed now hopefully.
@gildas-lormeau Thank you very much, I did some tests and there was no problem!
Edit: the issue continues to occur, but less frequently
@prushh Feel free to provide me an example of a failing URL which would allow me to do some tests.
@gildas-lormeau Sorry for the late reply. Thanks for the new commit, I will test with different URLs and hope everything is ok now!
@prushh No worries, I'm curious to know if this problem still occurs though..
I am running single-file-cli in a custom Docker container with
node:20-alpine3.20
as base image. The chromium-swiftshader package was installed as in your Dockerfile (Chromium 127.0.6533.88 Alpine Linux instead of v124) and the ISDCAC browser extension was added.I'm using
child_process.fork()
function in a TypeScript project as follows:Show code
````typescript export async function runSingleFile(url: string, filename: string, useProxy: boolean): PromiseI have always caught the error below in Alibaba, and sometimes also in Aliexpress and YouTube.
Show runtime error
````javascript node:internal/event_target:1094 process.nextTick(() => { throw err; }); ^ Error: Invalid InterceptionId. when calling Fetch.continueRequest({"requestId":"interception-job-289.1"}) at #onMessage (file:///function/single-file-cli/node_modules/simple-cdp/mod.js:196:36) at WebSocket.Some examples of URLs by domain:
How can I prevent this problem in a general way?