gpt4 book ai didi

amazon-ec2 - 运行 chrome headless 时节点 channel 消息无效

转载 作者:行者123 更新时间:2023-12-04 22:28:26 24 4
gpt4 key购买 nike

我正在尝试在亚马逊机器上运行 chrome 以便能够在 headless 模式下使用它,但是当我想启动它时它失败了:

[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

关于amazon-ec2 - 运行 chrome headless 时节点 channel 消息无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44919970/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com