R
Runpod7mo ago
rishi

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
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
rishi
rishiOP7mo ago
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
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
riverfog7
riverfog77mo ago
why exit code 0 tho maybe your docker CMD doesn't wait forever
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
rishi
rishiOP7mo ago
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
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
rishi
rishiOP7mo ago
here it is - Thanks @Jason 🙌🏻
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
rishi
rishiOP7mo ago
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
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
rishi
rishiOP7mo ago
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
riverfog7
riverfog77mo ago
really?
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
rishi
rishiOP7mo ago
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
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
riverfog7
riverfog77mo ago
yeah
rishi
rishiOP7mo ago
okay, let me check if we can do this. thanks 🙌
riverfog7
riverfog77mo ago
just make a rest-api ish thing with node andthen invoke it with python
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
rishi
rishiOP7mo ago
Understood
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
rishi
rishiOP7mo ago
Got it, checking it out

Did you find this page helpful?