Server Info:
CUP: Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz
MemTotal: 1016396 kB
OS:CentOS Linux release 7.3.1611 (Core)
Node:v8.4.0
when I try to run my app in this server, there have an error throw:
(node:29208) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Failed to connect to chrome!
I want run Chromium which download by puppeteer manual,there have some log output:
robin@eve ~/project/memostickyserver/node_modules/puppeteer/.local-chromium/linux-494755/chrome-linux (master*) $ chrome
robin@eve ~/project/memostickyserver/node_modules/puppeteer/.local-chromium/linux-494755/chrome-linux (master*) $ ./chrome
[28268:28268:0819/223159.486750:FATAL:zygote_host_impl_linux.cc(123)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
#0 0x7fd4bc6d6657 base::debug::StackTrace::StackTrace()
#1 0x7fd4bc6ea311 logging::LogMessage::~LogMessage()
#2 0x7fd4bb8db1f1 content::ZygoteHostImpl::Init()
#3 0x7fd4bb575da0 content::BrowserMainLoop::EarlyInitialization()
#4 0x7fd4bb57c4c3 content::BrowserMainRunnerImpl::Initialize()
#5 0x7fd4bb575532 content::BrowserMain()
#6 0x7fd4bc3e17fd content::ContentMainRunnerImpl::Run()
#7 0x7fd4bc3e9314 service_manager::Main()
#8 0x7fd4bc3e0462 content::ContentMain()
#9 0x7fd4bb020b74 ChromeMain
#10 0x7fd4b3da2b35 __libc_start_main
#11 0x7fd4bb0209d0
Received signal 6
#0 0x7fd4bc6d6657 base::debug::StackTrace::StackTrace()
#1 0x7fd4bc6d61cf base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7fd4ba04d370
#3 0x7fd4b3db61d7 __GI_raise
#4 0x7fd4b3db78c8 __GI_abort
#5 0x7fd4bc6d5202 base::debug::BreakDebugger()
#6 0x7fd4bc6ea7cc logging::LogMessage::~LogMessage()
#7 0x7fd4bb8db1f1 content::ZygoteHostImpl::Init()
#8 0x7fd4bb575da0 content::BrowserMainLoop::EarlyInitialization()
#9 0x7fd4bb57c4c3 content::BrowserMainRunnerImpl::Initialize()
#10 0x7fd4bb575532 content::BrowserMain()
#11 0x7fd4bc3e17fd content::ContentMainRunnerImpl::Run()
#12 0x7fd4bc3e9314 service_manager::Main()
#13 0x7fd4bc3e0462 content::ContentMain()
#14 0x7fd4bb020b74 ChromeMain
#15 0x7fd4b3da2b35 __libc_start_main
#16 0x7fd4bb0209d0
r8: 00007fff21b42080 r9: 0000000000000395 r10: 0000000000000008 r11: 0000000000000206
r12: 00007fff21b424e0 r13: 000000000000016d r14: 00007fff21b424d8 r15: 00007fff21b424d0
di: 0000000000006e6c si: 0000000000006e6c bp: 00007fff21b42080 bx: 00007fff21b42080
dx: 0000000000000006 ax: 0000000000000000 cx: ffffffffffffffff sp: 00007fff21b41ed8
ip: 00007fd4b3db61d7 efl: 0000000000000206 cgf: 0000000000000033 erf: 0000000000000000
trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
Calling _exit(1). Core file will not be generated.
robin@eve ~/project/memostickyserver/node_modules/puppeteer/.local-chromium/linux-494755/chrome-linux (master*) $ ./chrome --no-sandbox
[0819/223234.158902:ERROR:nacl_helper_linux.cc(310)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly
pls help,how to fix this ?
Server Info:
CUP: Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz
MemTotal: 1016396 kB
OS:CentOS Linux release 7.3.1611 (Core)
Node:v8.4.0
when I try to run my app in this server, there have an error throw:
I want run Chromium which download by puppeteer manual,there have some log output:
pls help,how to fix this ?