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 | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

    Stack Overflow | 5 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 | 1 year 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

    Unable to send url data into Mozila browser.

    GitHub | 6 months ago | gudu1994
    org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: xpi DEBUG Updating database with changes to installed add-ons 1477418070470 addons.xpi-utils DEBUG Updating add-on states 1477418070472 addons.xpi-utils DEBUG Writing add-ons list 1477418070476 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\e10srollout@mozilla.org.xpi 1477418070477 addons.xpi DEBUG Calling bootstrap method startup on e10srollout@mozilla.org version 1.3 1477418070477 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\firefox@getpocket.com.xpi 1477418070478 addons.xpi DEBUG Calling bootstrap method startup on firefox@getpocket.com version 1.0.4 1477418070479 addons.xpi DEBUG Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\features\webcompat@mozilla.org.xpi 1477418070480 addons.xpi DEBUG Calling bootstrap method startup on webcompat@mozilla.org version 1.0 1477418070483 addons.manager DEBUG Registering shutdown blocker for XPIProvider 1477418070484 addons.manager DEBUG Provider finished startup: XPIProvider 1477418070484 addons.manager DEBUG Starting provider: LightweightThemeManager 1477418070484 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager 1477418070485 addons.manager DEBUG Provider finished startup: LightweightThemeManager 1477418070486 addons.manager DEBUG Starting provider: GMPProvider 1477418070501 addons.manager DEBUG Registering shutdown blocker for GMPProvider 1477418070501 addons.manager DEBUG Provider finished startup: GMPProvider 1477418070503 addons.manager DEBUG Starting provider: PluginProvider 1477418070504 addons.manager DEBUG Registering shutdown blocker for PluginProvider 1477418070504 addons.manager DEBUG Provider finished startup: PluginProvider 1477418070505 addons.manager DEBUG Completed startup sequence 1477418072076 addons.manager DEBUG Starting provider: <unnamed-provider> 1477418072077 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider> 1477418072080 addons.manager DEBUG Provider finished startup: <unnamed-provider> 1477418072455 DeferredSave.extensions.json DEBUG Write succeeded 1477418072456 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 17 1477418072456 DeferredSave.extensions.json DEBUG Starting timer 1477418072479 DeferredSave.extensions.json DEBUG Starting write 1477418072501 addons.repository DEBUG No addons.json found. 1477418072503 DeferredSave.addons.json DEBUG Save changes 1477418072509 DeferredSave.addons.json DEBUG Starting timer 1477418072563 addons.manager DEBUG Starting provider: PreviousExperimentProvider 1477418072563 addons.manager DEBUG Registering shutdown blocker for PreviousExperimentProvider 1477418072564 addons.manager DEBUG Provider finished startup: PreviousExperimentProvider 1477418072570 DeferredSave.addons.json DEBUG Starting write 1477418072579 DeferredSave.extensions.json DEBUG Write succeeded 1477418072618 DeferredSave.addons.json DEBUG Write succeeded 1477418084775 addons.xpi DEBUG Calling bootstrap method shutdown on e10srollout@mozilla.org version 1.3 1477418084776 addons.xpi DEBUG Calling bootstrap method shutdown on firefox@getpocket.com version 1.0.4 1477418084777 addons.xpi DEBUG Calling bootstrap method shutdown on webcompat@mozilla.org version 1.0 1477418085297 addons.manager DEBUG shutdown 1477418085298 addons.manager DEBUG Calling shutdown blocker for XPIProvider 1477418085298 addons.xpi DEBUG shutdown 1477418085298 addons.xpi-utils DEBUG shutdown 1477418085300 addons.manager DEBUG Calling shutdown blocker for LightweightThemeManager 1477418085300 addons.manager DEBUG Calling shutdown blocker for GMPProvider 1477418085304 addons.manager DEBUG Calling shutdown blocker for PluginProvider 1477418085305 addons.manager DEBUG Calling shutdown blocker for <unnamed-provider> 1477418085308 addons.manager DEBUG Calling shutdown blocker for PreviousExperimentProvider 1477418085315 addons.xpi DEBUG Notifying XPI shutdown observers 1477418085322 addons.manager DEBUG Async provider shutdown done ```
  6. 0

    Error to run demo

    GitHub | 6 years ago | israelsantiago
    org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms
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