selenium/standalone-chrome 为什么会502?

91次阅读

共计 2299 个字符,预计需要花费 6 分钟才能阅读完成。

用国内腾讯 448docker 运行 一直 502
docker logs 看日志是这样的:
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
2022-11-20 04:54:48,501 CRIT Server ‘unix_http_server’ running without any HTTP authentication checking
2022-11-20 04:54:48,501 INFO supervisord started with pid 9
2022-11-20 04:54:49,504 INFO spawned: ‘xvfb’ with pid 11
2022-11-20 04:54:49,505 INFO spawned: ‘vnc’ with pid 12
2022-11-20 04:54:49,507 INFO spawned: ‘novnc’ with pid 13
2022-11-20 04:54:49,509 INFO spawned: ‘selenium-standalone’ with pid 14
Setting up SE_NODE_GRID_URL…
2022-11-20 04:54:49,519 INFO success: xvfb entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-11-20 04:54:49,519 INFO success: vnc entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-11-20 04:54:49,519 INFO success: novnc entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2022-11-20 04:54:49,519 INFO success: selenium-standalone entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
Selenium Grid Standalone configuration:
[network]
relax-checks = true
[node]
session-timeout = "300"
override-max-sessions = false
detect-drivers = false
drain-after-session-count = 0
max-sessions = 10
[[node.driver-configuration]]
display-name = "chrome"
stereotype = ‘{"browserName": "chrome", "browserVersion": "107.0", "platformName": "Linux"}’
max-sessions = 10
Starting Selenium Grid Standalone…
Tracing is disabled
04:54:50.460 INFO [LoggingOptions.configureLogEncoding] – Using the system default encoding
04:54:50.466 INFO [OpenTelemetryTracer.createTracer] – Using OpenTelemetry for tracing
04:54:51.408 INFO [NodeOptions.getSessionFactories] – Detected 4 available processors
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
04:54:51.520 INFO [Node.<init>] – Binding additional locator mechanisms: id, relative, name
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
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
04:54:51.754 INFO [Standalone.execute] – Started Selenium Standalone 4.6.0 (revision 79f1c02ae20): http://172.17.0.2:4444 复制代码
有大佬知道问题原因吗

正文完
 0