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


Solutions on the web

Solution icon of stackoverflow
-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

Solution icon of web
Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; process output follows: (process:12669): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed Error: no display specified Build info: version: '2.46.0

Solution icon of github
Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; process output follows: (process:734): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed Xlib: extension "RANDR" missing on display ":99". process

Solution icon of stackoverflow
Failed to connect to binary FirefoxBinary(/usr/bin/firefox-bin) on port 7055; process output follows: No protocol specified No protocol specified Error: cannot open display: :0 Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09

Solution icon of stackoverflow
Failed to connect to binary FirefoxBinary(/usr/lib64/firefox/firefox) on port 7055; process output follows: Error: cannot open display: :99 Error: cannot open display: :99 Build info: version: '2.45.0', revision: '32a636c', time: '2015-03-05 22:01

Solution icon of github
Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; process output follows: null Build info: version: '3.0.0-beta2', revision: '2aa21c1', time: '2016-08-02 15:03:28 -0700' System info: host: 'astepano-ws.brq.redhat.com', ip

Solution icon of stackoverflow
via Stack Overflow by Rafał Rychlewski
, 2 months ago
Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; process output follows: amed-provider> 1500922321841 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider> 1500922321841 addons.manager DEBUG

Solution icon of web
Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows: null Build info: version: ‘2.44.0’, revision: ’76d78cf’, time: ‘2014-10-23 20:03:00’ System info: host: ‘SL-884NQ12

Solution icon of googlegroups
via Google Groups by Martijn Van Loocke, 1 year ago
Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows: Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46

Solution icon of github
via GitHub by vmi
, 1 year ago
Failed to connect to binary FirefoxBinary(/usr/local/bin/geckodriver) on port 7055; process output follows: Usage: /usr/local/bin/geckodriver [OPTIONS] /usr/local/bin/geckodriver: Unknown short option "f" Build info: version: 'unknown

Stack trace

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
	at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:130)
	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 timnow.main(timnow.java:25)
Caused by: 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(NewProfileExtensionConnection.java:118)
	... 6 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
71 more bugmates