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

Error: Failed to launch chrome! #731

Open
nicolalandro opened this issue Oct 3, 2019 · 0 comments
Open

Error: Failed to launch chrome! #731

nicolalandro opened this issue Oct 3, 2019 · 0 comments

Comments

@nicolalandro
Copy link

I run the container with:

docker run -p "9453:3000" hfreire/browser-as-a-service

After I do the curl:

curl 'http://localhost:9453/open?url=https%3A%2F%2Fwww.google.com'

And I see the error on container log:

2019-10-03T07:20:44,033+00:00 - error:  Error: Failed to launch chrome!
Error relocating /usr/lib/chromium/chrome: hb_font_funcs_set_glyph_h_advances_func: symbol not found
Error relocating /usr/lib/chromium/chrome: _ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
Error relocating /usr/lib/chromium/chrome: _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev: symbol not found
Error relocating /usr/lib/chromium/chrome: hb_aat_layout_feature_type_get_selector_infos: symbol not found
Error relocating /usr/lib/chromium/chrome: hb_subset_input_set_drop_hints: symbol not found
Error relocating /usr/lib/chromium/chrome: hb_ot_tags_from_script_and_language: symbol not found
Error relocating /usr/lib/chromium/chrome: hb_subset_input_set_retain_gids: symbol not found
Error relocating /usr/lib/chromium/chrome: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_mRKS3_: symbol not found
Error relocating /usr/lib/chromium/chrome: hb_aat_layout_get_feature_types: symbol not found
Error relocating /usr/lib/chromium/chrome: hb_ot_layout_table_select_script: symbol not found
Error relocating /usr/lib/chromium/chrome: _ZNSt19_Sp_make_shared_tag5_S_eqERKSt9type_info: symbol not found


TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

    at onClose (/home/node/browser-as-a-service/node_modules/puppeteer/lib/Launcher.js:348:14)
    at Interface.helper.addEventListener (/home/node/browser-as-a-service/node_modules/puppeteer/lib/Launcher.js:337:50)
    at Interface.emit (events.js:187:15)
    at Interface.close (readline.js:379:8)
    at Socket.onend (readline.js:157:10)
    at Socket.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1094:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
2019-10-03T07:20:44,034+00:00 - info: 127.0.0.1 - "GET undefined" 500 78 "curl/7.61.1" "-"

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