-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Cobalt instance cannot retrieve YouTube cookies #889
Comments
you need to use pnpm, not npm, to install. it never told you to use npm. |
Hello, please take a closer look at the image above. I can assure you that it is a dependency for pnpm install. I used both npm and pnpm, but it still doesn't work. I can confirm that my local cobalt project dependency has been installed. Is there a problem with my steps? Here are my specific steps, Is there any problem with my steps above |
And I found that every time I input: https://www.google.com/device Afterwards, the address will change to: https://accounts.google.com/o/oauth2/device/usercode?ddm=1&flowName=DeviceOAuth |
what’s happening here is that the request made to youtube is timing out. you could try increasing the timeout for requests by adding this to the top of import { Agent, setGlobalDispatcher } from 'undici';
setGlobalDispatcher(new Agent({
connect: { timeout: 60000 }
})); |
Can someone help me? Paid consultation is also possible |
i suspect that node isnt using the vpn connection |
here is something i found: https://stackoverflow.com/a/32055112 in other words, how is your vpn connection managed? what service are you using? |
I am very troubled. The VPN I am using with Clashx has already set up a global connection and entered the command in the terminal management: export http_proxy= http://127.0.0.1:7890 But even after running it, it still shows that I can't get YouTube or cookies, and I'm a little suspicious of myself. |
Can anyone make a video for me to learn |
i think your proxy times out youtube, this is what the error suggests |
Do you have a recommended VPN? I'll give it a try |
you could try openvpn |
pretty sure regular protocols are blocked in china |
Got it, is that there's no way to open a VPN |
Is it true that even if I open a VPN in China, there's no way, right? |
problem description
I cloned the Cobalt project here and it is also running normally. At this point, I enabled incognito browsing mode and opened: https://www.google.com/device Then I ran npm to token: YouTube
After waiting for a few minutes, I kept getting the following error message:
your instance configuration
No response
The text was updated successfully, but these errors were encountered: