org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host localhost.localdomain on port 7055 after 45000 ms. Firefox console output: Error: cannot open display: :2 Error: cannot open display: :2 at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)

Stack Overflow | Little bird | 2 months ago
  1. 0

    Getting org.openqa.selenium.firefox.NotConnectedException Exception

    Stack Overflow | 2 months ago | Little bird
    org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host localhost.localdomain on port 7055 after 45000 ms. Firefox console output: Error: cannot open display: :2 Error: cannot open display: :2 at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
  2. 0

    Firefox 36 Breaks Testing

    GitHub | 2 years ago | akester
    org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: rg to /usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi 1425444559765 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} 1425444559765 addons.xpi INFO Mapping langpack-en-ZA@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi 1425444559767 addons.xpi INFO Mapping ubufox@ubuntu.com to /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com 1425444559768 addons.xpi DEBUG checkForChanges 1425444559768 addons.xpi DEBUG Loaded add-on state from prefs: {"app-profile":{"fxdriver@googlecode.com":{"d":"/tmp/anonymous4041943652696388685webdriver-profile/extensions/fxdriver@googlecode.com","e":true,"v":"2.43.1","st":1425444558000,"mt":1425444558000}},"app-global":{"langpack-en-GB@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi","e":true,"v":"36.0","st":1424787072000},"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"36.0","st":1425009975000,"mt":1424786518000},"langpack-en-ZA@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi","e":true,"v":"36.0","st":1424787072000}},"app-system-share":{"ubufox@ubuntu.com":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com","e":false,"v":"3.0","st":1421454858000,"mt":1420839872000}}} 1425444559769 addons.xpi DEBUG getModTime: Recursive scan of fxdriver@googlecode.com 1425444559772 addons.xpi DEBUG getModTime: Recursive scan of langpack-en-GB@firefox.mozilla.org 1425444559773 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd} 1425444559773 addons.xpi DEBUG getModTime: Recursive scan of langpack-en-ZA@firefox.mozilla.org 1425444559774 addons.xpi DEBUG getInstallState changed: false, state: {"app-profile":{"fxdriver@googlecode.com":{"d":"/tmp/anonymous4041943652696388685webdriver-profile/extensions/fxdriver@googlecode.com","e":true,"v":"2.43.1","st":1425444558000,"mt":1425444558000}},"app-global":{"langpack-en-GB@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi","e":true,"v":"36.0","st":1424787072000},"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"36.0","st":1425009975000,"mt":1424786518000},"langpack-en-ZA@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi","e":true,"v":"36.0","st":1424787072000}},"app-system-share":{"ubufox@ubuntu.com":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com","e":false,"v":"3.0","st":1421454858000,"mt":1420839872000}}} 1425444559776 addons.xpi DEBUG No changes found 1425444559781 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi 1425444559782 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi 1425444559783 addons.manager DEBUG Registering shutdown blocker for XPIProvider 1425444559784 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager 1425444559786 addons.manager DEBUG Registering shutdown blocker for OpenH264Provider 1425444559787 addons.manager DEBUG Registering shutdown blocker for PluginProvider JavaScript error: file:///tmp/anonymous4041943652696388685webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js, line 11464: TypeError: this.server_ is undefined JavaScript error: chrome://fxdriver/content/server.js, line 38: NS_ERROR_XPC_CI_RETURNED_FAILURE: Component returned failure code: 0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance] *** Blocklist::_preloadBlocklistFile: blocklist is disabled 1425444560889 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
  3. 0

    Error to run demo

    GitHub | 5 years ago | israelsantiago
    org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mac build issue using maven 3.0.3

    GitHub | 5 years ago | ksader-edmunds
    org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms
  6. 0

    pb to collect Navigation Timing metrics on Debian

    GitHub | 3 years ago | pydubreucq
    org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: Error: no display specified Error: no display specified

  1. andyglick 1 times, last 8 months ago
  2. Markus Dausch 1 times, last 9 months ago
12 unregistered visitors
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. org.openqa.selenium.firefox.NotConnectedException

    Unable to connect to host localhost.localdomain on port 7055 after 45000 ms. Firefox console output: Error: cannot open display: :2 Error: cannot open display: :2 at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)

    at org.openqa.selenium.firefox.FirefoxDriver.startClient()
  2. selenium-firefox-driver
    FirefoxDriver.startClient
    1. org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:250)
    1 frame
  3. Selenium
    RemoteWebDriver.<init>
    1. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
    1 frame
  4. selenium-firefox-driver
    FirefoxDriver.<init>
    1. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:197)
    2. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)
    3. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)
    3 frames