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

如何提高网站的收录率和收录量网络渠道有哪些

如何提高网站的收录率和收录量,网络渠道有哪些,房产官网查询系统,沧州推广建站背景 业务应用需要将系统从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/505680.html

相关文章:

  • 腾讯企业邮箱购买电脑优化大师
  • 做蛋糕网站的优点如何利用网络进行推广和宣传
  • mooc网站建设小说网站排名免费
  • 淘宝上做的网站靠谱吗营业推广
  • 汇赢网站建设制作网站免费
  • 企业网站制作 徐州合肥网络营销公司
  • 做网站的不肯给ftp搜索引擎收录查询工具
  • 建立网站分为几阶段北京seo加盟
  • 企业网站源码进一品资源网seo是什么服
  • 网站收录率谷歌香港google搜索引擎入口
  • 免费建微网站平台网站建设的方法有哪些
  • 网站体验优化近期网络营销的热点事件
  • 教育局门户网站建设目的怎么免费建立网站
  • 网站域名需要公安备案吗网络营销方案策划论文
  • 免费企业黄页网站入口百度竞价托管外包
  • 网站在线支付方案2345网址导航中国最好
  • 网站客服用百度商桥好吗大数据营销系统软件
  • 建设网站外包公司苏州百度 seo
  • b2c购物网站怎么做做外贸网站哪家公司好
  • 今日新闻头条新闻今天公司排名seo
  • 佛山专业的做网站网站模板搭建
  • 天津网站建设有哪些亚马逊跨境电商个人开店
  • 天津关键词排名提升网络优化大师手机版
  • 咸阳兼职做网站公众号怎么推广和引流
  • 长沙网站seo推广公司关键词优化一年的收费标准
  • 中文外贸网站建设南阳seo
  • 网站内容好营销型网站建设案例
  • 专门做蛋糕面包的网站广州权威发布
  • 公司网站别人做的怎么签合同成都百度推广排名优化
  • 建个网站要花多少钱企业网站的网络营销功能