SessionNotCreatedException: Unable to create new remote session

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SessionNotCreatedException: Unable to create new remote session

Pascal Peidro
Hi

The Chrome browser is launched, but i have the following exception :
rg.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{browserName=chrome, takesScreenshot=true, chromeOptions=org.openqa.selenium.chrome.ChromeOptions@e529e58b, version=, platform=ANY}], required capabilities = Capabilities [{}]
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'WPPEIDRO', ip: '172.16.26.228', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_60'
Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:172)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)

My configuration is the following :
- OS : Windows10
- Selenium Standalone Server : 3.4.0
- Selenium client Java : 3.4.0
- chromedriver : 2.29
- grid config : 
       {
           "capabilities":
              [
    {
                    "browserName":"chrome",
                    "maxInstances":1,
                    "seleniumProtocol": "WebDriver",
    "webdriver.chrome.driver": "D:/chromedriver.exe"
                 }
               ],

              "maxSession":1,
              "hub" : "http://server:1234"
        }

If i keep this same config and i only change the Selenium client Java version by using a 3.3.1 instead of the 3.4.0, it works fine !!!
Thx for your help
Pascal

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/2a682538-a585-4910-a9ec-777e48ee039c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SessionNotCreatedException: Unable to create new remote session

thivyae


On Wednesday, June 7, 2017 at 6:51:30 PM UTC+5:30, Pascal Peidro wrote:
Hi,

Are you using latest version of chrome driver and chrome browsers? 

The Chrome browser is launched, but i have the following exception :
rg.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{browserName=chrome, takesScreenshot=true, chromeOptions=org.openqa.selenium.chrome.ChromeOptions@e529e58b, version=, platform=ANY}], required capabilities = Capabilities [{}]
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'WPPEIDRO', ip: '172.16.26.228', <a href="http://os.name" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fos.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEBq5pahnbxzpNVLfaFeTDcQCtrYg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fos.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEBq5pahnbxzpNVLfaFeTDcQCtrYg&#39;;return true;">os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_60'
Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:172)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)

My configuration is the following :
- OS : Windows10
- Selenium Standalone Server : 3.4.0
- Selenium client Java : 3.4.0
- chromedriver : 2.29
- grid config : 
       {
           "capabilities":
              [
    {
                    "browserName":"chrome",
                    "maxInstances":1,
                    "seleniumProtocol": "WebDriver",
    "webdriver.chrome.driver": "D:/chromedriver.exe"
                 }
               ],

              "maxSession":1,
              "hub" : "<a href="http://server:1234" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fserver%3A1234\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG6FZj8WxxGp8yQr_6C5lUKwPR88A&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fserver%3A1234\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG6FZj8WxxGp8yQr_6C5lUKwPR88A&#39;;return true;">http://server:1234"
        }

If i keep this same config and i only change the Selenium client Java version by using a 3.3.1 instead of the 3.4.0, it works fine !!!
Thx for your help
Pascal

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/66be4345-c81b-479e-8fe3-b3f2edd74e63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SessionNotCreatedException: Unable to create new remote session

Pascal Peidro
Yes, the Chrome version is 59.0.3071.86
I just tried with latest chromedriver 2.30...but same issue :(

Le vendredi 9 juin 2017 07:40:54 UTC+2, [hidden email] a écrit :


On Wednesday, June 7, 2017 at 6:51:30 PM UTC+5:30, Pascal Peidro wrote:
Hi,

Are you using latest version of chrome driver and chrome browsers? 

The Chrome browser is launched, but i have the following exception :
rg.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{browserName=chrome, takesScreenshot=true, chromeOptions=org.openqa.selenium.chrome.ChromeOptions@e529e58b, version=, platform=ANY}], required capabilities = Capabilities [{}]
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'WPPEIDRO', ip: '172.16.26.228', <a href="http://os.name" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fos.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEBq5pahnbxzpNVLfaFeTDcQCtrYg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fos.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEBq5pahnbxzpNVLfaFeTDcQCtrYg&#39;;return true;">os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_60'
Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:172)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)

My configuration is the following :
- OS : Windows10
- Selenium Standalone Server : 3.4.0
- Selenium client Java : 3.4.0
- chromedriver : 2.29
- grid config : 
       {
           "capabilities":
              [
    {
                    "browserName":"chrome",
                    "maxInstances":1,
                    "seleniumProtocol": "WebDriver",
    "webdriver.chrome.driver": "D:/chromedriver.exe"
                 }
               ],

              "maxSession":1,
              "hub" : "<a href="http://server:1234" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fserver%3A1234\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG6FZj8WxxGp8yQr_6C5lUKwPR88A&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fserver%3A1234\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG6FZj8WxxGp8yQr_6C5lUKwPR88A&#39;;return true;">http://server:1234"
        }

If i keep this same config and i only change the Selenium client Java version by using a 3.3.1 instead of the 3.4.0, it works fine !!!
Thx for your help
Pascal

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/f1116823-ae5e-4d17-87e2-d0df2d6df748%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SessionNotCreatedException: Unable to create new remote session

Pascal Peidro
In reply to this post by thivyae
Yes, the Chrome version is 59.0.3071.86
I just tried with latest chromedriver 2.30...but same issue :(

I did a test by downgrading Selenium client Java version in 3.3.1, and it works. And i have seen a difference in the node console :
Starting ChromeDriver 2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41) on port 9345 (if Selenium client java version 3.4.0)
and
Starting ChromeDriver 2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41) on port 27422  (if Selenium client java version 3.3.1)

Is there a problem of port?


Le vendredi 9 juin 2017 07:40:54 UTC+2, [hidden email] a écrit :


On Wednesday, June 7, 2017 at 6:51:30 PM UTC+5:30, Pascal Peidro wrote:
Hi,

Are you using latest version of chrome driver and chrome browsers? 

The Chrome browser is launched, but i have the following exception :
rg.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{browserName=chrome, takesScreenshot=true, chromeOptions=org.openqa.selenium.chrome.ChromeOptions@e529e58b, version=, platform=ANY}], required capabilities = Capabilities [{}]
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'WPPEIDRO', ip: '172.16.26.228', <a href="http://os.name" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fos.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEBq5pahnbxzpNVLfaFeTDcQCtrYg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fos.name\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEBq5pahnbxzpNVLfaFeTDcQCtrYg&#39;;return true;">os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_60'
Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:172)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)

My configuration is the following :
- OS : Windows10
- Selenium Standalone Server : 3.4.0
- Selenium client Java : 3.4.0
- chromedriver : 2.29
- grid config : 
       {
           "capabilities":
              [
    {
                    "browserName":"chrome",
                    "maxInstances":1,
                    "seleniumProtocol": "WebDriver",
    "webdriver.chrome.driver": "D:/chromedriver.exe"
                 }
               ],

              "maxSession":1,
              "hub" : "<a href="http://server:1234" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fserver%3A1234\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG6FZj8WxxGp8yQr_6C5lUKwPR88A&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fserver%3A1234\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG6FZj8WxxGp8yQr_6C5lUKwPR88A&#39;;return true;">http://server:1234"
        }

If i keep this same config and i only change the Selenium client Java version by using a 3.3.1 instead of the 3.4.0, it works fine !!!
Thx for your help
Pascal

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/bf3544b7-8e5e-45da-9d66-5779b431205a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...