com.thoughtworks.selenium.SeleniumException: Connection refused: > > connect at > > > com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(Http CommandProcessor.java: > > 111) at > > > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcess or.java: > > 90) at > > > com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium .java: > > 719) at > > > com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListen er.java: > > 27) at > > > com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(Screens hotListener.java: > > 41) at > > org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: > > 1791) at > > org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: > > 323) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:226) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)

Google Groups | John | 5 years ago
  1. 0

    Connection refused error for WebDriver

    Google Groups | 5 years ago | John
    com.thoughtworks.selenium.SeleniumException: Connection refused: > > connect at > > > com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(Http CommandProcessor.java: > > 111) at > > > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcess or.java: > > 90) at > > > com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium .java: > > 719) at > > > com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListen er.java: > > 27) at > > > com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(Screens hotListener.java: > > 41) at > > org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: > > 1791) at > > org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: > > 323) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:226) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)
  2. 0

    com.thoughtworks.selenium.SeleniumException: Connection refused: connect

    Google Groups | 5 years ago | pyrojonc
    com.thoughtworks.selenium.SeleniumException: Connection refused: > > connect at > > > com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java: > > 121) at > > > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java: > > 101) at > > > com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium.java: > > 744) at > > > com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListener.java: > > 27) at > > > com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(ScreenshotListener.java: > > 41) at > > org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: > > 1841) at > > org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: > > 333) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:236) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
  3. 0

    com.thoughtworks.selenium.SeleniumException: Connection refused: connect

    Google Groups | 5 years ago | pyrojonc
    com.thoughtworks.selenium.SeleniumException: Connection refused: > > connect at > > > com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java: > > 121) at > > > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java: > > 101) at > > > com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium.java: > > 744) at > > > com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListener.java: > > 27) at > > > com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(ScreenshotListener.java: > > 41) at > > org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: > > 1841) at > > org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: > > 333) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:236)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    com.thoughtworks.selenium.SeleniumException: Connection refused: connect

    Google Groups | 5 years ago | pyrojonc
    com.thoughtworks.selenium.SeleniumException: Connection refused: connect at com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java: 121) at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java: 101) at com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium.java: 744) at com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListener.java: 27) at com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(ScreenshotListener.java: 41) at org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: 1841) at org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: 333)
  6. 0

    [ubuntu] java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnviron

    ubuntuforums.org | 8 months ago
    com.thoughtworks.selenium.SeleniumException: ERROR: Problem capturing screenshot: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at com.thoughtworks.selenium.HttpCommandProcessor.thr owAssertionFailureExceptionOrError(HttpCommandProc essor.java:99) at com.thoughtworks.selenium.HttpCommandProcessor.doC ommand(HttpCommandProcessor.java:93) at com.thoughtworks.selenium.DefaultSelenium.captureS creenshot(DefaultSelenium.java:719) at com.zimbra.qa.selenium.framework.core.ExecuteHarne ssMain$ResultListener.getScreenCapture(ExecuteHarn essMain.java:646) at com.zimbra.qa.selenium.framework.core.ExecuteHarne ssMain$ResultListener.onConfigurationFailure(Execu teHarnessMain.java:700) at org.testng.internal.Invoker.runConfigurationListen ers(Invoker.java:1608) at org.testng.internal.Invoker.handleConfigurationFai lure(Invoker.java:286) at org.testng.internal.Invoker.invokeConfigurations(I nvoker.java:186) at org.testng.internal.Invoker.invokeConfigurations(I nvoker.java:92) at org.testng.SuiteRunner.privateRun(SuiteRunner.java :274)

    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. com.thoughtworks.selenium.SeleniumException

      Connection refused: > > connect at > > > com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(Http CommandProcessor.java: > > 111) at > > > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcess or.java: > > 90) at > > > com.thoughtworks.selenium.DefaultSelenium.captureScreenshot(DefaultSelenium .java: > > 719) at > > > com.thoughtworks.selenium.ScreenshotListener.onTestFailure(ScreenshotListen er.java: > > 27) at > > > com.thoughtworks.selenium.ScreenshotListener.onConfigurationFailure(Screens hotListener.java: > > 41) at > > org.testng.internal.Invoker.runConfigurationListeners(Invoker.java: > > 1791) at > > org.testng.internal.Invoker.handleConfigurationFailure(Invoker.java: > > 323) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:226) at > > org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)

      at org.testng.TestRunner.beforeRun()
    2. TestNG
      RemoteTestNG.main
      1. org.testng.TestRunner.beforeRun(TestRunner.java:632)
      2. org.testng.TestRunner.run(TestRunner.java:600)
      3. org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
      4. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
      5. org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
      6. org.testng.SuiteRunner.run(SuiteRunner.java:240)
      7. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      8. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      9. org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
      10. org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
      11. org.testng.TestNG.run(TestNG.java:999)
      12. org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
      13. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:203)
      14. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:174)
      14 frames