Selenium org.seleniumhq.selenium 3.141.59 - org.openqa.selenium.net.UrlChecker$TimeoutException on URI /status

Viewed 35

During the selenium test execution, for some reason, there is a random port checker on URI

/status

and looks like that

org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out waiting for [http://localhost:9638/status]

The Selenium java client is trying with different/random TCP ports.

We are using Selenium Grid and there is one correct node registered and ready to go.

1 Answers

This error message...

org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out waiting for [http://localhost:9638/status]

...implies that there is a issue with the guava version.

Two major reasons for this error are as follows:

  • Presence of multiple versions of guava.
  • Incompatible version of guava.

Solution

A potential solution would be to replace all the existing/previous versions of guava with the latest version. However, the best solution will be to upgrade to the latest Selenium v4.1.0.

Related