Selenium节点未回复/ status HTTP请求

时间:2019-07-26 12:05:33

标签: selenium selenium-grid selenium-hub

所以我有一个硒集线器和一些节点。 ESXi上的两个Windows 10 VM(AB)。

B是从A克隆的,因此它们在功能上是相同的 IP和主机名以外的配置。 A有一个节点,可以正常工作。 B有一个节点,但集线器无法获取其状态, 所以我首先使用了固定端口,然后重新启动节点 但是我无法通过http://win10-b:16050/status来获取状态。

我允许Java通过防火墙访问,甚至被禁用 这两个防火墙(集线器和节点)都短暂地无济于事。

这是节点:

C:/>%JAVA_HOME%\bin\java -jar selenium-server-standalone-3.141.59.jar -role node -port 16050 -host %USERDOMAIN% -hub http://win-hub:4444/grid/register -browser browserName=chrome,maxInstances=3,platform=WINDOWS

13:47:20.850 INFO [GridLauncherV3.parse] - Selenium server version: 3.141.59, revision: e82be7d358
13:47:21.024 INFO [GridLauncherV3.lambda$buildLaunchers$7] - Launching a Selenium Grid node on port 16050
2019-07-26 13:47:21.605:INFO::main: Logging initialized @1140ms to org.seleniumhq.jetty9.util.log.StdErrLog
13:47:22.023 INFO [WebDriverServlet.<init>] - Initialising WebDriverServlet
13:47:32.168 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 16050
13:47:32.169 INFO [GridLauncherV3.lambda$buildLaunchers$7] - Selenium Grid node is up and ready to register to the hub
13:47:32.229 INFO [SelfRegisteringRemote$1.run] - Starting auto registration thread. Will try to register every 5000 ms.
13:47:32.860 INFO [SelfRegisteringRemote.registerToHub] - Registering the node to the hub: http://win-hub:4444/grid/register
13:47:32.986 INFO [SelfRegisteringRemote.registerToHub] - The node is registered to the hub and ready to use

这是集线器,拼命尝试保持连接:

13:56:07.821 INFO [DefaultGridRegistry.add] - Registered a node http://win-b:16050
13:56:19.854 INFO [DefaultRemoteProxy.onEvent] - Marking the node http://win-b:16050 as down: cannot reach the node for 2 tries
13:57:37.878 INFO [DefaultRemoteProxy.onEvent] - Unregistering the node http://win-b:16050 because it's been down for 78024 milliseconds
13:57:37.883 WARN [DefaultGridRegistry.removeIfPresent] - Cleaning up stale test sessions on the unregistered node http://win-b:16050

任何提示都暗示我可能会从总共10个节点中丢失什么,这是唯一有问题的节点(尽管A以外的其他节点是Windows 7)。

0 个答案:

没有答案