org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; process output follows: (process:30300): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed Error: cannot open display: :1 (process:30308): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed Error: cannot open display: :1 Build info: version: '2.41.0', revision: '3192d8a', time: '2014-03-27 17:18:15' System info: host: 'santhu-personal', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.8.0-35-generic', java.version: '1.7.0_51' Driver info: driver.version: FirefoxDriver

Stack Overflow | raju | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Headless webdriver tests. Unable to use xvfb in java

    Stack Overflow | 3 years ago | raju
    org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; process output follows: (process:30300): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed Error: cannot open display: :1 (process:30308): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed Error: cannot open display: :1 Build info: version: '2.41.0', revision: '3192d8a', time: '2014-03-27 17:18:15' System info: host: 'santhu-personal', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.8.0-35-generic', java.version: '1.7.0_51' Driver info: driver.version: FirefoxDriver
  2. 0

    Cannot open browser in Docker container

    GitHub | 2 years ago | jmewes
    org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: (process:87): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed Error: cannot open display: :99.0 (process:95): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed Error: cannot open display: :99.0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Issue 7722 in selenium: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.

    Google Groups | 3 years ago | sele...@googlecode.com
    org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: (process:3791): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed Error: no display specified (process:3799): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed Error: no display specified at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118) at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246) at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:114) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:193) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:182) at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:99)
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: (process:30300): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed Error: cannot open display: :1 (process:30308): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed Error: cannot open display: :1

    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start()
  2. selenium-firefox-driver
    FirefoxDriver.startClient
    1. org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
    2. org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246)
    2 frames
  3. Selenium
    RemoteWebDriver.<init>
    1. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:114)
    1 frame
  4. selenium-firefox-driver
    FirefoxDriver.<init>
    1. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:193)
    2. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)
    3. org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:182)
    3 frames
  5. Unknown
    timnow.main
    1. timnow.main(timnow.java:25)
    1 frame