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

timeouts / retries for downloadvideo #49

Open
northamerican opened this issue Aug 23, 2024 · 1 comment
Open

timeouts / retries for downloadvideo #49

northamerican opened this issue Aug 23, 2024 · 1 comment

Comments

@northamerican
Copy link
Owner

northamerican commented Aug 23, 2024

make retry timeouts and catch errors for download video method when it stalls for some reason

@northamerican northamerican changed the title timeouts for downloadvideo timeouts / retries for downloadvideo Sep 10, 2024
@northamerican
Copy link
Owner Author

ex that just stalled the app

Error: Invalid Credentials
    at Gaxios._request (/Users/home/Documents/viz/node_modules/gaxios/src/gaxios.ts:146:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async OAuth2Client.requestAsync (/Users/home/Documents/viz/node_modules/google-auth-library/build/src/auth/oauth2client.js:379:18)
    at YouTubePlayer.getPlaylist (/Users/home/Documents/viz/src/server/players/youtube.ts:133:22)
    at getNewTracks (/Users/home/Documents/viz/src/components/Queue.telefunc.ts:118:20)
    at async Promise.all (index 0)
    at onUpdateQueueFromPlaylists (/Users/home/Documents/viz/src/components/Queue.telefunc.ts:150:21)
Error: request to https://youtube.googleapis.com/youtube/v3/playlists?id=PLN9q8W1Lo8BpZxiRduwfScehAVzEhILH6&part=snippet failed, reason: getaddrinfo ENOTFOUND youtube.googleapis.com
    at Gaxios._request (/Users/home/Documents/viz/node_modules/gaxios/src/gaxios.ts:157:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async OAuth2Client.requestAsync (/Users/home/Documents/viz/node_modules/google-auth-library/build/src/auth/oauth2client.js:379:18)
    at YouTubePlayer.getPlaylist (/Users/home/Documents/viz/src/server/players/youtube.ts:133:22)
    at getNewTracks (/Users/home/Documents/viz/src/components/Queue.telefunc.ts:118:20)
    at async Promise.all (index 0)
    at onUpdateQueueFromPlaylists (/Users/home/Documents/viz/src/components/Queue.telefunc.ts:150:21)

@northamerican northamerican pinned this issue Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant