[GH-ISSUE #521] Can't run cobalt api in regions where YouTube is blocked #28347

Closed
opened 2026-07-13 08:55:41 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @majianming21 on GitHub (May 24, 2024).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/521

i first run docker-compose.example.yml as a stack and get some error

图片

env
my version is latest,from ghcr.io/imputnet/cobalt:7.14.2-5c11e57

what should i do?

Originally created by @majianming21 on GitHub (May 24, 2024). Original GitHub issue: https://github.com/imputnet/cobalt/issues/521 i first run [docker-compose.example.yml](https://github.com/imputnet/cobalt/blob/current/docs/examples/docker-compose.example.yml) as a stack and get some error ![图片](https://github.com/imputnet/cobalt/assets/18475632/6ca00c08-f9cd-4324-be7a-06841a6e35ff) **env** my version is latest,from ghcr.io/imputnet/cobalt:7.14.2-5c11e57 what should i do?
GiteaMirror added the bug label 2026-07-13 08:55:41 -05:00
Author
Owner

@wukko commented on GitHub (May 24, 2024):

does the container have internet access?

<!-- gh-comment-id:2129683792 --> @wukko commented on GitHub (May 24, 2024): does the container have internet access?
Author
Owner

@majianming21 commented on GitHub (May 24, 2024):

yes , i have internet for container, some time can have remote site ip
图片


<!-- gh-comment-id:2129749619 --> @majianming21 commented on GitHub (May 24, 2024): yes , i have internet for container, some time can have remote site ip ![图片](https://github.com/imputnet/cobalt/assets/18475632/1a3223f9-7bea-4862-b89f-c322c880f406) ****
Author
Owner

@majianming21 commented on GitHub (May 24, 2024):

图片

i location chinese mainland and can not access some website as google directly.

<!-- gh-comment-id:2129787409 --> @majianming21 commented on GitHub (May 24, 2024): ![图片](https://github.com/imputnet/cobalt/assets/18475632/17e41fde-9e50-4408-92ee-55d1207e5eff) i location chinese mainland and can not access some website as google directly.
Author
Owner

@wukko commented on GitHub (May 28, 2024):

the error is caused by cobalt fetching youtube session on boot. since youtube api is unreachable, an error is thrown. fix should include making youtube session fetching async & optional if it fails.

you have to wait for us to make a fix for this, but i'll comment one more time once it's done!

<!-- gh-comment-id:2134302399 --> @wukko commented on GitHub (May 28, 2024): the error is caused by cobalt fetching youtube session on boot. since youtube api is unreachable, an error is thrown. fix should include making youtube session fetching async & optional if it fails. you have to wait for us to make a fix for this, but i'll comment one more time once it's done!
Sign in to join this conversation.