全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 290|回复: 0
打印 上一主题 下一主题

selenium/standalone-chrome 为什么会502?

[复制链接]
跳转到指定楼层
1#
发表于 2022-11-20 13:02:34 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
用国内腾讯448docker运行 一直502

docker logs 看日志是这样的:

  1. 2022-11-20 04:54:48,496 INFO Included extra file "/etc/supervisor/conf.d/selenium.conf" during parsing2022-11-20 04:54:48,500 INFO RPC interface 'supervisor' initialized
  2. 2022-11-20 04:54:48,501 CRIT Server 'unix_http_server' running without any HTTP authentication checking
  3. 2022-11-20 04:54:48,501 INFO supervisord started with pid 9
  4. 2022-11-20 04:54:49,504 INFO spawned: 'xvfb' with pid 11
  5. 2022-11-20 04:54:49,505 INFO spawned: 'vnc' with pid 12
  6. 2022-11-20 04:54:49,507 INFO spawned: 'novnc' with pid 13
  7. 2022-11-20 04:54:49,509 INFO spawned: 'selenium-standalone' with pid 14
  8. Setting up SE_NODE_GRID_URL...
  9. 2022-11-20 04:54:49,519 INFO success: xvfb entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
  10. 2022-11-20 04:54:49,519 INFO success: vnc entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
  11. 2022-11-20 04:54:49,519 INFO success: novnc entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
  12. 2022-11-20 04:54:49,519 INFO success: selenium-standalone entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
  13. Selenium Grid Standalone configuration:
  14. [network]
  15. relax-checks = true

  16. [node]
  17. session-timeout = "300"
  18. override-max-sessions = false
  19. detect-drivers = false
  20. drain-after-session-count = 0
  21. max-sessions = 10

  22. [[node.driver-configuration]]
  23. display-name = "chrome"
  24. stereotype = '{"browserName": "chrome", "browserVersion": "107.0", "platformName": "Linux"}'
  25. max-sessions = 10

  26. Starting Selenium Grid Standalone...
  27. Tracing is disabled
  28. 04:54:50.460 INFO [LoggingOptions.configureLogEncoding] - Using the system default encoding
  29. 04:54:50.466 INFO [OpenTelemetryTracer.createTracer] - Using OpenTelemetry for tracing
  30. 04:54:51.408 INFO [NodeOptions.getSessionFactories] - Detected 4 available processors
  31. 04:54:51.478 INFO [NodeOptions.report] - Adding chrome for {"browserVersion": "107.0","se:noVncPort": 7900,"browserName": "chrome","platformName": "LINUX","se:vncEnabled": true} 4 times
  32. 04:54:51.520 INFO [Node.<init>] - Binding additional locator mechanisms: id, relative, name
  33. 04:54:51.542 INFO [GridModel.setAvailability] - Switching Node 89237a3f-712e-42b5-b396-aa69274ccdf9 (uri: http://172.17.0.2:4444) from DOWN to UP
  34. 04:54:51.543 INFO [LocalDistributor.add] - Added node 89237a3f-712e-42b5-b396-aa69274ccdf9 at http://172.17.0.2:4444. Health check every 120s
  35. 04:54:51.754 INFO [Standalone.execute] - Started Selenium Standalone 4.6.0 (revision 79f1c02ae20): http://172.17.0.2:4444
复制代码


有大佬知道问题原因吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-12-24 08:21 , Processed in 0.098349 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表