org.openqa.selenium.SessionNotCreatedException: Connection refused (Connection refused) Command duration or timeout: 0 milliseconds Build info: version: '3.3.1', revision: '5234b325d5', time: '2017-03-10 09:10:29 +0000' System info: host: '253BMOC-80017', ip: '10.157.44.84', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_131' Driver info: driver.version: RemoteWebDriver

Google Groups | Reddi Naga Swapna | 2 weeks ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    HTTP Status: '404' -> incorrect JSON status mapping for 'unknown error' (500 expected)

    GitHub | 2 months ago | tmbenhura
    org.openqa.selenium.SessionNotCreatedException: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 0 milliseconds Build info: version: 'unknown', revision: '5234b32', time: '2017-03-10 09:00:17 -0800' System info: host: 'MY-PC', ip: '196.19.4.10', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_40' Driver info: driver.version: FirefoxDriver
  2. 0

    Firefox 51.0.1 64bit Unable to launch a new firefox window geckodriver versionv0.14.0 when executing locally

    GitHub | 3 months ago | seluser666
    org.openqa.selenium.SessionNotCreatedException: Failed to start browser C:\Program Files\Mozilla Firefox\firefox.exe: permission denied (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 0 milliseconds Build info: version: 'unknown', revision: '1969d75', time: '2016-10-18 09:43:45 -0700' System info: host: 'DESKTOP-CU1N4JE', ip: '192.168.1.8', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121' Driver info: driver.version: FirefoxDriver
  3. 0

    GitHub comment 676#288253656

    GitHub | 2 months ago | DonaldDeep
    org.openqa.selenium.SessionNotCreatedException: Error forwarding the new session cannot find : Capabilities [{marionette=true, browserName=firefox, version=ANY, platform=XP}] Command duration or timeout: 0 milliseconds Build info: version: '3.3.1', revision: '5234b32', time: '2017-03-10 09:04:52 -0800' System info: host: 'DESKTOP-RBADN95', ip: '192.168.56.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_91' Driver info: driver.version: RemoteWebDriver
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Selenium issue

    GitHub | 3 months ago | logesh123
    org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Bad app: D:\Android\startupApp\FirstTest1\app\SarathiAppFinalWave2.apk. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name. cause: Error: Error locating the app: ENOENT, stat 'D:\Android\startupApp\FirstTest1\app\SarathiAppFinalWave2.apk') (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 0 milliseconds Build info: version: 'unknown', revision: '1969d75', time: '2016-10-18 09:43:45 -0700' System info: host: 'admin-PC', ip: '192.168.1.229', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_11' Driver info: driver.version: AndroidDriver
  6. 0

    Element is not clickable at point ... with selenium 2 and WebDriver

    Stack Overflow | 7 months ago | RapsonGany
    org.openqa.selenium.WebDriverException: Element is not clickable at point (779.5, 12.199996948242188). Other element would receive the click: Command duration or timeout: 106 milliseconds Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:32:46' System info: host: 'spa-PC', ip: '192.168.5.2', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_74' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=47.0.1, platform=WINDOWS, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: c897bef8-b708-45f3-a991-5cf8971939c8
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused (Connection refused)

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    6 frames
  3. Apache HttpClient
    CloseableHttpClient.execute
    1. org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)
    2. org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)
    3. org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
    4. org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
    5. org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
    6. org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
    7. org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
    8. org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
    9. org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    10. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
    11. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
    11 frames
  4. Selenium
    RemoteWebDriver.<init>
    1. org.openqa.selenium.remote.internal.ApacheHttpClient.fallBackExecute(ApacheHttpClient.java:142)
    2. org.openqa.selenium.remote.internal.ApacheHttpClient.execute(ApacheHttpClient.java:88)
    3. org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:296)
    4. org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:113)
    5. org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
    6. org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
    7. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:604)
    8. org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:244)
    9. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
    9 frames
  5. selenium-safari-driver
    SafariDriver.<init>
    1. org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:60)
    2. org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:51)
    2 frames
  6. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  7. selenium-server
    DefaultSession$BrowserCreator.call
    1. org.openqa.selenium.remote.server.DefaultDriverProvider.callConstructor(DefaultDriverProvider.java:103)
    2. org.openqa.selenium.remote.server.DefaultDriverProvider.newInstance(DefaultDriverProvider.java:97)
    3. org.openqa.selenium.remote.server.DefaultDriverFactory.newInstance(DefaultDriverFactory.java:60)
    4. org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:222)
    5. org.openqa.selenium.remote.server.DefaultSession$BrowserCreator.call(DefaultSession.java:209)
    5 frames
  8. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    1 frame
  9. selenium-server
    DefaultSession$1.run
    1. org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176)
    1 frame
  10. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:748)
    3 frames