Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube OAuth2 tokens no longer work #942

Open
coderooo opened this issue Nov 25, 2024 · 13 comments
Open

YouTube OAuth2 tokens no longer work #942

coderooo opened this issue Nov 25, 2024 · 13 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@coderooo
Copy link

problem description

Newly registered youtube account, getting cookies that don't work?

your instance configuration

No response

@coderooo
Copy link
Author

image

@hazycora
Copy link

hazycora commented Nov 25, 2024

I got this too on an account made a week ago, it used to work and then this started happening yesterday. Would love to provide logs but there's nothing in the server's console. Don't know if this is normal, but playing videos through the YouTube site doesn't have this problem on the account- maybe it's just unable to make YouTube TV sessions, or something.

Trying a much older (but still unused, not my main account don't worry!) account, this doesn't happen, so it seems maybe banned accounts get a different error response now?

@hextor1
Copy link

hextor1 commented Nov 26, 2024

I have the same error on my new created accounts. basically I have 5 gmail acocunt on 50 youtube channel created on these gmails. from yesterday i am facing this error. even i did not face any error before like this

unexpected status: error (error.api.youtube.api_error)

@wukko wukko changed the title Newly registered youtube account, getting cookies that don't work? YouTube OAuth2 tokens sometimes don't work Nov 26, 2024
@wukko
Copy link
Member

wukko commented Nov 26, 2024

as far as i can tell, youtube is slowly rolling out a change that breaks oauth2 tokens for clients other than youtube tv (cobalt uses android & ios). not all accounts are affected yet, but an increasingly higher amount of them is. the main cobalt instance is also affected.

we don't know of a proper fix at the moment, but you can follow the same issue in youtube.js' repo: LuanRT/YouTube.js#803 or read the history of the issue in yt-dlp's repo (they ended up removing oauth2 support): yt-dlp/yt-dlp#11462

@Chidubemmo
Copy link

Dude I just want to listen to Chromakopia in Bomb Rush Cyberfunk 😭 I hate YouTube so much

@wukko wukko changed the title YouTube OAuth2 tokens sometimes don't work YouTube OAuth2 tokens no longer work Nov 27, 2024
@wukko
Copy link
Member

wukko commented Nov 27, 2024

youtube is slowly rolling out a change that breaks oauth2 tokens

oauth2 tokens are completely cooked now, the change was fully rolled out. not sure what to do from now on aside from adding support for web cookies, but those are very short lasting :(

@hextor1
Copy link

hextor1 commented Nov 27, 2024

@wukko You mean cookies will not work in future? :(
from my side proxies is also not worked when I try to download the songs with proxy donwlaod 0 byte file

@MC-shark

This comment was marked as duplicate.

@wukko wukko added bug Something isn't working help wanted Extra attention is needed and removed instance hosting help labels Nov 28, 2024
@asepsunarya

This comment was marked as duplicate.

@coderooo
Copy link
Author

coderooo commented Dec 4, 2024

Is there a new solution? @wukko
FoxxMD/multi-scrobbler#236 (comment)

@hextor1
Copy link

hextor1 commented Dec 4, 2024

FoxxMD/multi-scrobbler#236 (comment)
Yes its working with other library if we use.

@lpwyz
Copy link

lpwyz commented Dec 10, 2024

YouTube 正在慢慢推出一项破坏 oauth2 令牌的变更

oauth2 令牌现在已经完全成熟,变更已全面推出。除了添加对网络 cookie 的支持外,不确定从现在开始还能做什么,但这些 cookie 的持续时间很短 :(
Hello, do you have a plan to integrate Cobalt project settings with YouTube's Oauth2? The cookies generated by the new Google account are no longer able to access and download YouTube videos

@ZEREX222
Copy link

also have the same issue with a new account. do we still not have a solution?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

9 participants