全球主机交流论坛

标题: selenium/standalone-chrome 为什么会502? [打印本页]

作者: yushui    时间: 2022-11-20 13:02
标题: selenium/standalone-chrome 为什么会502?
用国内腾讯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
复制代码


有大佬知道问题原因吗




欢迎光临 全球主机交流论坛 (https://hostloc-workers.ikyomon.com/) Powered by Discuz! X3.4