当前位置: 首页 > wzjs >正文

网站404页面查询网站服务器ip查询

网站404页面查询,网站服务器ip查询,龙泉公路建设投资有限公司网站,17做网站官网背景 业务应用需要将系统从centos切换ubuntu,其中A应用在准备好相应的ubuntu镜像后,在mac本机启容器,执行测试脚本报错 "Error: Protocol error (Target.setDiscoverTargets): Target closed." 排查 1.看Chromium 错误日志 添加dumpio: true,这会把 Chromium 启动…

背景

业务应用需要将系统从centos切换ubuntu,其中A应用在准备好相应的ubuntu镜像后,在mac本机启容器,执行测试脚本报错

"Error: Protocol error (Target.setDiscoverTargets): Target closed."

排查

1.看Chromium 错误日志

   添加dumpio: true,这会把 Chromium 启动过程的 stderr 输出都打到控制台

const browser = await puppeteer.launch({headless: true,args: [...],dumpio: true
});

2.执行后,关键报错如下

[0612/162451.208800:FATAL:zygote_main_linux.cc(163)] Check failed: sandbox::ThreadHelpers::IsSingleThreaded().
[0612/162451.595965:ERROR:file_path_watcher_linux.cc(318)] inotify_init() failed: Function not implemented (38)
qemu: unknown option 'type=gpu-process'DevTools listening on ws://127.0.0.1:33643/devtools/browser/cab2bfec-926e-4e7b-b53e-46157b3a6032
[0612/162451.770694:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 1 time(s)
qemu: unknown option 'type=gpu-process'
[0612/162451.831737:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 2 time(s)
qemu: unknown option 'type=gpu-process'
[0612/162451.861199:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 3 time(s)
qemu: unknown option 'type=gpu-process'
[0612/162451.874366:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 4 time(s)
qemu: unknown option 'type=gpu-process'
[0612/162451.884288:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 5 time(s)
qemu: unknown option 'type=gpu-process'
[0612/162451.893254:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 6 time(s)
qemu: unknown option 'type=gpu-process'
[0612/162451.908820:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 7 time(s)
qemu: unknown option 'type=gpu-process'
[0612/162451.936704:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 8 time(s)
qemu: unknown option 'type=gpu-process'
[0612/162451.995340:WARNING:gpu_process_host.cc(1206)] The GPU process has crashed 9 time(s)
[0612/162451.995588:FATAL:gpu_data_manager_impl_private.cc(918)] The display compositor is frequently crashing. Goodbye.(node:499) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Protocol error (Target.setDiscoverTargets): Target closed.
(node:499) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

3.根据报错关键字搜索查到类似issue(https://github.com/puppeteer/puppeteer/issues/7746),提供的解决方案有两种

方案测试结果引申
1Docker desktop启用beta功能:'Use Rosetta for x86/amd64 emulation on Apple Silicon' mac机系统版本不满足,无法测试

1.Rosetta 2介绍

2.ARM 和 x86_64是什么关系
 

2chromium args参数增加--single-process

1.经测试,该方案可行

2.--no-sandbox参数也必须

http://www.dtcms.com/wzjs/347064.html

相关文章:

  • 用服务器做网站空间凤凰网台湾资讯
  • html网站开发工具下载站长seo推广
  • 昆明移动端网站建设今日全国疫情一览表
  • 网页设计与制作做网站电商数据查询平台
  • 1.1做网站的目的网络推广渠道和方式
  • 网站建设人员招聘如何网络媒体推广
  • 无锡网站建设原则seo平台是什么意思
  • 网站公司文化怎么做制作网站的基本步骤
  • 网站如何收费网站关键词如何优化上首页
  • 上饶哪里可以学网站建设游戏推广文案
  • 网站开发根目录建在哪网站seo技术教程
  • 教育机构网站制作模板优化快速排名公司
  • 网站支付页面设计西安seo网络推广
  • wordpress处理大数据东莞网络优化哪家好
  • 小型企业网站模板福清市百度seo
  • 周村有做网站广告的吗网站搜什么关键词好
  • 威海做网站推广的企业阿里指数官方网站
  • 网站优惠券怎么做的健康码防疫核验一体机
  • 网站建设费用支出方案游戏推广赚钱
  • 用网站做自我介绍ppt湖南广告优化
  • 做招聘网站需要什么seo外链发布平台有哪些
  • 网站漏洞以及找后台入口 等功能.成都seo论坛
  • 定陶网站建设怎样注册自己网站的域名
  • 做网站备案要处省的电话号码谷歌网站
  • 人才网站建设海外自媒体推广
  • 中小型网站建设与管理设计总结知名的搜索引擎优化
  • 网站如何做关键词排名seo工具下载
  • 如何做电影网站赚钱吗seo好学吗
  • 昌吉住房和城乡建设局网站域名查询站长之家
  • 网站建设中怎么设置默认页策划品牌全案