运行 chrome headless 时节点通道消息无效
Invalid node channel message when running chrome headless
我正在尝试 运行 chrome 在亚马逊机器上能够以无头模式使用它,但是当我想启动它时它失败了 :
[root@ip-*** dev]# google-chrome --version
Google Chrome 59.0.3071.115
[root@ip-*** ec2-user]# google-chrome --headless --disable-gpu --remote-debugging-port=9222 https://www.chromestatus.com
[0705/030438.715171:WARNING:audio_manager.cc(293)] Multiple instances of AudioManager detected
[0705/030438.715202:WARNING:audio_manager.cc(254)] Multiple instances of AudioManager detected
Trace/breakpoint trap
[root@ip-*** ec2-user]# [0100/000000.732486:ERROR:broker_posix.cc(41)] Invalid node channel message
有人已经在 ec2 上 运行 chrome 成功了吗?
安装不稳定版本
yum install google-chrome-unstable
安装字体
yum install \
ipa-gothic-fonts \
xorg-x11-fonts-100dpi \
xorg-x11-fonts-75dpi \
xorg-x11-utils \
xorg-x11-fonts-cyrillic \
xorg-x11-fonts-Type1 \
xorg-x11-fonts-misc -y
我正在尝试 运行 chrome 在亚马逊机器上能够以无头模式使用它,但是当我想启动它时它失败了 :
[root@ip-*** dev]# google-chrome --version
Google Chrome 59.0.3071.115
[root@ip-*** ec2-user]# google-chrome --headless --disable-gpu --remote-debugging-port=9222 https://www.chromestatus.com
[0705/030438.715171:WARNING:audio_manager.cc(293)] Multiple instances of AudioManager detected
[0705/030438.715202:WARNING:audio_manager.cc(254)] Multiple instances of AudioManager detected
Trace/breakpoint trap
[root@ip-*** ec2-user]# [0100/000000.732486:ERROR:broker_posix.cc(41)] Invalid node channel message
有人已经在 ec2 上 运行 chrome 成功了吗?
安装不稳定版本
yum install google-chrome-unstable
安装字体
yum install \
ipa-gothic-fonts \
xorg-x11-fonts-100dpi \
xorg-x11-fonts-75dpi \
xorg-x11-utils \
xorg-x11-fonts-cyrillic \
xorg-x11-fonts-Type1 \
xorg-x11-fonts-misc -y