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

Can't get any of the latest builds to startup? #130

Open
cktech1me opened this Issue Jun 19, 2015 · 23 comments

Comments

Projects
None yet
7 participants
@cktech1me

cktech1me commented Jun 19, 2015

After 1.7.1 I'm seeing (This is on Windows 7 x64, Windows 2012 R2 x64 and with Java 1.7 and 1.8)

Thoughts?

What is the default Role of this computer? (1 - node | 2 - hub | 3 - hub & no

Default Value: 1
2
'2' 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 WebDriver, IEDriver and ChromeDriver to auto update (1-yes/0-n
Default Value: 1

'1' was set as your value
org.dom4j.DocumentException: sun.security.validator.ValidatorException: PKIX
h building failed: sun.security.provider.certpath.SunCertPathBuilderException
nable to find valid certification path to requested target Nested exception:
.security.validator.ValidatorException: PKIX path building failed: sun.securi
provider.certpath.SunCertPathBuilderException: unable to find valid certifica
n path to requested target
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:291)
at com.groupon.seleniumgridextras.downloader.webdriverreleasemanager.
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverR
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseMana
(RuntimeConfig.java:73)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriver
oUpdater(FirstTimeRunConfig.java:261)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customise
fig(FirstTimeRunConfig.java:99)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInp
Config.java:233)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeCo
g.java:133)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGri
tras.java:72)
Nested exception:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorExceptio
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE
ption: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Sou
)
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.conn
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
urce)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(U
own Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurr
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determi
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.pars
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.pars
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParse
arse(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.
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverR
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseMana
(RuntimeConfig.java:73)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriver
oUpdater(FirstTimeRunConfig.java:261)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customise
fig(FirstTimeRunConfig.java:99)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInp
Config.java:233)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeCo
g.java:133)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGri
tras.java:72)
Caused by: sun.security.validator.ValidatorException: PKIX path building fail
sun.security.provider.certpath.SunCertPathBuilderException: unable to find v
d certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown S
ce)
... 29 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable
find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unkn
Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 35 more
Nested exception: javax.net.ssl.SSLHandshakeException: sun.security.validator
lidatorException: PKIX path building failed: sun.security.provider.certpath.S
ertPathBuilderException: unable to find valid certification path to requested
rget
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Sou
)
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.conn
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
urce)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(U
own Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurr
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determi
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.pars
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.pars
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParse
arse(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.
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverR
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseMana
(RuntimeConfig.java:73)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriver
oUpdater(FirstTimeRunConfig.java:261)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customise
fig(FirstTimeRunConfig.java:99)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInp
Config.java:233)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeCo
g.java:133)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGri
tras.java:72)
Caused by: sun.security.validator.ValidatorException: PKIX path building fail
sun.security.provider.certpath.SunCertPathBuilderException: unable to find v
d certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown S
ce)
... 29 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable
find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unkn
Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 35 more
Exception in thread "main" java.lang.NullPointerException
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriver
oUpdater(FirstTimeRunConfig.java:262)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customise
fig(FirstTimeRunConfig.java:99)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInp
Config.java:233)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeCo
g.java:133)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGri
tras.java:72)

C:\ROOT\Selenium_Jars>

@levisiebens

This comment has been minimized.

Show comment
Hide comment
@levisiebens

levisiebens Jun 25, 2015

I'm seeing the same issue with the Auto Update driver code, it's actually blocked starting nodes.

levisiebens commented Jun 25, 2015

I'm seeing the same issue with the Auto Update driver code, it's actually blocked starting nodes.

@smccarthy

This comment has been minimized.

Show comment
Hide comment
@smccarthy

smccarthy Jun 25, 2015

Collaborator

Which version of JRE do you both have installed? @levisiebens @cktech529

java -version - This will show you.

Collaborator

smccarthy commented Jun 25, 2015

Which version of JRE do you both have installed? @levisiebens @cktech529

java -version - This will show you.

@levisiebens

This comment has been minimized.

Show comment
Hide comment
@levisiebens

levisiebens Jun 26, 2015

I'm using Java version 1.8.0_40.

So there are multiple places I see exceptions (on setup, on check to see if newer versions of the selenium drivers are avalible and also on the check for versions of Selenium Grid Extras). Even after disabling checks for updates (for already configured systems) I still see an error like this:

java.net.SocketException: Connection reset
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.readDataRecord(Unknown Source)
at sun.security.ssl.AppInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown S
ource)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unk
nown Source)
at com.groupon.seleniumgridextras.utilities.HttpUtility.getRequest(HttpU
tility.java:59)
at com.groupon.seleniumgridextras.utilities.HttpUtility.getRequestAsStri
ng(HttpUtility.java:34)
at com.groupon.seleniumgridextras.utilities.HttpUtility.getRequestAsStri
ng(HttpUtility.java:28)
at com.groupon.seleniumgridextras.utilities.HttpUtility.getRequestAsStri
ng(HttpUtility.java:24)
at com.groupon.seleniumgridextras.downloader.GridExtrasDownloader.parseA
llReleases(GridExtrasDownloader.java:161)
at com.groupon.seleniumgridextras.downloader.GridExtrasDownloader.getAll
DownloadableAssets(GridExtrasDownloader.java:131)
at com.groupon.seleniumgridextras.tasks.UpgradeGridExtrasTask.getSanitiz
edReleaseList(UpgradeGridExtrasTask.java:185)
at com.groupon.seleniumgridextras.tasks.UpgradeGridExtrasTask.initialize
(UpgradeGridExtrasTask.java:108)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:90)
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size:
0
at java.util.LinkedList.checkElementIndex(Unknown Source)
at java.util.LinkedList.get(Unknown Source)
at com.groupon.seleniumgridextras.tasks.UpgradeGridExtrasTask.initialize
(UpgradeGridExtrasTask.java:108)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:90)

My guess is it's the same root cause as the issue above (and the other issues I've seen). Let me know if I can provide any other call stacks or more detailed repro steps.

levisiebens commented Jun 26, 2015

I'm using Java version 1.8.0_40.

So there are multiple places I see exceptions (on setup, on check to see if newer versions of the selenium drivers are avalible and also on the check for versions of Selenium Grid Extras). Even after disabling checks for updates (for already configured systems) I still see an error like this:

java.net.SocketException: Connection reset
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.readDataRecord(Unknown Source)
at sun.security.ssl.AppInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown S
ource)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unk
nown Source)
at com.groupon.seleniumgridextras.utilities.HttpUtility.getRequest(HttpU
tility.java:59)
at com.groupon.seleniumgridextras.utilities.HttpUtility.getRequestAsStri
ng(HttpUtility.java:34)
at com.groupon.seleniumgridextras.utilities.HttpUtility.getRequestAsStri
ng(HttpUtility.java:28)
at com.groupon.seleniumgridextras.utilities.HttpUtility.getRequestAsStri
ng(HttpUtility.java:24)
at com.groupon.seleniumgridextras.downloader.GridExtrasDownloader.parseA
llReleases(GridExtrasDownloader.java:161)
at com.groupon.seleniumgridextras.downloader.GridExtrasDownloader.getAll
DownloadableAssets(GridExtrasDownloader.java:131)
at com.groupon.seleniumgridextras.tasks.UpgradeGridExtrasTask.getSanitiz
edReleaseList(UpgradeGridExtrasTask.java:185)
at com.groupon.seleniumgridextras.tasks.UpgradeGridExtrasTask.initialize
(UpgradeGridExtrasTask.java:108)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:90)
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size:
0
at java.util.LinkedList.checkElementIndex(Unknown Source)
at java.util.LinkedList.get(Unknown Source)
at com.groupon.seleniumgridextras.tasks.UpgradeGridExtrasTask.initialize
(UpgradeGridExtrasTask.java:108)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:90)

My guess is it's the same root cause as the issue above (and the other issues I've seen). Let me know if I can provide any other call stacks or more detailed repro steps.

@levisiebens

This comment has been minimized.

Show comment
Hide comment
@levisiebens

levisiebens Jun 26, 2015

So I rolled Java back to 1.7 u79 and it seemed to work fine, I'll give it a try with 1.8.0_45 and see if there's just an issue with the secure transport or something like that. Also to get it fully working (with auto launch on startup) I had to uninstall all other versions of Java other then 1.7 u79 (32 bit version)

levisiebens commented Jun 26, 2015

So I rolled Java back to 1.7 u79 and it seemed to work fine, I'll give it a try with 1.8.0_45 and see if there's just an issue with the secure transport or something like that. Also to get it fully working (with auto launch on startup) I had to uninstall all other versions of Java other then 1.7 u79 (32 bit version)

@cktech1me

This comment has been minimized.

Show comment
Hide comment
@cktech1me

cktech1me Jun 29, 2015

I installed 1.7 update 79.
I have uninstalled all other versions of JAVA.
(Pointing at my previous config json the Hub starts, but I still see the issue.)
I want to refresh the hub/ nodes to take adv. of the new LOG limiting file size fixes.

Y DeleteOldLogsTask - /log_delete - Delete logs older than X Days. X is define i
n the config.json
Y MoveMouse - /move_mouse - Moves the computers mouse to x and y location. (Defa
ult 0,0)
Y RebootNode - /reboot - Restart the host node
Y VideoRecorder - /video - Starts and stops video recording
Y KillAllIE - /kill_ie - Executes os level kill command on all instance of Inter
net Explorer
Y KillAllFirefox - /kill_firefox - Executes os level kill command on all instanc
e of Firefox
Y KillAllChrome - /kill_chrome - Executes os level kill command on all instance
of Google Chrome
Y KillAllSafari - /kill_safari - Executes os level kill command on all instance
of Safari
Y GetProcesses - /ps - Gets a list of currently running processes
Y KillPid - /kill_pid - Kills a given process id
Y Netstat - /netstat - Returns a system call for all ports. Use /port_info to ge
t parsed details
Y Screenshot - /screenshot - Take a full OS screen Screen Shot of the node
Y ExposeDirectory - /dir - Gives accesses to a shared directory, user has access
to put files into it and get files from it. Directory deleted on restart.
Y StartGrid - /start_grid - Starts an instance of Selenium Grid Hub or NodeConfi
g
Y GetInfoForPort - /port_info - Returns parsed information on a PID occupying a
given port
Y GridStatus - /grid_status - Returns status of the Selenium Grid hub/node. If c
urrently running and what is the PID
Y KillAllByName - /kill_all_by_name - Executes os level kill command on a given
PID name
Y StopGrid - /stop_grid - Stops grid or node process
Y GetConfig - /config - Returns JSON view of the full configuration of the Selen
ium Grid Extras
Y StopGridExtras - /stop_extras - Shuts down Grid Extras service
Y IEProtectedMode - /ie_protected_mode - Changes protected mode for Internet Exp
lorer on/off. No param for current status
Y IEMixedContent - /ie_mixed_content - Changes mixed content for Internet Explor
er on/off. No param for current status
Y SystemInfo - /system - Returns system details about the current node
Y GetNodeConfig - /get_node_config - Provides the grid node config from central
location
Y UpdateNodeConfig - /update_node_config - Send the current config to the centra
l location to be stored
org.dom4j.DocumentException: sun.security.validator.ValidatorException: PKIX pat
h building failed: sun.security.provider.certpath.SunCertPathBuilderException: u
nable to find valid certification path to requested target Nested exception: sun
.security.validator.ValidatorException: PKIX path building failed: sun.security.
provider.certpath.SunCertPathBuilderException: unable to find valid certificatio
n path to requested target
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:291)
at com.groupon.seleniumgridextras.downloader.webdriverreleasemanager.Web
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverRele
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager
(RuntimeConfig.java:73)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.checkWhoNeeds
Updates(AutoUpgradeDrivers.java:142)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.execute(AutoU
pgradeDrivers.java:59)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.initialize(Au
toUpgradeDrivers.java:124)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:90)
Nested exception:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderExce
ption: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(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.getInputStream(Unknown So
urce)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(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.Web
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverRele
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager
(RuntimeConfig.java:73)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.checkWhoNeeds
Updates(AutoUpgradeDrivers.java:142)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.execute(AutoU
pgradeDrivers.java:59)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.initialize(Au
toUpgradeDrivers.java:124)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:90)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali
d certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Sour
ce)
... 28 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown
Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 34 more
Nested exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.Va
lidatorException: PKIX path building failed: sun.security.provider.certpath.SunC
ertPathBuilderException: unable to find valid certification path to requested ta
rget
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(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.getInputStream(Unknown So
urce)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(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.Web
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverRele
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager
(RuntimeConfig.java:73)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.checkWhoNeeds
Updates(AutoUpgradeDrivers.java:142)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.execute(AutoU
pgradeDrivers.java:59)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.initialize(Au
toUpgradeDrivers.java:124)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:90)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali
d certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Sour
ce)
... 28 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown
Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 34 more
N AutoUpgradeDrivers
Y DownloadWebdriver - /download_webdriver - Downloads a version of WebDriver jar
to local machine
Download IE Driver Executable 2.46.0
Y DownloadIEDriver - /download_iedriver - Downloads a version of IEDriver.exe to
local machine
Y DownloadChromeDriver - /download_chromedriver - Downloads a version of ChromeD
river to local machine
Y SessionHistory - /session_history - Displays the threads of test session on al
l nodes or per node basis
Y UpgradeGridExtrasTask - /upgrade_grid_extras - Download specified version of S
elenium Grid Extras

Attempting to start Grid Hub

Selenium Grid Extras has been started!
Navigate to http://10.244.172.100:3000 for more details


C:\Users\selenium_adm>java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) Client VM (build 24.79-b02, mixed mode, sharing)

C:\Users\selenium_adm>

cktech1me commented Jun 29, 2015

I installed 1.7 update 79.
I have uninstalled all other versions of JAVA.
(Pointing at my previous config json the Hub starts, but I still see the issue.)
I want to refresh the hub/ nodes to take adv. of the new LOG limiting file size fixes.

Y DeleteOldLogsTask - /log_delete - Delete logs older than X Days. X is define i
n the config.json
Y MoveMouse - /move_mouse - Moves the computers mouse to x and y location. (Defa
ult 0,0)
Y RebootNode - /reboot - Restart the host node
Y VideoRecorder - /video - Starts and stops video recording
Y KillAllIE - /kill_ie - Executes os level kill command on all instance of Inter
net Explorer
Y KillAllFirefox - /kill_firefox - Executes os level kill command on all instanc
e of Firefox
Y KillAllChrome - /kill_chrome - Executes os level kill command on all instance
of Google Chrome
Y KillAllSafari - /kill_safari - Executes os level kill command on all instance
of Safari
Y GetProcesses - /ps - Gets a list of currently running processes
Y KillPid - /kill_pid - Kills a given process id
Y Netstat - /netstat - Returns a system call for all ports. Use /port_info to ge
t parsed details
Y Screenshot - /screenshot - Take a full OS screen Screen Shot of the node
Y ExposeDirectory - /dir - Gives accesses to a shared directory, user has access
to put files into it and get files from it. Directory deleted on restart.
Y StartGrid - /start_grid - Starts an instance of Selenium Grid Hub or NodeConfi
g
Y GetInfoForPort - /port_info - Returns parsed information on a PID occupying a
given port
Y GridStatus - /grid_status - Returns status of the Selenium Grid hub/node. If c
urrently running and what is the PID
Y KillAllByName - /kill_all_by_name - Executes os level kill command on a given
PID name
Y StopGrid - /stop_grid - Stops grid or node process
Y GetConfig - /config - Returns JSON view of the full configuration of the Selen
ium Grid Extras
Y StopGridExtras - /stop_extras - Shuts down Grid Extras service
Y IEProtectedMode - /ie_protected_mode - Changes protected mode for Internet Exp
lorer on/off. No param for current status
Y IEMixedContent - /ie_mixed_content - Changes mixed content for Internet Explor
er on/off. No param for current status
Y SystemInfo - /system - Returns system details about the current node
Y GetNodeConfig - /get_node_config - Provides the grid node config from central
location
Y UpdateNodeConfig - /update_node_config - Send the current config to the centra
l location to be stored
org.dom4j.DocumentException: sun.security.validator.ValidatorException: PKIX pat
h building failed: sun.security.provider.certpath.SunCertPathBuilderException: u
nable to find valid certification path to requested target Nested exception: sun
.security.validator.ValidatorException: PKIX path building failed: sun.security.
provider.certpath.SunCertPathBuilderException: unable to find valid certificatio
n path to requested target
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:291)
at com.groupon.seleniumgridextras.downloader.webdriverreleasemanager.Web
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverRele
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager
(RuntimeConfig.java:73)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.checkWhoNeeds
Updates(AutoUpgradeDrivers.java:142)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.execute(AutoU
pgradeDrivers.java:59)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.initialize(Au
toUpgradeDrivers.java:124)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:90)
Nested exception:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderExce
ption: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(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.getInputStream(Unknown So
urce)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(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.Web
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverRele
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager
(RuntimeConfig.java:73)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.checkWhoNeeds
Updates(AutoUpgradeDrivers.java:142)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.execute(AutoU
pgradeDrivers.java:59)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.initialize(Au
toUpgradeDrivers.java:124)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:90)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali
d certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Sour
ce)
... 28 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown
Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 34 more
Nested exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.Va
lidatorException: PKIX path building failed: sun.security.provider.certpath.SunC
ertPathBuilderException: unable to find valid certification path to requested ta
rget
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(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.getInputStream(Unknown So
urce)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(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.Web
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverRele
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager
(RuntimeConfig.java:73)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.checkWhoNeeds
Updates(AutoUpgradeDrivers.java:142)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.execute(AutoU
pgradeDrivers.java:59)
at com.groupon.seleniumgridextras.tasks.AutoUpgradeDrivers.initialize(Au
toUpgradeDrivers.java:124)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:90)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali
d certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Sour
ce)
... 28 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown
Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 34 more
N AutoUpgradeDrivers
Y DownloadWebdriver - /download_webdriver - Downloads a version of WebDriver jar
to local machine
Download IE Driver Executable 2.46.0
Y DownloadIEDriver - /download_iedriver - Downloads a version of IEDriver.exe to
local machine
Y DownloadChromeDriver - /download_chromedriver - Downloads a version of ChromeD
river to local machine
Y SessionHistory - /session_history - Displays the threads of test session on al
l nodes or per node basis
Y UpgradeGridExtrasTask - /upgrade_grid_extras - Download specified version of S
elenium Grid Extras

Attempting to start Grid Hub

Selenium Grid Extras has been started!
Navigate to http://10.244.172.100:3000 for more details


C:\Users\selenium_adm>java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) Client VM (build 24.79-b02, mixed mode, sharing)

C:\Users\selenium_adm>

@mikyone

This comment has been minimized.

Show comment
Hide comment
@mikyone

mikyone Jul 8, 2015

I tried on linux to run it with a jre1.7.0_79 32 bits version. I got the same error. My sellenium grid works properly. I don't know how to fix it.

dom4j.DocumentException: Connection timed out Nested exception: Connection 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:52)

mikyone commented Jul 8, 2015

I tried on linux to run it with a jre1.7.0_79 32 bits version. I got the same error. My sellenium grid works properly. I don't know how to fix it.

dom4j.DocumentException: Connection timed out Nested exception: Connection 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:52)

@smccarthy

This comment has been minimized.

Show comment
Hide comment
@smccarthy

smccarthy Jul 8, 2015

Collaborator

@mikyone I will look at this today.

Collaborator

smccarthy commented Jul 8, 2015

@mikyone I will look at this today.

@mikyone

This comment has been minimized.

Show comment
Hide comment
@mikyone

mikyone Jul 8, 2015

Actually I think this error occurs because I m behind a proxy and when I tried to execute the jar I got this error above. I think I can't access to this resource
--> https://selenium-release.storage.googleapis.com/
--> https://chromedriver.storage.googleapis.com/LATEST_RELEASE

I tried to execute the jar with -Dhttp.proxyHost=XXXX & -Dhttp.proxyPort=XXXX and same for https. But I have still this exception.
The work arround I found it's to modify the source to get the resource locally. So now it seems to run.
But I have still an issue. If I run separately the selenium grid (node & hub) and grids extra I can't record a video. I spent all my afternoon to fix it but I m blocked. And it seems there is communication between the selenium grid & selenium extra with this configuration. If you know a documentation to help to move on, I will be delighted
Thanks.

mikyone commented Jul 8, 2015

Actually I think this error occurs because I m behind a proxy and when I tried to execute the jar I got this error above. I think I can't access to this resource
--> https://selenium-release.storage.googleapis.com/
--> https://chromedriver.storage.googleapis.com/LATEST_RELEASE

I tried to execute the jar with -Dhttp.proxyHost=XXXX & -Dhttp.proxyPort=XXXX and same for https. But I have still this exception.
The work arround I found it's to modify the source to get the resource locally. So now it seems to run.
But I have still an issue. If I run separately the selenium grid (node & hub) and grids extra I can't record a video. I spent all my afternoon to fix it but I m blocked. And it seems there is communication between the selenium grid & selenium extra with this configuration. If you know a documentation to help to move on, I will be delighted
Thanks.

@smccarthy

This comment has been minimized.

Show comment
Hide comment
@smccarthy

smccarthy Jul 9, 2015

Collaborator

@cktech529 I am unable to reproduce on my Win 7 VM with jre-8u45-windows-i586 .

@mikyone Are you getting the exact same error as @cktech529 ?
org.dom4j.DocumentException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Nested exception: sun.security.validator.ValidatorException: PKIX path building failed:sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

My guess is you need something similar to the answer here : http://stackoverflow.com/questions/9619030/resolving-javax-net-ssl-sslhandshakeexception-sun-security-validator-validatore
Recently, we switched to using the https urls to download chromedriver and IEDriver and WebDriver.

Collaborator

smccarthy commented Jul 9, 2015

@cktech529 I am unable to reproduce on my Win 7 VM with jre-8u45-windows-i586 .

@mikyone Are you getting the exact same error as @cktech529 ?
org.dom4j.DocumentException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Nested exception: sun.security.validator.ValidatorException: PKIX path building failed:sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

My guess is you need something similar to the answer here : http://stackoverflow.com/questions/9619030/resolving-javax-net-ssl-sslhandshakeexception-sun-security-validator-validatore
Recently, we switched to using the https urls to download chromedriver and IEDriver and WebDriver.

@mikyone

This comment has been minimized.

Show comment
Hide comment
@mikyone

mikyone Jul 9, 2015

I got a different error

`org.dom4j.DocumentException: Connection timed out Nested exception: Connection 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.<init>(WebDriverReleaseManager.java:52)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverReleaseManager(RuntimeConfig.java:85)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager(RuntimeConfig.java:73)
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAutoUpdater(FirstTimeRunConfig.java:261)
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseConfig(FirstTimeRunConfig.java:99)
    at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(Config.java:233)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfig.java:133)
    at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridExtras.java:72)
Nested exception: 
java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:656)
    at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
    at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:646)
    at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
    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.<init>(WebDriverReleaseManager.java:52)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverReleaseManager(RuntimeConfig.java:85)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager(RuntimeConfig.java:73)
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAutoUpdater(FirstTimeRunConfig.java:261)
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseConfig(FirstTimeRunConfig.java:99)
    at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(Config.java:233)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfig.java:133)
    at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridExtras.java:72)
Nested exception: java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:656)
    at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
    at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:646)
    at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
    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.<init>(WebDriverReleaseManager.java:52)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverReleaseManager(RuntimeConfig.java:85)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager(RuntimeConfig.java:73)
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAutoUpdater(FirstTimeRunConfig.java:261)
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseConfig(FirstTimeRunConfig.java:99)
    at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(Config.java:233)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfig.java:133)
    at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridExtras.java:72)
Exception in thread "main" java.lang.NullPointerException
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAutoUpdater(FirstTimeRunConfig.java:262)
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseConfig(FirstTimeRunConfig.java:99)
    at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(Config.java:233)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfig.java:133)
    at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridExtras.java:72)`

But still I modify the code to embed the resource locally. My main worries now is to run this grid extra properly. There is no way to record a video and to combine selenium grid with selenium extra. I made the test on 2 different environment and it still the same result. Any clue ? Any advices ?

mikyone commented Jul 9, 2015

I got a different error

`org.dom4j.DocumentException: Connection timed out Nested exception: Connection 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.<init>(WebDriverReleaseManager.java:52)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverReleaseManager(RuntimeConfig.java:85)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager(RuntimeConfig.java:73)
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAutoUpdater(FirstTimeRunConfig.java:261)
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseConfig(FirstTimeRunConfig.java:99)
    at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(Config.java:233)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfig.java:133)
    at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridExtras.java:72)
Nested exception: 
java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:656)
    at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
    at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:646)
    at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
    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.<init>(WebDriverReleaseManager.java:52)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverReleaseManager(RuntimeConfig.java:85)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager(RuntimeConfig.java:73)
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAutoUpdater(FirstTimeRunConfig.java:261)
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseConfig(FirstTimeRunConfig.java:99)
    at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(Config.java:233)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfig.java:133)
    at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridExtras.java:72)
Nested exception: java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:656)
    at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
    at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
    at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:998)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:646)
    at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
    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.<init>(WebDriverReleaseManager.java:52)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverReleaseManager(RuntimeConfig.java:85)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager(RuntimeConfig.java:73)
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAutoUpdater(FirstTimeRunConfig.java:261)
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseConfig(FirstTimeRunConfig.java:99)
    at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(Config.java:233)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfig.java:133)
    at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridExtras.java:72)
Exception in thread "main" java.lang.NullPointerException
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAutoUpdater(FirstTimeRunConfig.java:262)
    at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseConfig(FirstTimeRunConfig.java:99)
    at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(Config.java:233)
    at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfig.java:133)
    at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridExtras.java:72)`

But still I modify the code to embed the resource locally. My main worries now is to run this grid extra properly. There is no way to record a video and to combine selenium grid with selenium extra. I made the test on 2 different environment and it still the same result. Any clue ? Any advices ?

@cktech1me

This comment has been minimized.

Show comment
Hide comment
@cktech1me

cktech1me Jul 15, 2015

Thanks for looking into this, I just tried the latest 2.10.1 build, still get the same issue. (The https issue is most likely the cause) I'll read that link you provided.

cktech1me commented Jul 15, 2015

Thanks for looking into this, I just tried the latest 2.10.1 build, still get the same issue. (The https issue is most likely the cause) I'll read that link you provided.

@smccarthy

This comment has been minimized.

Show comment
Hide comment
@smccarthy

smccarthy Jul 15, 2015

Collaborator

Not sure if you are behind an enterprise proxy or something similar, but maybe the info from #120 can help too ? It suggests starting the selenium-grid-extras jar like :
java -Dhttp.proxyHost= -Dhttp.proxyPort= -Dhttps.proxyHost= -Dhttps.ProxyPort= -jar SeleniumGridExtras.jar

Collaborator

smccarthy commented Jul 15, 2015

Not sure if you are behind an enterprise proxy or something similar, but maybe the info from #120 can help too ? It suggests starting the selenium-grid-extras jar like :
java -Dhttp.proxyHost= -Dhttp.proxyPort= -Dhttps.proxyHost= -Dhttps.ProxyPort= -jar SeleniumGridExtras.jar

@cktech1me

This comment has been minimized.

Show comment
Hide comment
@cktech1me

cktech1me Aug 4, 2015

I was able to fix the runtime/ failure to start issue by modifying the code back from https to http; however, the IE driver doesn't download...

Chris

cktech1me commented Aug 4, 2015

I was able to fix the runtime/ failure to start issue by modifying the code back from https to http; however, the IE driver doesn't download...

Chris

@dimacus

This comment has been minimized.

Show comment
Hide comment
@dimacus

dimacus Aug 4, 2015

Contributor

I don't think we have any plans to add HTTPS support at this time as most
grids are internal... unless someone really really wants it and can help us
with a PR

On Tue, Aug 4, 2015 at 8:55 AM, cktech529 notifications@github.com wrote:

I was able to fix this by modifying the code back from https to http.

Will these http links go away soon?

Chris


Reply to this email directly or view it on GitHub
#130 (comment)
.

-Dima Kovalenko

Good judgment comes from experience, and experience comes from bad judgment.
--Frederick P. Brooks

Contributor

dimacus commented Aug 4, 2015

I don't think we have any plans to add HTTPS support at this time as most
grids are internal... unless someone really really wants it and can help us
with a PR

On Tue, Aug 4, 2015 at 8:55 AM, cktech529 notifications@github.com wrote:

I was able to fix this by modifying the code back from https to http.

Will these http links go away soon?

Chris


Reply to this email directly or view it on GitHub
#130 (comment)
.

-Dima Kovalenko

Good judgment comes from experience, and experience comes from bad judgment.
--Frederick P. Brooks

@beedyb220

This comment has been minimized.

Show comment
Hide comment
@beedyb220

beedyb220 Jun 28, 2016

@mikyone I have the same issue as you detailed above. Were you able to resolve this?

`org.dom4j.DocumentException: Connection timed out Nested exception: Connection 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:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverReleaseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager(RuntimeConfig.java:73)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAutoUpdater(FirstTimeRunConfig.java:261)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseConfig(FirstTimeRunConfig.java:99)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(Config.java:233)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfig.java:133)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridExtras.java:72)
Nested exception:

beedyb220 commented Jun 28, 2016

@mikyone I have the same issue as you detailed above. Were you able to resolve this?

`org.dom4j.DocumentException: Connection timed out Nested exception: Connection 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:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverReleaseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager(RuntimeConfig.java:73)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAutoUpdater(FirstTimeRunConfig.java:261)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseConfig(FirstTimeRunConfig.java:99)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(Config.java:233)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfig.java:133)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridExtras.java:72)
Nested exception:

@smccarthy

This comment has been minimized.

Show comment
Hide comment
@smccarthy

smccarthy Jun 29, 2016

Collaborator

@beedyb220 It helps if you give us the version of Selenium-Grid-Extras you are using. Could this be a firewall issue? Have you tried the http or https proxy ?

Collaborator

smccarthy commented Jun 29, 2016

@beedyb220 It helps if you give us the version of Selenium-Grid-Extras you are using. Could this be a firewall issue? Have you tried the http or https proxy ?

@beedyb220

This comment has been minimized.

Show comment
Hide comment
@beedyb220

beedyb220 Jun 29, 2016

I am using SeleniumGridExtras-1.12.2-SNAPSHOT-jar-with-dependencies.jar. I tried using the http and https proxy with no success.

beedyb220 commented Jun 29, 2016

I am using SeleniumGridExtras-1.12.2-SNAPSHOT-jar-with-dependencies.jar. I tried using the http and https proxy with no success.

@smccarthy

This comment has been minimized.

Show comment
Hide comment
@smccarthy

smccarthy Jun 29, 2016

Collaborator

@beedyb220 Can you access https://selenium-release.storage.googleapis.com/index.html?path=2.53/ on the same machine that is running selenium-grid-extras ?

It looks like its failing here :

Also, can you please post the exact command how you tried the http and https proxy ? Thank you

Collaborator

smccarthy commented Jun 29, 2016

@beedyb220 Can you access https://selenium-release.storage.googleapis.com/index.html?path=2.53/ on the same machine that is running selenium-grid-extras ?

It looks like its failing here :

Also, can you please post the exact command how you tried the http and https proxy ? Thank you

@beedyb220

This comment has been minimized.

Show comment
Hide comment
@beedyb220

beedyb220 Jun 29, 2016

Thanks for the reply. I can access the link via my browser. I tried to ping it via Command prompt and get "Host not found"

beedyb220 commented Jun 29, 2016

Thanks for the reply. I can access the link via my browser. I tried to ping it via Command prompt and get "Host not found"

@beedyb220

This comment has been minimized.

Show comment
Hide comment
@beedyb220

beedyb220 Jun 29, 2016

Below is my latest attempt:

C:\Users\xxxxxx\Downloads>java -jar SeleniumGridExtras-1.12.2-SNAPSHOT-jar-with-
dependencies.jar -Dhttp.proxyHost=xxxx.xxxxx.xxxx.com -Dhttp.proxyPort=3128 -Dh
ttps.proxyHost=xxxx.xxxxx.xxxxx.com -Dhttps.proxyPort=3128
Picked up _JAVA_OPTIONS: -Dfile.encoding=UTF8

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 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 t
his 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 compute
r)
Default Value: CORP

'CORP' was set as your value

Username to auto logon with
Default Value: xxxxxx

'xxxxxx' was set as your value

Enter user password

Would you like WebDriver, IEDriver and ChromeDriver to auto update (1-yes/0-no)
Default Value: 1

'1' was set as your value
org.dom4j.DocumentException: Connection timed out: connect Nested exception: Con
nection timed out: connect
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:291)
at com.groupon.seleniumgridextras.downloader.webdriverreleasemanager.Web
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverRele
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager
(RuntimeConfig.java:74)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAut
oUpdater(FirstTimeRunConfig.java:243)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseCon
fig(FirstTimeRunConfig.java:102)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(
Config.java:236)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfi
g.java:133)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:72)
Nested exception:
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewH
ttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Sou
rce)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown S
ource)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(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.Web
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverRele
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager
(RuntimeConfig.java:74)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAut
oUpdater(FirstTimeRunConfig.java:243)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseCon
fig(FirstTimeRunConfig.java:102)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(
Config.java:236)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfi
g.java:133)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:72)
Nested exception: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewH
ttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Sou
rce)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown S
ource)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(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.Web
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverRele
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager
(RuntimeConfig.java:74)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAut
oUpdater(FirstTimeRunConfig.java:243)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseCon
fig(FirstTimeRunConfig.java:102)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(
Config.java:236)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfi
g.java:133)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:72)
Exception in thread "main" java.lang.NullPointerException
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAut
oUpdater(FirstTimeRunConfig.java:244)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseCon
fig(FirstTimeRunConfig.java:102)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(
Config.java:236)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfi
g.java:133)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:72)

beedyb220 commented Jun 29, 2016

Below is my latest attempt:

C:\Users\xxxxxx\Downloads>java -jar SeleniumGridExtras-1.12.2-SNAPSHOT-jar-with-
dependencies.jar -Dhttp.proxyHost=xxxx.xxxxx.xxxx.com -Dhttp.proxyPort=3128 -Dh
ttps.proxyHost=xxxx.xxxxx.xxxxx.com -Dhttps.proxyPort=3128
Picked up _JAVA_OPTIONS: -Dfile.encoding=UTF8

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 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 t
his 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 compute
r)
Default Value: CORP

'CORP' was set as your value

Username to auto logon with
Default Value: xxxxxx

'xxxxxx' was set as your value

Enter user password

Would you like WebDriver, IEDriver and ChromeDriver to auto update (1-yes/0-no)
Default Value: 1

'1' was set as your value
org.dom4j.DocumentException: Connection timed out: connect Nested exception: Con
nection timed out: connect
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.dom4j.io.SAXReader.read(SAXReader.java:291)
at com.groupon.seleniumgridextras.downloader.webdriverreleasemanager.Web
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverRele
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager
(RuntimeConfig.java:74)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAut
oUpdater(FirstTimeRunConfig.java:243)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseCon
fig(FirstTimeRunConfig.java:102)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(
Config.java:236)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfi
g.java:133)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:72)
Nested exception:
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewH
ttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Sou
rce)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown S
ource)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(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.Web
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverRele
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager
(RuntimeConfig.java:74)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAut
oUpdater(FirstTimeRunConfig.java:243)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseCon
fig(FirstTimeRunConfig.java:102)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(
Config.java:236)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfi
g.java:133)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:72)
Nested exception: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewH
ttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Sou
rce)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown S
ource)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(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.Web
DriverReleaseManager.(WebDriverReleaseManager.java:52)
at com.groupon.seleniumgridextras.config.RuntimeConfig.loadWebDriverRele
aseManager(RuntimeConfig.java:85)
at com.groupon.seleniumgridextras.config.RuntimeConfig.getReleaseManager
(RuntimeConfig.java:74)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAut
oUpdater(FirstTimeRunConfig.java:243)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseCon
fig(FirstTimeRunConfig.java:102)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(
Config.java:236)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfi
g.java:133)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:72)
Exception in thread "main" java.lang.NullPointerException
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.setDriverAut
oUpdater(FirstTimeRunConfig.java:244)
at com.groupon.seleniumgridextras.config.FirstTimeRunConfig.customiseCon
fig(FirstTimeRunConfig.java:102)
at com.groupon.seleniumgridextras.config.Config.initilizedFromUserInput(
Config.java:236)
at com.groupon.seleniumgridextras.config.RuntimeConfig.load(RuntimeConfi
g.java:133)
at com.groupon.seleniumgridextras.SeleniumGridExtras.main(SeleniumGridEx
tras.java:72)

@smccarthy

This comment has been minimized.

Show comment
Hide comment
@smccarthy

smccarthy Jun 29, 2016

Collaborator

I am really unsure what else to try here... One workaround could be to catch that exception in our code, so at least the whole thing doesn't blow up. Maybe it ca give you a message to download the file and put it in the directory (directory location in config file)

Collaborator

smccarthy commented Jun 29, 2016

I am really unsure what else to try here... One workaround could be to catch that exception in our code, so at least the whole thing doesn't blow up. Maybe it ca give you a message to download the file and put it in the directory (directory location in config file)

@smccarthy

This comment has been minimized.

Show comment
Hide comment
@smccarthy

smccarthy Jul 1, 2016

Collaborator

@beedyb220 Are you able to checkout the code (master branch) and change the download link for selenium-server-standalone and IEDriverServer from https to http to see if that works? If everyone can access it via http, I think we should switch it back. @dimacus thoughts ?

Collaborator

smccarthy commented Jul 1, 2016

@beedyb220 Are you able to checkout the code (master branch) and change the download link for selenium-server-standalone and IEDriverServer from https to http to see if that works? If everyone can access it via http, I think we should switch it back. @dimacus thoughts ?

@glacier6327

This comment has been minimized.

Show comment
Hide comment
@glacier6327

glacier6327 Sep 6, 2017

This is only happening now that my new Grid VMs are windows 10... I cloned the repo, but am not able to build locally...

glacier6327 commented Sep 6, 2017

This is only happening now that my new Grid VMs are windows 10... I cloned the repo, but am not able to build locally...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment