1

所以我有一个硒集线器和一些节点。ESXi 上的两个 Windows 10 虚拟机(A和)。B

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 个节点,这是唯一一个有问题的节点(不过,除了AWindows 7 之外的其他节点)。

4

0 回答 0