Error: Failed to launch chrome!
nicolalandro opened this issue · comments
nicolalandro commented
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" "-"