Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    via GitHub by rawlingsj

    host port isnt set

  2. ,
    via Stack Overflow by LittlePanda

    To restart the Selenium Webdriver mock browser in a testcase, first use driver.close() and then reinstantiate the driver.

Solutions on the web

via GitHub by shabana-parveen
, 1 year ago
Error communicating with the remote browser. It may have died. Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: 'GGNF1882s-MacBook-Pro.local', ip: '172.16.64.102
via GitHub by shabana-parveen
, 1 year ago
Error communicating with the remote browser. It may have died. Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: 'GGNF1882s-MacBook-Pro.local', ip: '172.16.64.102
via GitHub by shabana-parveen
, 1 year ago
Error communicating with the remote browser. It may have died. Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: 'GGNF1882s-MacBook-Pro.local', ip: '172.16.64.102
via Stack Overflow by Elad Benda
, 1 year ago
Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.47.1', revision: 'unknown', time: '2015-07-30 11:02:44' System info: host: 'waze
via GitHub by alexander-poulikakos
, 1 year ago
Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host
via GitHub by hajarbabour
, 1 year ago
Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.52.0', revision: '4c2593c', time: '2016-02-11 19:03:33' System info: host: 'users-iMac.local', ip
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)	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 org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:72)	at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:117)	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314)	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)	at org.openqa.selenium.remote.internal.ApacheHttpClient.fallBackExecute(ApacheHttpClient.java:144)	at org.openqa.selenium.remote.internal.ApacheHttpClient.execute(ApacheHttpClient.java:90)	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)	at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:27)	at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)	at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363)	at org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:413)	at io.appium.java_client.DefaultGenericMobileDriver.findElementById(DefaultGenericMobileDriver.java:47)	at io.appium.java_client.AppiumDriver.findElementById(AppiumDriver.java:1)	at io.appium.java_client.android.AndroidDriver.findElementById(AndroidDriver.java:1)	at org.openqa.selenium.By$ById.findElement(By.java:218)	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355)	at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:37)	at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)	at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)	at com.shineSauceLabs.Main.TestShineApp_MatchedJobs.test40_goto_ShineApp_testMatchedJobs(TestShineApp_MatchedJobs.java:66)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:100)	at org.testng.internal.Invoker.invokeMethod(Invoker.java:646)	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:811)	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1137)	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)	at org.testng.TestRunner.privateRun(TestRunner.java:753)	at org.testng.TestRunner.run(TestRunner.java:607)	at org.testng.SuiteRunner.runTest(SuiteRunner.java:368)	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:363)	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:321)	at org.testng.SuiteRunner.run(SuiteRunner.java:270)	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1284)	at org.testng.TestNG.runSuitesLocally(TestNG.java:1209)	at org.testng.TestNG.runSuites(TestNG.java:1124)	at org.testng.TestNG.run(TestNG.java:1096)	at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:236)	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:81)