-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Win10 x64 always throws timeout #3186
Comments
Is this problem gonna be addressed ? It is on-going it appears |
Got the same error. Chromium is launched with blank page, and nothing happened until timeout error emitted after 30 seconds.And then, chromium will be auto closed. node version: demo script:
error message:
|
I have same problem.. |
please fix this issue.. it's a pain for me as well |
I have debug the launcher.js today, found that timeout was happened on const rl = readline.createInterface({ input: chromeProcess.stderr });
let stderr = '';
const listeners = [
helper.addEventListener(rl, 'line', onLine),
helper.addEventListener(rl, 'close', () => onClose()),
helper.addEventListener(chromeProcess, 'exit', () => onClose()),
helper.addEventListener(chromeProcess, 'error', error => onClose(error))
];
const timeoutId = timeout ? setTimeout(onTimeout, timeout) : 0; // timeout here for onLine never called Could you please deep check here why edit:
|
+1 blocker for us as well |
+1 I'm also facing the same problem |
+1 |
+1 |
I found this issue today #3681 ,and it fixed the timeout issue. here is my test code which works fine. I dont't know why but it just work.: const puppeteer = require('puppeteer')
;(async () => {
try {
const browser = await puppeteer.launch({
ignoreDefaultArgs: ['--disable-extensions'], // this line makes pptr work
})
const page = await browser.newPage()
await page.goto('https://www.baidu.com')
await page.screenshot({ path: 'baidu.png' })
await browser.close()
} catch (e) {
console.log(e.message)
} |
I found several similar issues for timeout on win10x64, maybe it should be written in |
Has this issue been resolved in the latest release? The same issue is still permitting for me. Thanks |
@ThomasMcGarry101 check out our windows troubleshooting. |
I have the same issue on Windows 10. Adding ignoreDefaultArgs: ['--disable-extensions'], from the link above does not solve the issue. Node v10.16.3 |
Hey guys, i'm stucked into a problem.
const browser = await puppeteer.launch({ headless: false });
Chromium open but, always throws timeout exception:
TimeoutError: Timed out after 120000 ms while trying to connect to Chrome! The only Chrome revision guaranteed to work is r579032 at Timeout.onTimeout (C:\git\view-render\node_modules\puppeteer\lib\Launcher.js:310:14) at ontimeout (timers.js:482:11) at tryOnTimeout (timers.js:317:5) at Timer.listOnTimeout (timers.js:277:5)
The text was updated successfully, but these errors were encountered: