Skip to content

Google Cloud Run not reading cookies.json #1180

Open
@MisterCxmpy

Description

@MisterCxmpy

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions