Closed loctruong96 closed 7 years ago
Are you using your own Heroku server or are you referring to https://dmhacker-youtube.herokuapp.com?
I am referring to https://dmhacker-youtube.herokuapp.com , a video was found... but then this error occur right after which leave me kinda stuck as of what may caused the issue.
Can you give me a printout of your whole stack log? I'm going to try and reproduce this on my Alexa.
hello, thank you so much for checking. I redeployed the code on lambda to make sure I didn't made any mistake somewhere, and it works now. I probably made some mistakes O_O. I have two unrelated questions wondering if you have the answer to them. First, does the lamda function stream to the echo or the heroku app handle that job? Because aws lamda accept 1gb out free output per month after that we may have problem. Second, I have not very familiar with heroku deployment and wondering if you can give a somewhat detail instructions on how to setup on own heroku youtube processor app like you did? Again thank you!
I'll answer both your questions:
The Heroku app streams the actual files. The Lambda server just returns a link to the file on the Heroku server. And, as far as I can tell, with Heroku free servers (which is what dmhacker-youtube is hosted on), you are allocated 550 hours and 2 TB of bandwidth total for all your free dynos each month. Since I'm not really running any other servers consistently, dmhacker-youtube should be fine. In fact, the server automatically shuts off after 30 minutes of inactivity, so it ends up saving free dyno hours that way.
Sure, I'll start rewriting the setup instructions in the README to be more clear and detailed (in the respective repository). Edit: I just updated the setup instructions to be much more clear. It can all be done in a web browser; no need to get messy with the console anymore. :)
Thank you so much for your support!
No problem! Glad I could help.
The lamda function was able to found the video when requested, but then crash into this issue: Any suggestions? Thank you!