remotion-dev / remotion

🎥 Make videos programmatically with React
https://remotion.dev
Other
20.33k stars 1.02k forks source link

Weird error when having a newline in the end of the Google Cloud Credentials #3864

Closed JonnyBurger closed 4 months ago

JonnyBurger commented 4 months ago

From message posted on Discord by tmanager

<@701030996430159872> because nextjs has time limit to run function I was trying to run renderMediaOnCloudrun on google cloud functions. But the problem is I am not able to set the private key. (I think)

Caught an error: Error: error:1E08010C:DECODER routines::unsupported

Private key is multiline and google cloud functions does not have .env. Setting from UI or command line is messing (I think) the private key.

Do you have any solution to set privatekey from code on cloudrun client.

Also is there way renderMediaOnCloudrun can give renderId before so that I can poll on this renderId ro there is better way to know finishing of render.