Google Cloud Run not reading cookies.json #770

Open
opened 2025-11-09 09:58:02 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @MisterCxmpy on GitHub (Mar 20, 2025).

problem description

Hello,

I've recently deployed my Cobalt instance on Google Cloud Run using Artifact Registry to upload my Docker file. However, I seem to be having an issue.

I understand that YouTube links are a bit finicky at the moment. I followed all the steps involving cookies, created my own access token, and uncommented all the necessary lines. However, when I try to download a YouTube URL, I get the following error:

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

In my logs, it shows: "cookies loaded successfully!".
But then directly underneath that it shows: **"

Error: EACCES: permission denied, open '/cookies.json' at async open (node:internal/fs/promises:634:25) at async writeFile (node:internal/fs/promises:1208:14) {
  errno: -13,
  code: 'EACCES',
  syscall: 'open',
  path: '/cookies.json'
}

Has anyone else encountered something like this or knows a potential fix?

Thanks in advance!

your instance configuration


Originally created by @MisterCxmpy on GitHub (Mar 20, 2025). ### problem description Hello, I've recently deployed my Cobalt instance on Google Cloud Run using Artifact Registry to upload my Docker file. However, I seem to be having an issue. I understand that YouTube links are a bit finicky at the moment. I followed all the steps involving cookies, created my own access token, and uncommented all the necessary lines. However, when I try to download a YouTube URL, I get the following error: ```json { "status": "error", "error": { "code": "error.api.fetch.critical", "context": { "service": "youtube" } } } ``` In my logs, it shows: **"cookies loaded successfully!"**. But then directly underneath that it shows: **" ```json Error: EACCES: permission denied, open '/cookies.json' at async open (node:internal/fs/promises:634:25) at async writeFile (node:internal/fs/promises:1208:14) { errno: -13, code: 'EACCES', syscall: 'open', path: '/cookies.json' } ``` Has anyone else encountered something like this or knows a potential fix? Thanks in advance! ### your instance configuration ```shell ```
GiteaMirror added the instance hosting help label 2025-11-09 09:58:02 -06:00
Sign in to join this conversation.