Hello Team,
I’m getting following error. when I’m running my mediasoup project as docker container.
2024-02-12T13:24:03.291Z mediasoup:Worker constructor()
2024-02-12T13:24:03.291Z mediasoup:Worker spawning worker process: /media-room/node_modules/mediasoup/worker/out/Release/mediasoup-worker --logLevel=warn --logTag=info --logTag=ice --logTag=dtls --logTag=rtp --logTag=srtp --logTag=rtcp --logTag=rtx --logTag=bwe --logTag=score --logTag=simulcast --logTag=svc --logTag=sctp --rtcMinPort=4422 --rtcMaxPort=7000
2024-02-12T13:24:03.295Z mediasoup:Channel constructor()
2024-02-12T13:24:03.302Z mediasoup:ERROR:Channel [pid:35] DepLibUring::LibUring() | throwing MediaSoupError: io_uring_queue_init() failed: Operation not permitted
2024-02-12T13:24:03.303Z mediasoup:Channel Consumer Channel ended by the worker process
2024-02-12T13:24:03.304Z mediasoup:ERROR:Worker (stderr) mediasoup-worker::mediasoup_worker_run() | failure exit: io_uring_queue_init() failed: Operation not permitted
2024-02-12T13:24:03.305Z mediasoup:Channel Producer Channel ended by the worker process
2024-02-12T13:24:03.305Z mediasoup:ERROR:Worker worker process failed unexpectedly [pid:35, code:40, signal:null]
2024-02-12T13:24:03.305Z mediasoup:Worker close()
2024-02-12T13:24:03.306Z mediasoup:Channel close()
/media-room/node_modules/mediasoup/node/lib/Worker.js:144
this.emit('@failure', new Error(`[pid:${this.#pid}, code:${code}, signal:${signal}]`));
^
Error: [pid:35, code:40, signal:null]
at ChildProcess.<anonymous> (/media-room/node_modules/mediasoup/node/lib/Worker.js:144:43)
at ChildProcess.emit (node:events:519:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
- it is working fine without dockerizing application.
Mediasoup Version: 3.13.18
Instance: Graviton ARM64
Nodejs Version: v21.6.1
let me know if anything required to traceback the error/problem
Thank You