org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0 Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0

Stack Overflow | user1636922 | 4 years ago
  1. 0

    Webdriver Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

    Stack Overflow | 4 years ago | user1636922
    org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0 Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0
  2. 0

    Webdriver Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms - 精选 - 算法组

    suanfazu.com | 8 months ago
    org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0 Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0
  3. 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>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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

  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 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0 Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: cannot open display: :0.0

    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start()
  2. selenium-firefox-driver
    FirefoxDriver.startClient
    1. org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:109)
    2. org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:245)
    2 frames
  3. Selenium
    RemoteWebDriver.<init>
    1. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:109)
    1 frame
  4. selenium-firefox-driver
    FirefoxDriver.<init>
    1. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:185)
    2. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:178)
    3. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:174)
    4. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:92)
    4 frames
  5. com.test.webtest
    BrowserFactory.createBrowser
    1. com.test.webtest.browser.BrowserFactory.createBrowser(BrowserFactory.java:24)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:601)
    4 frames