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

Failed to Launch Chrome on https://try-puppeteer.appspot.com/ #21

Closed
idkjs opened this issue Feb 10, 2018 · 1 comment
Closed

Failed to Launch Chrome on https://try-puppeteer.appspot.com/ #21

idkjs opened this issue Feb 10, 2018 · 1 comment

Comments

@idkjs
Copy link

idkjs commented Feb 10, 2018

On Canary Build

Google Chrome is up to date
Version 66.0.3344.0 (Official Build) canary (64-bit)

I get same error on Official Build

Google Chrome is up to date
Version 66.0.3344.0 (Official Build) canary (64-bit)

Getting this error in log section:

Try Puppeteer
v1.0.0

google.com
1
const browser = await puppeteer.launch();
2
​
3
const page = await browser.newPage();
4
await page.goto('http://www.google.com');
5
​
6
console.log(await page.content());
7
await page.screenshot({path: 'screenshot.png'});
8
​
9
await browser.close();
10
​
  
 
Error running your code. Error: Failed to launch chrome!
[0210/102207.499068:ERROR:platform_thread_posix.cc(123)] pthread_create: Resource temporarily unavailable (11)
[0210/102207.499588:ERROR:platform_thread_posix.cc(123)] pthread_create: Resource temporarily unavailable (11)
[0210/102207.499629:ERROR:platform_thread_posix.cc(123)] pthread_create: Resource temporarily unavailable (11)
[0210/102207.499653:ERROR:platform_thread_posix.cc(123)] pthread_create: Resource temporarily unavailable (11)
[0210/102207.499671:ERROR:platform_thread_posix.cc(123)] pthread_create: Resource temporarily unavailable (11)
[0210/102207.499690:ERROR:platform_thread_posix.cc(123)] pthread_create: Resource temporarily unavailable (11)
[0210/102207.499709:ERROR:platform_thread_posix.cc(123)] pthread_create: Resource temporarily unavailable (11)
[0210/102207.499726:FATAL:browser_main_loop.cc(1136)] Failed to start the browser thread: id == 6
#0 0x564e021fa2ec base::debug::StackTrace::StackTrace()
#1 0x564e0221173c logging::LogMessage::~LogMessage()
#2 0x564e00f12353 content::BrowserMainLoop::CreateThreads()
#3 0x564e0124a8e7 content::StartupTaskRunner::RunAllTasksNow()
#4 0x564e00f119fc content::BrowserMainLoop::CreateStartupTasks()
#5 0x564e00f162b8 content::BrowserMainRunnerImpl::Initialize()
#6 0x564e060e2059 headless::HeadlessContentMainDelegate::RunProcess()
#7 0x564e01f36f60 content::RunNamedProcessTypeMain()
#8 0x564e01f37975 content::ContentMainRunnerImpl::Run()
#9 0x564e01f40c5f service_manager::Main()
#10 0x564e01f36481 content::ContentMain()
#11 0x564e060e11fa headless::(anonymous namespace)::RunContentMain()
#12 0x564e060e126e headless::HeadlessBrowserMain()
#13 0x564e01f3da6a headless::HeadlessShellMain()
#14 0x564e007c31c5 ChromeMain
#15 0x7f42943a8b45 __libc_start_main
#16 0x564e007c302a _start

Received signal 6
#0 0x564e021fa2ec base::debug::StackTrace::StackTrace()
#1 0x564e021f9e51 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7f429a223890 <unknown>
#3 0x7f42943bc067 gsignal
#4 0x7f42943bd448 abort
#5 0x564e021f8aa5 base::debug::BreakDebugger()
#6 0x564e02211b3f logging::LogMessage::~LogMessage()
#7 0x564e00f12353 content::BrowserMainLoop::CreateThreads()
#8 0x564e0124a8e7 content::StartupTaskRunner::RunAllTasksNow()
#9 0x564e00f119fc content::BrowserMainLoop::CreateStartupTasks()
#10 0x564e00f162b8 content::BrowserMainRunnerImpl::Initialize()
#11 0x564e060e2059 headless::HeadlessContentMainDelegate::RunProcess()
#12 0x564e01f36f60 content::RunNamedProcessTypeMain()
#13 0x564e01f37975 content::ContentMainRunnerImpl::Run()
#14 0x564e01f40c5f service_manager::Main()
#15 0x564e01f36481 content::ContentMain()
#16 0x564e060e11fa headless::(anonymous namespace)::RunContentMain()
#17 0x564e060e126e headless::HeadlessBrowserMain()
#18 0x564e01f3da6a headless::HeadlessShellMain()
#19 0x564e007c31c5 ChromeMain
#20 0x7f42943a8b45 __libc_start_main
#21 0x564e007c302a _start
  r8: ffffb302ba74cd30  r9: ffffb302ba74cd20 r10: 0000000000000008 r11: 0000000000000202
 r12: 00007ffe68213798 r13: 00007ffe68213788 r14: 00007ffe68213790 r15: 00007ffe682132f0
  di: 00000000000069c8  si: 00000000000069c8  bp: 00007ffe68213280  bx: 00007ffe682132f0
  dx: 0000000000000006  ax: 0000000000000000  cx: 00007f42943bc067  sp: 00007ffe68213148
  ip: 00007f42943bc067 efl: 0000000000000202 cgf: 002b000000000033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.


TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
@idkjs idkjs changed the title Failed to Launch Chrome Failed to Launch Chrome on https://try-puppeteer.appspot.com/ Feb 10, 2018
@ebidel
Copy link
Owner

ebidel commented Feb 10, 2018

Seems to be back now. Sometimes chrome has issues with starting up on the vm.

@ebidel ebidel closed this as completed Feb 10, 2018
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

2 participants