error.api.fetch.critical while hosting on virtual machine #510

Closed
opened 2025-11-09 09:51:11 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @dhawansolanki on GitHub (Oct 16, 2024).

problem description

Issue: Unable to Download YouTube Video on Instance (Works Locally)

I'm experiencing an issue when trying to download a YouTube video using the following API call:

POST Request: http://xxx.xxx.xxx.xx:9000/
Request Body:

{
"url": "https://youtu.be/......."
}

Everything works fine when running locally on localhost, but when I try to run the same code on my server instance, I get the following error:

Error Response::

{
"status": "error",
"error": {
"code": "error.api.fetch.critical",
"context": {
"service": "youtube"
}
}
}

Any idea what might be causing this issue or how I can resolve it?

your instance configuration

Azure Virtual Machine
Originally created by @dhawansolanki on GitHub (Oct 16, 2024). ### problem description Issue: Unable to Download YouTube Video on Instance (Works Locally) I'm experiencing an issue when trying to download a YouTube video using the following API call: POST Request: http://xxx.xxx.xxx.xx:9000/ Request Body: { "url": "https://youtu.be/......." } Everything works fine when running locally on localhost, but when I try to run the same code on my server instance, I get the following error: Error Response:: { "status": "error", "error": { "code": "error.api.fetch.critical", "context": { "service": "youtube" } } } Any idea what might be causing this issue or how I can resolve it? ### your instance configuration ```shell Azure Virtual Machine ```
GiteaMirror added the instance hosting help label 2025-11-09 09:51:11 -06:00
Author
Owner

@KwiatekMiki commented on GitHub (Oct 18, 2024):

set up cookies.

https://github.com/imputnet/cobalt/issues/687#issuecomment-2293405845

@KwiatekMiki commented on GitHub (Oct 18, 2024): set up cookies. https://github.com/imputnet/cobalt/issues/687#issuecomment-2293405845
Sign in to join this conversation.