Closed wenguan0927 closed 1 week ago
are you sure cookies.json
are in the right location? (they should be in the same folder as where you run docker compose up -d
)
also, have you followed the "how to configure an instance for youtube" tutorial?
are you sure
cookies.json
are in the right location? (they should be in the same folder as where you rundocker compose up -d
)also, have you followed the "how to configure an instance for youtube" tutorial?
Yes, I put the 'cookies.json' in the same folder of docker-compose.yml, and restart docker instance, I test two different cookies.json token format of blow , but got the error 'error.api.fetch.critical'. The token works when I use it to request Youtube channel infomation by node.js script. { "youtube_oauth": [ "access_token=xxxxxxxxxxxxxxxx; refresh_token=xxxxxxxxxxxxxxxxxxx; scope=https://www.googleapis.com/auth/youtube.readonly; token_type=Bearer; expiry_date=1731170213480" ] }
{ "youtube_oauth": [ "{\"access_token\":\"xxxxxxxxxxxxxxxxxxxxx\",\"scope\":\"https://www.googleapis.com/auth/youtube.readonly\",\"token_type\":\"Bearer\",\"expiry_date\":1731168717606,\"refresh_token\":\"xxxxxxxxxxxxxxxxxxx"}" ] }
does cobalt print a message in docker logs that cookies are loaded?
Problem is solved! first I follow the "how to configure an instance for youtube" tutorial, but got timeout exception even if I use VPN to visit internet of USA, then I use another way by search in google to generate token, but it's not works. finally I seek help of a friend in USA to generate token follow the tutorial, after got the token and replace, it's works! If follow "how to configure an instance for youtube" tutorial step 4, it can be time out in China region even if you use VPN.
problem description
I have successfully verified that the YouTube token parameters work independently and can retrieve YouTube Channel data without any issues. However, after configuring the token parameters in cookies.json and uncomment cookies.json setting in codocker-compose.yml, and restarting the Docker application, any request for YouTube video conversion returns the following error: error.api.youtube.login.
your instance configuration