Schroedinger-Hat/youtube-to-anchorfm

timeout after login before file select in pupeteer

Closed this issue · 4 comments

hi,
This is a great way to automate the uploading of audio files.
It was working fine for couple of days, now it is failing to upload episode into anchor.

Launching puppeteer
Logged in
TimeoutError: waiting for selector input[type=file] failed: timeout 30000ms exceeded
at new WaitTask (/github/workspace/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:505:34)
at DOMWorld.waitForSelectorInPage (/github/workspace/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:416:26)
at Object.internalHandler.waitFor (/github/workspace/node_modules/puppeteer/lib/cjs/puppeteer/common/QueryHandler.js:31:77)
at DOMWorld.waitForSelector (/github/workspace/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:312:29)
at Frame.waitForSelector (/github/workspace/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:842:51)
at Page.waitForSelector (/github/workspace/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:1285:33)
at /github/workspace/index.js:71:32
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Error: The operation was canceled.

@arumugam6 Can you check if this still happen when using the latest version ?

Wabri commented

@arumugam6 We will close this issue after 30 days with no activity

That happened to me and it's probably caused by a secret configured on the wrong place in github. Check this link on how to properly configure secrets for actions: https://stackoverflow.com/questions/67964110/how-to-access-secrets-when-using-flutter-web-with-github-actions/67998780#67998780

Wabri commented

I close for inactivity, thanks @weltonrodrigo