Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read timed out exception occurred when Run selenium-grid-extras as following "Setup Instructions" #439

Open
woxiangbo opened this issue Jun 27, 2020 · 0 comments

Comments

@woxiangbo
Copy link

woxiangbo commented Jun 27, 2020

Read timed out exception occurred when Run selenium-grid-extras as following "Setup Instructions", following is my progress:
not sure what is the problem, could you give some sugguest.

`D:>java -jar SeleniumGridExtras-2.0.4-SNAPSHOT-jar-with-dependencies.jar

We noticed this is a first time running, we will ask some configuration settings

What is the default Role of this computer? (1 - node | 2 - hub | 3 - hub & node)
Default Value: 1
2
'2' was set as your value

What is the PORT for Selenium Grid Extras?
Default Value: 3000

'3000' was set as your value

What is the HOST for the Selenium Grid Hub?
Default Value: 127.0.0.1

'127.0.0.1' was set as your value

What is the PORT for the Selenium Grid Hub?
Default Value: 4444

'4444' was set as your value

Maximum days to keep log file
Default Value: 10

'10' was set as your value

Would you like this user to automatically log in after restart (1-yes/0-no)
Default Value: 1

'1' was set as your value

WARNING: Setting default username requires elevated privileges. Make sure that this script was started with 'Run as Administrator' option.
It is safe to kill this process and restart setup with Administrative privileges

Username DOMAIN (If not using ActiveDirectory leave blank to use current computer)
Default Value: DESKTOP-03BGC19

'DESKTOP-03BGC19' was set as your value

Username to auto logon with
Default Value: jachen

'jachen' was set as your value

Enter user password

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Setting default logon user failed. Is the script running with elevated privileges?
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: Selenium 3.7.1 is the oldest compatible version with Selenium-Grid-Extras 2.x. Downgrade to Selenium-Grid-Extras 1.x if you would like to use an older version of webdriver.

Would you like WebDriver, IEDriver, ChromeDriver and GeckoDriver to auto update (1-yes/0-no)
Default Value: 1
0
'0' was set as your value
org.dom4j.DocumentException: Read timed out Nested exception: Read timed out
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:291)
at com.groupon.seleniumgridextras.downloader.webdriverreleasemanager.WebDriverReleaseManager.(WebDriverReleaseManager.java:58)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverReleaseManager(RuntimeConfig.java:90)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager(RuntimeConfig.java:77)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAutoUpdater(FirstTimeRunConfig.java:279)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseConfig(FirstTimeRunConfig.java:101)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(Config.java:250)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfig.java:139)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridExtras.java:70)
Nested exception:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at sun.security.ssl.InputRecord.readFully(Unknown Source)
at sun.security.ssl.InputRecord.read(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:291)
at com.groupon.seleniumgridextras.downloader.webdriverreleasemanager.WebDriverReleaseManager.(WebDriverReleaseManager.java:58)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverReleaseManager(RuntimeConfig.java:90)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager(RuntimeConfig.java:77)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAutoUpdater(FirstTimeRunConfig.java:279)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseConfig(FirstTimeRunConfig.java:101)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(Config.java:250)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfig.java:139)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridExtras.java:70)
Nested exception: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at sun.security.ssl.InputRecord.readFully(Unknown Source)
at sun.security.ssl.InputRecord.read(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.io.SAXReader.read(SAXReader.java:291)
at com.groupon.seleniumgridextras.downloader.webdriverreleasemanager.WebDriverReleaseManager.(WebDriverReleaseManager.java:58)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverReleaseManager(RuntimeConfig.java:90)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager(RuntimeConfig.java:77)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAutoUpdater(FirstTimeRunConfig.java:279)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseConfig(FirstTimeRunConfig.java:101)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(Config.java:250)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfig.java:139)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridExtras.java:70)
Exception in thread "main" java.lang.NullPointerException
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAutoUpdater(FirstTimeRunConfig.java:280)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseConfig(FirstTimeRunConfig.java:101)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(Config.java:250)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfig.java:139)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridExtras.java:70)

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant