worker exited with exit code 0
Hello team, I'm trying to host my remotion video rendering on Runpod serverless built with nodejs via docker.
the build completes but when I shoot a request, it never moves out of job queue, worker starts and gives error worker exited with exit code 0 and never shuts down and the video didn't get's rendered
every time I've to terminate the worker and purge the queue.
What is going wrong?
worker id - j9spmt6ba47py6
endpoint - https://api.runpod.ai/v2/1bqxtx4casdrc9/run
23 Replies
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Okay @Jason, thank you for your response. adding and checking it
Hey @Jason , I did this, still the same error. It just gives error exited with code 0, nothing else
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
why exit code 0 tho
maybe your docker CMD doesn't wait forever
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
understood, will try and revert back here
I'm still not able to solve this, can anyone help me with this as a paid gig?
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
here it is - Thanks @Jason 🙌🏻
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Thank you for sharing this! checking it out.
But just want to know that initially this code was made for the server and it worked if I manually started the worker and the same code also worked initially for a few renders (videos were rendering but the worker didn't terminate) but stopped working after that, bit weird
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
By triggering via a sample request via the runpod dashboard, it started by an internal server. It communicates with Supabase realtime to render videos
got it
really?
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
I'm using Remotion for video rendering. Remotion is built specifically for the Node.js. so in this case I don't think Runpod will be the right platform to host if .js handler is not supported?
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
yeah
okay, let me check if we can do this. thanks 🙌
just make a rest-api ish thing with node andthen
invoke it with python
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Understood
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Got it, checking it out