Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

Firefox WebDriver doesn't work with Firefox 28 #7104

Closed
lukeis opened this issue Mar 4, 2016 · 56 comments
Closed

Firefox WebDriver doesn't work with Firefox 28 #7104

lukeis opened this issue Mar 4, 2016 · 56 comments

Comments

@lukeis
Copy link
Member

lukeis commented Mar 4, 2016

Originally reported on Google Code with ID 7104

Guys, I'm aware that a similar ticket already exist but it's mark as fixed even though
there are many questions about the fix and why it's still reproducible. Hence I created
a new one.

For some reason Firefox WebDriver (2.37.1) doesn't work with Firefox 28, it does work
with Firefox 27 though.

Here's the stack trace when attempting to open a url:

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:
*** LOG addons.manager: Application has been upgraded
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: /usr/local/Cellar/tomcat/7.0.42/libexec/temp/anonymous1147859994468457239webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Directory state JSON differs: cache [] state [{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"/Applications/Firefox.app/Contents/MacOS/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1395244334000,"rdfTime":1395244333000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"/usr/local/Cellar/tomcat/7.0.42/libexec/temp/anonymous1147859994468457239webdriver-profile/extensions/fxdriver@googlecode.com","mtime":1395245592000,"rdfTime":1395245592000}}}]
*** LOG addons.xpi-utils: Opening XPI database /usr/local/Cellar/tomcat/7.0.42/libexec/temp/anonymous1147859994468457239webdriver-profile/extensions.json
*** LOG addons.xpi: New add-on fxdriver@googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.xpi-utils: Make addon app-profile:fxdriver@googlecode.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in
app-global
*** LOG addons.xpi-utils: Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Updating database with changes to installed add-ons
*** LOG addons.xpi-utils: Updating add-on states
*** LOG addons.xpi-utils: Writing add-ons list
*** LOG DeferredSave/extensions.json: Starting timer
*** LOG DeferredSave/extensions.json: Starting write
*** LOG DeferredSave/extensions.json: Write succeeded
*** LOG addons.xpi-utils: XPI Database saved, setting schema version preference to
15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: /usr/local/Cellar/tomcat/7.0.42/libexec/temp/anonymous1147859994468457239webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 648: aUrl is undefined

I guess the reason for this is a change in WebDriver API in Firefox, should I create
a ticket for the Firefox team?

Appreciate the work that you do and have done on Selenium.

Thanks!

Dima.

Reported by int.256h on 2014-03-19 16:31:22

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

My workaround for a similar intermittent timeout issue using WebDriver 2.40 and FireFox
27.0 is to use a combination of WebDriver 2.39 with FireFox 26.0. 

Maybe the FireFox team can point to the add-on trigger for update.

Reported by ScottBA2000 on 2014-03-24 17:58:57

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by barancev on 2014-03-26 04:53:07

  • Labels added: Browser-Firefox

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Please upgrade Selenium, version 2.37 does not support latest Firefox versions.

Reported by barancev on 2014-04-02 06:16:50

  • Status changed: Invalid
  • Labels removed: Status-Untriaged

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

This IS a valid issue.  Please escalate.  2.41.0 does not operate with my firefox 28.0

Reported by guglielmijaison on 2014-04-03 22:12:38

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I concur - experiencing the same problem attempting to use FF28 against
WebDrivers 2.41.0, 2.37.0, 2.35.0, 2.34.0, 2.33.0 and 2.32.0

Anyone else?

Reported by b.cutkelv on 2014-04-03 22:26:03

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I updated the oasis and oasismaven projects to use selenium 2.39.0. The report responder
has also been added to oasis. I will be looking into the updated code fix you recommended
instead of wget.

Reported by guglielmijaison on 2014-04-04 00:05:03

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

@guglielmijaison: "... and does not operate means ..."?

Reported by barancev on 2014-04-04 07:45:06

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

As everyone has indicated, a browser session starts, but the webdriver does not display
the page at all once the open command is triggered. A blank page is the only thing
that displays for me. The webdriver addon tab customarily displayed at the bottom of
the page is not displayed. It would display at the bottom and flash while executing
commands. It is not even present in any of my test executions displays. 

Reported by guglielmijaison on 2014-04-04 07:50:02

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

For me "...does not operate..." is the similar behavior where I experience the same
stack trace - very many references of failed .xpi add on's.

Thanks. 

Reported by b.cutkelv on 2014-04-04 14:57:00

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

@guglielmijaison: Do you have any exceptions on the client side? What exactly? Do you
have a similar issue with the previos Firefox version (2.27)?

@b.cutkelv: The log posted in the original report does not contain a single "real error"
message, only "debug info" messages. Do you have any exceptions on the client side?
What exactly? Do you have a similar issue with the previos Firefox version (2.27)?

Reported by barancev on 2014-04-04 21:19:09

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

It just timed out. I have seen this previously. Reverting Firefox versions
to 27.0 fixed the issue.

Reported by guglielmijaison on 2014-04-04 23:36:37

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Pretty much, the webdriver firefox add-ons are not being added to the firefox window.
 The only thing happening is that a blank firefox page is being displayed. The firefox
webdriver extension is not viewable within the window that is created under the add-ons
manager.  Hopefully this is indicative of where the problem resides.  

Reported by guglielmijaison on 2014-04-07 10:46:07

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

@barancev - apologies the late reply, I was OOO for the weekend. While using WebDriver
2.37.0 on FF28, the first exception appears as:

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1
on port 7055 after 45000 ms. Firefox console output:
app-profile:{e3f6c2cc-d8db-498c-af6c-499fb211db97} visible

Now, if I role the browser back to FF27, this is not a problem. Also, just as guglielmijaison
mentioned, attempting to run results in a blank browser window appears. 

Here is the entirety of the debug and error messages that appears as the stack trace
from the Console window (and in Jenkins as well). NOTE: for NDA purposes some certain
things have been omitted.

Thanks



[TestNG] Running:
  C:\Users\dude.\workspace\marwk5\src\test\resource\_Registration_SignUp_Test.xml

********************************************
[STARTING TEST: BLAH  registration: Sign Up Page Test]
********************************************
[*INFO*] Initializing BaseTest...
[*INFO*] Config file being used is set to default: mainConfig
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1
on port 7055 after 45000 ms. Firefox console output:
app-profile:{e3f6c2cc-d8db-498c-af6c-499fb211db97} visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Add-on netexport@getfirebug.com modified in app-profile
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi-utils: Make addon app-profile:netexport@getfirebug.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Add-on firebug@software.joehewitt.com modified in app-profile
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi-utils: Make addon app-profile:firebug@software.joehewitt.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
*** LOG addons.xpi: Calling bootstrap method install on firebug@software.joehewitt.com
version 1.12.7
*** LOG addons.xpi: New add-on fxdriver@googlecode.com installed in app-profile
*** LOG addons.xpi-utils: Make addon app-profile:fxdriver@googlecode.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Updating database with changes to installed add-ons
*** LOG addons.xpi-utils: Updating add-on states
*** LOG addons.xpi-utils: Writing add-ons list
*** LOG addons.xpi: Registering manifest for C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on firebug@software.joehewitt.com
version 1.12.7
*** LOG DeferredSave/extensions.json: Starting timer
*** LOG DeferredSave/extensions.json: Starting write
*** LOG DeferredSave/extensions.json: Write succeeded
*** LOG addons.xpi-utils: XPI Database saved, setting schema version preference to
15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
[1652] WARNING: pipe error: 109: file c:/builds/moz2_slave/rel-m-rel-w32_bld-000000000000/build/ipc/chromium/src/chrome/common/ipc_channel_win.cc,
line 312
NOTE: child process received `Goodbye', closing down
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
*** LOG addons.xpi: Registering manifest for C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on firebug@software.joehewitt.com
version 1.12.7
*** LOG addons.xpi-utils: Starting async load of XPI database C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions.json
JavaScript warning: chrome://web-developer/content/common/jquery/jquery.js, line 1:
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead
*** LOG addons.xpi-utils: Async JSON file read took 1 MS
*** LOG addons.xpi-utils: Finished async read of XPI database, parsing...
*** LOG addons.xpi-utils: Successfully read XPI database
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 648: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 648: aUrl is undefined

    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:108)
    at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:250)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:195)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:103)
    at com.BLAH.config.DriverFactory.getDriver(DriverFactory.java:105)
    at com.BLAH.tests.BaseTest.setUpDriver(BaseTest.java:51)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
    at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
    at org.testng.TestRunner.beforeRun(TestRunner.java:641)
    at org.testng.TestRunner.run(TestRunner.java:609)
    at org.testng.SuiteRunner.runTest(SuiteRunner.java:335)
    at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:330)
    at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
    at org.testng.SuiteRunner.run(SuiteRunner.java:240)
    at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
    at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
    at org.testng.TestNG.run(TestNG.java:1057)
    at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
    at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
    at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
[**ERROR**] setup error
org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program
Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows: 
app-profile:{e3f6c2cc-d8db-498c-af6c-499fb211db97} visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Add-on netexport@getfirebug.com modified in app-profile
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi-utils: Make addon app-profile:netexport@getfirebug.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Add-on firebug@software.joehewitt.com modified in app-profile
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi-utils: Make addon app-profile:firebug@software.joehewitt.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
*** LOG addons.xpi: Calling bootstrap method install on firebug@software.joehewitt.com
version 1.12.7
*** LOG addons.xpi: New add-on fxdriver@googlecode.com installed in app-profile
*** LOG addons.xpi-utils: Make addon app-profile:fxdriver@googlecode.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Updating database with changes to installed add-ons
*** LOG addons.xpi-utils: Updating add-on states
*** LOG addons.xpi-utils: Writing add-ons list
*** LOG addons.xpi: Registering manifest for C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on firebug@software.joehewitt.com
version 1.12.7
*** LOG DeferredSave/extensions.json: Starting timer
*** LOG DeferredSave/extensions.json: Starting write
*** LOG DeferredSave/extensions.json: Write succeeded
*** LOG addons.xpi-utils: XPI Database saved, setting schema version preference to
15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
[1652] WARNING: pipe error: 109: file c:/builds/moz2_slave/rel-m-rel-w32_bld-000000000000/build/ipc/chromium/src/chrome/common/ipc_channel_win.cc,
line 312
NOTE: child process received `Goodbye', closing down
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
*** LOG addons.xpi: Registering manifest for C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on firebug@software.joehewitt.com
version 1.12.7
*** LOG addons.xpi-utils: Starting async load of XPI database C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions.json
JavaScript warning: chrome://web-developer/content/common/jquery/jquery.js, line 1:
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead
*** LOG addons.xpi-utils: Async JSON file read took 1 MS
*** LOG addons.xpi-utils: Finished async read of XPI database, parsing...
*** LOG addons.xpi-utils: Successfully read XPI database
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 648: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 648: aUrl is undefined

Build info: version: '2.37.0', revision: 'a7c61cbd68657e133ae96672cf995890bad2ee42',
time: '2013-10-18 09:51:02'
System info: host: 'B-PC', ip: '172.28.9.86', os.name: 'Windows 7', os.BLAHh: 'amd64',
os.version: '6.1', java.version: '1.7.0_25'
Driver info: driver.version: FirefoxDriver
    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:120)
    at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:250)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:195)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:103)
    at com.BLAH.config.DriverFactory.getDriver(DriverFactory.java:105)
    at com.BLAH.tests.BaseTest.setUpDriver(BaseTest.java:51)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
    at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
    at org.testng.TestRunner.beforeRun(TestRunner.java:641)
    at org.testng.TestRunner.run(TestRunner.java:609)
    at org.testng.SuiteRunner.runTest(SuiteRunner.java:335)
    at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:330)
    at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
    at org.testng.SuiteRunner.run(SuiteRunner.java:240)
    at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
    at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
    at org.testng.TestNG.run(TestNG.java:1057)
    at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
    at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
    at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
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:
app-profile:{e3f6c2cc-d8db-498c-af6c-499fb211db97} visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Add-on netexport@getfirebug.com modified in app-profile
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi-utils: Make addon app-profile:netexport@getfirebug.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Add-on firebug@software.joehewitt.com modified in app-profile
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi-utils: Make addon app-profile:firebug@software.joehewitt.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
*** LOG addons.xpi: Calling bootstrap method install on firebug@software.joehewitt.com
version 1.12.7
*** LOG addons.xpi: New add-on fxdriver@googlecode.com installed in app-profile
*** LOG addons.xpi-utils: Make addon app-profile:fxdriver@googlecode.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Updating database with changes to installed add-ons
*** LOG addons.xpi-utils: Updating add-on states
*** LOG addons.xpi-utils: Writing add-ons list
*** LOG addons.xpi: Registering manifest for C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on firebug@software.joehewitt.com
version 1.12.7
*** LOG DeferredSave/extensions.json: Starting timer
*** LOG DeferredSave/extensions.json: Starting write
*** LOG DeferredSave/extensions.json: Write succeeded
*** LOG addons.xpi-utils: XPI Database saved, setting schema version preference to
15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
[1652] WARNING: pipe error: 109: file c:/builds/moz2_slave/rel-m-rel-w32_bld-000000000000/build/ipc/chromium/src/chrome/common/ipc_channel_win.cc,
line 312
NOTE: child process received `Goodbye', closing down
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
*** LOG addons.xpi: Registering manifest for C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions\firebug@software.joehewitt.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on firebug@software.joehewitt.com
version 1.12.7
*** LOG addons.xpi-utils: Starting async load of XPI database C:\Users\dude~1.\AppData\Local\Temp\anonymous6478414441712651833webdriver-profile\extensions.json
JavaScript warning: chrome://web-developer/content/common/jquery/jquery.js, line 1:
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead
*** LOG addons.xpi-utils: Async JSON file read took 1 MS
*** LOG addons.xpi-utils: Finished async read of XPI database, parsing...
*** LOG addons.xpi-utils: Successfully read XPI database
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 648: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 648: aUrl is undefined

    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:108)
    ... 30 more
************************************************************

[*INFO*] Set up in BaseTest. [Test Class] HomePage_Register_SignUp

===============================================
AQA-37 Automate BLAH.com Registration
Total tests run: 29, Failures: 0, Skips: 29
Configuration Failures: 1, Skips: 5
===============================================










Reported by b.cutkelv on 2014-04-07 18:45:10

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

@b.cutkelv: There is no doubt selenium 2.37 does not work with Firefox 28.
Do you have any issues with the latest Selenium version that is 2.41 at the moment?

Reported by barancev on 2014-04-07 19:13:34

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Hi barancev. Thanks for your responses

If I attempt to run WebDriver 2.41.0 with FF28, I get a different error result: on
the unit test side-

java.lang.NoClassDefFoundError: com/google/common/base/Optional
    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.loadCustomExtension(NewProfileExtensionConnection.java:156)
    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.addWebDriverExtensionIfNeeded(NewProfileExtensionConnection.java:148)
    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:80)
    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:191)
    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)
    at com.BLAHBLAH.config.DriverFactory.getDriver(DriverFactory.java:105)
    at com.BLAHBLAH.tests.BaseTest.setUpDriver(BaseTest.java:51)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
    at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
    at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
    at org.testng.TestRunner.beforeRun(TestRunner.java:641)
    at org.testng.TestRunner.run(TestRunner.java:609)
    at org.testng.SuiteRunner.runTest(SuiteRunner.java:335)
    at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:330)
    at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
    at org.testng.SuiteRunner.run(SuiteRunner.java:240)
    at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
    at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
    at org.testng.TestNG.run(TestNG.java:1057)
    at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
    at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
    at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
Caused by: java.lang.ClassNotFoundException: com.google.common.base.Optional
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 33 more

Reported by b.cutkelv on 2014-04-07 19:50:29

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Hi Guys,

I'm also experiencing same issue. Webdriver 2.41 is not working with FF28 and FF27.Webdriver
launches the browser and it's not launching the URL.Getting below exception "org.openqa.selenium.firefox.NotConnectedException:
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console....".
Can anyone reopen this defect.Its a real defect with FF28 + Webdriver 2.41.

Reported by srinivasan.sekar1990 on 2014-04-08 05:31:51

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

@b.cutkelv: classpath problems are caused by misconfiguration of your project dependencies,
send a question to the selenium user group, it is not an issue that we should fix on
selenium side.

Reported by barancev on 2014-04-08 06:07:51

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Resume: I'm not going to reopen this issue because it is related to Selenium 2.37 version
that is known to be incompatible with Firefox 28 and newer.

If someone has issues with Selenium 2.41 please raise a new report and provide more
info to reproduce the issue. It is most probably related to your configuration (network,
browser plugins, antivirus software) or parallel test execution.

We are sure it is not a general problem because Selenium passes regression tests with
Firefox 28 in SauceLabs environment: http://ci.seleniumhq.org:8080/

Reported by barancev on 2014-04-08 06:12:59

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

@barancev - ok thank you. So what is the latest WebDriver you recommend compatible with
FF28?

Reported by b.cutkelv on 2014-04-08 06:22:16

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

2.37 and older don't support FF28 at all.
2.38-2.40 support FF28 with synthesized events.
2.41 supports FF28 with native and synthesized events.

Reported by barancev on 2014-04-08 06:33:10

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

@barancev - this is fantastic feedback. Thank you so much for your time and hard work.
Nice Jenkins set up. :)

Reported by b.cutkelv on 2014-04-08 06:35:34

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Somtimes You might got this error due to old jars in project. Check and it might be
the case.

Reported by urbanekmike on 2014-04-17 06:33:25

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Hi,

recently i have updated my WebDriver jar to ver-2.41.0, when i am trying to run WebDriver
2.41.0 with FF28, Webdriver launches the browser but it is not able launching the URL.
I am Getting Below Error. Any one Please help me out.

****************************************************************************

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host localhost
on port 7055 after 45000 ms. Firefox console output:
*** LOG addons.manager: Application has been upgraded
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\DOCUME~1\anil\LOCALS~1\Temp\anonymous8997343148580235232webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Directory state JSON differs: cache [] state [{"name":"winreg-app-global","addons":{"{20a82645-c095-46ed-80e3-08825760534b}":{"descriptor":"C:\\WINDOWS\\Microsoft.NET\\Framework\\v3.5\\Windows
Presentation Foundation\\DotNetAssistantExtension","mtime":1344518548044,"rdfTime":1232695120000},"jqs@sun.com":{"descriptor":"C:\\Program
Files\\Java\\jre6\\lib\\deploy\\jqs\\ff","mtime":1376472029178,"rdfTime":1376472029178}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program
Files\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1397800429535,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\DOCUME~1\\anil\\LOCALS~1\\Temp\\anonymous8997343148580235232webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1397804630742,"rdfTime":1397804628961}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\DOCUME~1\anil\LOCALS~1\Temp\anonymous8997343148580235232webdriver-profile\extensions.json
*** LOG addons.xpi: New add-on fxdriver@googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.xpi-utils: Make addon app-profile:fxdriver@googlecode.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in
app-global
*** LOG addons.xpi-utils: Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: New add-on {20a82645-c095-46ed-80e3-08825760534b} installed in
winreg-app-global
*** LOG addons.xpi-utils: Make addon winreg-app-global:{20a82645-c095-46ed-80e3-08825760534b}
visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: New add-on jqs@sun.com installed in winreg-app-global
*** LOG addons.xpi-utils: Make addon winreg-app-global:jqs@sun.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Updating database with changes to installed add-ons
*** LOG addons.xpi-utils: Updating add-on states
*** LOG addons.xpi-utils: Writing add-ons list
*** LOG DeferredSave/extensions.json: Starting timer
*** LOG DeferredSave/extensions.json: Starting write
*** LOG DeferredSave/extensions.json: Write succeeded
*** LOG addons.xpi-utils: XPI Database saved, setting schema version preference to
15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\DOCUME~1\abcd\LOCALS~1\Temp\anonymous8997343148580235232webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled

    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:106)
    at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:244)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:188)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:183)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:179)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:96)
    at testControl.TestControl.Run_Final_Scenario_Steps(TestControl.java:621)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
    at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program
Files\Mozilla Firefox\firefox.exe) on port 7055; process output follows: 
*** LOG addons.manager: Application has been upgraded
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\DOCUME~1\abcd\LOCALS~1\Temp\anonymous8997343148580235232webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Directory state JSON differs: cache [] state [{"name":"winreg-app-global","addons":{"{20a82645-c095-46ed-80e3-08825760534b}":{"descriptor":"C:\\WINDOWS\\Microsoft.NET\\Framework\\v3.5\\Windows
Presentation Foundation\\DotNetAssistantExtension","mtime":1344518548044,"rdfTime":1232695120000},"jqs@sun.com":{"descriptor":"C:\\Program
Files\\Java\\jre6\\lib\\deploy\\jqs\\ff","mtime":1376472029178,"rdfTime":1376472029178}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program
Files\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1397800429535,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\DOCUME~1\\anil\\LOCALS~1\\Temp\\anonymous8997343148580235232webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1397804630742,"rdfTime":1397804628961}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\DOCUME~1\anil\LOCALS~1\Temp\anonymous8997343148580235232webdriver-profile\extensions.json
*** LOG addons.xpi: New add-on fxdriver@googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.xpi-utils: Make addon app-profile:fxdriver@googlecode.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in
app-global
*** LOG addons.xpi-utils: Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: New add-on {20a82645-c095-46ed-80e3-08825760534b} installed in
winreg-app-global
*** LOG addons.xpi-utils: Make addon winreg-app-global:{20a82645-c095-46ed-80e3-08825760534b}
visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: New add-on jqs@sun.com installed in winreg-app-global
*** LOG addons.xpi-utils: Make addon winreg-app-global:jqs@sun.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Updating database with changes to installed add-ons
*** LOG addons.xpi-utils: Updating add-on states
*** LOG addons.xpi-utils: Writing add-ons list
*** LOG DeferredSave/extensions.json: Starting timer
*** LOG DeferredSave/extensions.json: Starting write
*** LOG DeferredSave/extensions.json: Write succeeded
*** LOG addons.xpi-utils: XPI Database saved, setting schema version preference to
15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\DOCUME~1\abcd\LOCALS~1\Temp\anonymous8997343148580235232webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled

Build info: version: '2.32.0', revision: '6c40c18', time: '2013-04-09 17:22:56'
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version:
'1.6.0_17'
Driver info: driver.version: FirefoxDriver
    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
    at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:244)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:188)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:183)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:179)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:96)
    at testControl.TestControl.Run_Final_Scenario_Steps(TestControl.java:621)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
    at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
Caused by: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to
host localhost on port 7055 after 45000 ms. Firefox console output:
*** LOG addons.manager: Application has been upgraded
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\DOCUME~1\abcd\LOCALS~1\Temp\anonymous8997343148580235232webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: Directory state JSON differs: cache [] state [{"name":"winreg-app-global","addons":{"{20a82645-c095-46ed-80e3-08825760534b}":{"descriptor":"C:\\WINDOWS\\Microsoft.NET\\Framework\\v3.5\\Windows
Presentation Foundation\\DotNetAssistantExtension","mtime":1344518548044,"rdfTime":1232695120000},"jqs@sun.com":{"descriptor":"C:\\Program
Files\\Java\\jre6\\lib\\deploy\\jqs\\ff","mtime":1376472029178,"rdfTime":1376472029178}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program
Files\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1397800429535,"rdfTime":1394865255000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\DOCUME~1\\abcd\\LOCALS~1\\Temp\\anonymous8997343148580235232webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1397804630742,"rdfTime":1397804628961}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\DOCUME~1\abcd\LOCALS~1\Temp\anonymous8997343148580235232webdriver-profile\extensions.json
*** LOG addons.xpi: New add-on fxdriver@googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** LOG addons.xpi-utils: Make addon app-profile:fxdriver@googlecode.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in
app-global
*** LOG addons.xpi-utils: Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: New add-on {20a82645-c095-46ed-80e3-08825760534b} installed in
winreg-app-global
*** LOG addons.xpi-utils: Make addon winreg-app-global:{20a82645-c095-46ed-80e3-08825760534b}
visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: New add-on jqs@sun.com installed in winreg-app-global
*** LOG addons.xpi-utils: Make addon winreg-app-global:jqs@sun.com visible
*** LOG DeferredSave/extensions.json: Save changes
*** LOG DeferredSave/extensions.json: Save changes
*** LOG addons.xpi: Updating database with changes to installed add-ons
*** LOG addons.xpi-utils: Updating add-on states
*** LOG addons.xpi-utils: Writing add-ons list
*** LOG DeferredSave/extensions.json: Starting timer
*** LOG DeferredSave/extensions.json: Starting write
*** LOG DeferredSave/extensions.json: Write succeeded
*** LOG addons.xpi-utils: XPI Database saved, setting schema version preference to
15
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi: Notifying XPI shutdown observers
*** LOG addons.manager: Async provider shutdown done
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location app-system-local
*** LOG addons.xpi: Skipping unavailable install location app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on ID: C:\DOCUME~1\abcd\LOCALS~1\Temp\anonymous8997343148580235232webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled

    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:106)
    ... 20 more
java.lang.NullPointerException
    at testControl.TestControl.Run_Final_Scenario_Steps(TestControl.java:636)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
    at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
*************************************************************************************

Reported by kishoregs on 2014-04-18 07:14:34

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I see the exact same issues with Selenium 2.41 and FF27 or 28

 org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1
on port 7055 after 45000 ms. Firefox console output:
   [testng] *** LOG addons.manager: Application has been upgraded
   [testng] *** LOG addons.xpi: startup
   [testng] *** LOG addons.xpi: Skipping unavailable install location app-system-share
   [testng] *** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on
ID: /var/folders/8y/mytzy5dn39q75q4cc5byxmgc0000gp/T/anonymous2945953716968893305webdriver-profile/extensions/webdriver-staging
   [testng] *** LOG addons.xpi: checkForChanges
   [testng] *** LOG addons.xpi: Directory state JSON differs: cache [] state [{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"/Applications/Firefox.app/Contents/MacOS/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1394865921000,"rdfTime":1394864421000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"/var/folders/8y/mytzy5dn39q75q4cc5byxmgc0000gp/T/anonymous2945953716968893305webdriver-profile/extensions/fxdriver@googlecode.com","mtime":1402535745000,"rdfTime":1402535745000}}}]
   [testng] *** LOG addons.xpi-utils: Opening XPI database /var/folders/8y/mytzy5dn39q75q4cc5byxmgc0000gp/T/anonymous2945953716968893305webdriver-profile/extensions.json
   [testng] *** LOG addons.xpi: New add-on fxdriver@googlecode.com installed in app-profile
   [testng] *** Blocklist::_loadBlocklistFromFile: blocklist is disabled
   [testng] *** LOG addons.xpi-utils: Make addon app-profile:fxdriver@googlecode.com
visible
   [testng] *** LOG DeferredSave/extensions.json: Save changes
   [testng] *** LOG DeferredSave/extensions.json: Save changes
   [testng] *** LOG addons.xpi: New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed
in app-global
   [testng] *** LOG addons.xpi-utils: Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
   [testng] *** LOG DeferredSave/extensions.json: Save changes
   [testng] *** LOG DeferredSave/extensions.json: Save changes
   [testng] *** LOG addons.xpi: Updating database with changes to installed add-ons
   [testng] *** LOG addons.xpi-utils: Updating add-on states
   [testng] *** LOG addons.xpi-utils: Writing add-ons list
   [testng] *** LOG DeferredSave/extensions.json: Starting timer
   [testng] *** LOG DeferredSave/extensions.json: Starting write
   [testng] *** LOG DeferredSave/extensions.json: Write succeeded
   [testng] *** LOG addons.xpi-utils: XPI Database saved, setting schema version preference
to 15
   [testng] *** LOG addons.manager: shutdown
   [testng] *** LOG addons.xpi: shutdown
   [testng] *** LOG addons.xpi-utils: shutdown
   [testng] *** LOG addons.xpi: Notifying XPI shutdown observers
   [testng] *** LOG addons.manager: Async provider shutdown done
   [testng] *** LOG addons.xpi: startup
   [testng] *** LOG addons.xpi: Skipping unavailable install location app-system-share
   [testng] *** LOG addons.xpi: Ignoring file entry whose name is not a valid add-on
ID: /var/folders/8y/mytzy5dn39q75q4cc5byxmgc0000gp/T/anonymous2945953716968893305webdriver-profile/extensions/webdriver-staging
   [testng] *** LOG addons.xpi: checkForChanges
   [testng] *** LOG addons.xpi: No changes found
   [testng] *** Blocklist::_loadBlocklistFromFile: blocklist is disabled
   [testng] JavaScript error: chrome://browser/content/urlbarBindings.xml, line 648:
aUrl is undefined
   [testng]     at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:106)
   [testng]     at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:244)
   [testng]     at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
   [testng]     at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:188)
   [testng]     at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:183)
   [testng]     at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:100)
   [testng]     at com.disney.wdpro.automation.actuator.ThreadSafeSeleniumWrapperImpl.init(ThreadSafeSeleniumWrapperImpl.java:110)
   [testng]     at com.disney.wdpro.automation.selenium.core.SeleniumScenario.<init>(SeleniumScenario.java:50)
   [testng]     at com.disney.selenium.common.TestUtility.<init>(Unknown Source)
   [testng]     at com.disney.test.suite.Suite_Packages.GuestSTD_PKG02_PlatinumDining(Unknown
Source)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [testng]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [testng]     at java.lang.reflect.Method.invoke(Method.java:597)
   [testng]     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
   [testng]     at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
   [testng]     at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
   [testng]     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
   [testng]     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
   [testng]     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
   [testng]     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
   [testng]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
   [testng]     at java.lang.Thread.run(Thread.java:695)


When is there going to be a fix for this?

Reported by tomkessler3 on 2014-06-12 01:20:15

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Above Same issue observed

Firefox version 32.0 not supported with Selenium Java 2.42.2.

Please help

Reported by chetan.gadodia@loylty.com on 2014-09-03 10:34:13

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Getting the exact same problem this morning - Firefox automatically updated to version
32 mid test, and now nothing works

Reported by james.willett58 on 2014-09-03 10:38:42

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

The same problem!

Reported by a3nikitchenko on 2014-09-03 10:43:20

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

rolling back to version 28 has worked for me, going to try version 30 now.

It is certainly a good idea to disable the auto update in Firefox...

Reported by james.willett58 on 2014-09-03 10:58:47

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I tried installing Firefox version 30.0 but that does not work too. So I installed Firefox
version 28.0. This one works fine. I also disabled auto update. I dont think its good
that I am testing on an older version of FF. I hope the next FF release will be compatable

Reported by ancyjchelleth03 on 2014-09-03 16:08:25

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

FireFox 32.0 was working fine untill an hour back with WebDriver 2.42.2. It suddenly
stopped working and giving the error as below . I dont understand what happened to
have made it suddenly stop working as I was using WD on the latest ff version 32 and
was working fine.. I havent downgraded yet.. but is that the only option?

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1
on port 7055 after 45000 ms. Firefox console output:
-app-global","addons":{"{22C7F6C6-8D67-4534-92B5-529A0EC09405}":{"descriptor":"C:\\Program
Files (x86)\\Trend Micro\\Security Agent\\FirefoxExtension","mtime":1409823432051,"rdfTime":1344430270000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program
Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1409822670191,"rdfTime":1409822669768}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\CME\\AppData\\Local\\Temp\\anonymous4746481485523217818webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1409830835691,"rdfTime":1409830835458}}}]
1409830836108   addons.xpi-utils    DEBUG   Opening XPI database C:\Users\CME\AppData\Local\Temp\anonymous4746481485523217818webdriver-profile\extensions.json
1409830836111   addons.xpi  DEBUG   New add-on fxdriver@googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1409830836529   addons.xpi-utils    DEBUG   Make addon app-profile:fxdriver@googlecode.com
visible
1409830836532   DeferredSave.extensions.json    DEBUG   Save changes
1409830836532   DeferredSave.extensions.json    DEBUG   Save changes
1409830836533   addons.xpi  DEBUG   New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed
in app-global
1409830836538   addons.xpi-utils    DEBUG   Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
1409830836538   DeferredSave.extensions.json    DEBUG   Save changes
1409830836538   DeferredSave.extensions.json    DEBUG   Save changes
1409830836538   addons.xpi  DEBUG   New add-on {22C7F6C6-8D67-4534-92B5-529A0EC09405} installed
in winreg-app-global
1409830836551   addons.xpi-utils    DEBUG   Make addon winreg-app-global:{22C7F6C6-8D67-4534-92B5-529A0EC09405}
visible
1409830836551   DeferredSave.extensions.json    DEBUG   Save changes
1409830836552   DeferredSave.extensions.json    DEBUG   Save changes
1409830836586   addons.xpi  DEBUG   Updating database with changes to installed add-ons
1409830836586   addons.xpi-utils    DEBUG   Updating add-on states
1409830836588   addons.xpi-utils    DEBUG   Writing add-ons list
1409830838406   DeferredSave.extensions.json    DEBUG   Starting timer
1409830838432   addons.manager  DEBUG   shutdown
1409830838434   addons.xpi  DEBUG   shutdown
1409830838434   addons.xpi-utils    DEBUG   shutdown
1409830838435   DeferredSave.extensions.json    DEBUG   Starting write
1409830838703   DeferredSave.extensions.json    DEBUG   Write succeeded
1409830838704   addons.xpi-utils    DEBUG   XPI Database saved, setting schema version preference
to 16
1409830838704   addons.xpi  DEBUG   Notifying XPI shutdown observers
1409830838709   addons.manager  DEBUG   Async provider shutdown done
1409830839274   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1409830839275   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1409830839277   addons.xpi  DEBUG   startup
1409830839277   addons.xpi  INFO    Mapping {22C7F6C6-8D67-4534-92B5-529A0EC09405} to C:\Program
Files (x86)\Trend Micro\Security Agent\FirefoxExtension
1409830839278   addons.xpi  DEBUG   Skipping unavailable install location app-system-local
1409830839278   addons.xpi  DEBUG   Skipping unavailable install location app-system-share
1409830839279   addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program
Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1409830839280   addons.xpi  INFO    Mapping fxdriver@googlecode.com to C:\Users\CME\AppData\Local\Temp\anonymous4746481485523217818webdriver-profile\extensions\fxdriver@googlecode.com
1409830839280   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: C:\Users\CME\AppData\Local\Temp\anonymous4746481485523217818webdriver-profile\extensions\webdriver-staging
1409830839281   addons.xpi  DEBUG   checkForChanges
1409830839304   addons.xpi  DEBUG   No changes found
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined

    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:95)
    at LufthansaAirways.SearchFlights.main(SearchFlights.java:15)
Exception in thread "main" org.openqa.selenium.WebDriverException: Failed to connect
to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port
7055; process output follows: 
-app-global","addons":{"{22C7F6C6-8D67-4534-92B5-529A0EC09405}":{"descriptor":"C:\\Program
Files (x86)\\Trend Micro\\Security Agent\\FirefoxExtension","mtime":1409823432051,"rdfTime":1344430270000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program
Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1409822670191,"rdfTime":1409822669768}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\CME\\AppData\\Local\\Temp\\anonymous4746481485523217818webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1409830835691,"rdfTime":1409830835458}}}]
1409830836108   addons.xpi-utils    DEBUG   Opening XPI database C:\Users\CME\AppData\Local\Temp\anonymous4746481485523217818webdriver-profile\extensions.json
1409830836111   addons.xpi  DEBUG   New add-on fxdriver@googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1409830836529   addons.xpi-utils    DEBUG   Make addon app-profile:fxdriver@googlecode.com
visible
1409830836532   DeferredSave.extensions.json    DEBUG   Save changes
1409830836532   DeferredSave.extensions.json    DEBUG   Save changes
1409830836533   addons.xpi  DEBUG   New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed
in app-global
1409830836538   addons.xpi-utils    DEBUG   Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
1409830836538   DeferredSave.extensions.json    DEBUG   Save changes
1409830836538   DeferredSave.extensions.json    DEBUG   Save changes
1409830836538   addons.xpi  DEBUG   New add-on {22C7F6C6-8D67-4534-92B5-529A0EC09405} installed
in winreg-app-global
1409830836551   addons.xpi-utils    DEBUG   Make addon winreg-app-global:{22C7F6C6-8D67-4534-92B5-529A0EC09405}
visible
1409830836551   DeferredSave.extensions.json    DEBUG   Save changes
1409830836552   DeferredSave.extensions.json    DEBUG   Save changes
1409830836586   addons.xpi  DEBUG   Updating database with changes to installed add-ons
1409830836586   addons.xpi-utils    DEBUG   Updating add-on states
1409830836588   addons.xpi-utils    DEBUG   Writing add-ons list
1409830838406   DeferredSave.extensions.json    DEBUG   Starting timer
1409830838432   addons.manager  DEBUG   shutdown
1409830838434   addons.xpi  DEBUG   shutdown
1409830838434   addons.xpi-utils    DEBUG   shutdown
1409830838435   DeferredSave.extensions.json    DEBUG   Starting write
1409830838703   DeferredSave.extensions.json    DEBUG   Write succeeded
1409830838704   addons.xpi-utils    DEBUG   XPI Database saved, setting schema version preference
to 16
1409830838704   addons.xpi  DEBUG   Notifying XPI shutdown observers
1409830838709   addons.manager  DEBUG   Async provider shutdown done
1409830839274   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1409830839275   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1409830839277   addons.xpi  DEBUG   startup
1409830839277   addons.xpi  INFO    Mapping {22C7F6C6-8D67-4534-92B5-529A0EC09405} to C:\Program
Files (x86)\Trend Micro\Security Agent\FirefoxExtension
1409830839278   addons.xpi  DEBUG   Skipping unavailable install location app-system-local
1409830839278   addons.xpi  DEBUG   Skipping unavailable install location app-system-share
1409830839279   addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program
Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1409830839280   addons.xpi  INFO    Mapping fxdriver@googlecode.com to C:\Users\CME\AppData\Local\Temp\anonymous4746481485523217818webdriver-profile\extensions\fxdriver@googlecode.com
1409830839280   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: C:\Users\CME\AppData\Local\Temp\anonymous4746481485523217818webdriver-profile\extensions\webdriver-staging
1409830839281   addons.xpi  DEBUG   checkForChanges
1409830839304   addons.xpi  DEBUG   No changes found
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined

Build info: version: '2.42.2', revision: '6a6995d', time: '2014-06-03 17:42:30'
System info: host: 'PC-CME', ip: '192.168.1.3', os.name: 'Windows 7', os.arch: 'x86',
os.version: '6.1', java.version: '1.7.0_65'
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 org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:95)
    at LufthansaAirways.SearchFlights.main(SearchFlights.java:15)
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:
-app-global","addons":{"{22C7F6C6-8D67-4534-92B5-529A0EC09405}":{"descriptor":"C:\\Program
Files (x86)\\Trend Micro\\Security Agent\\FirefoxExtension","mtime":1409823432051,"rdfTime":1344430270000}}},{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program
Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1409822670191,"rdfTime":1409822669768}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\CME\\AppData\\Local\\Temp\\anonymous4746481485523217818webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1409830835691,"rdfTime":1409830835458}}}]
1409830836108   addons.xpi-utils    DEBUG   Opening XPI database C:\Users\CME\AppData\Local\Temp\anonymous4746481485523217818webdriver-profile\extensions.json
1409830836111   addons.xpi  DEBUG   New add-on fxdriver@googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1409830836529   addons.xpi-utils    DEBUG   Make addon app-profile:fxdriver@googlecode.com
visible
1409830836532   DeferredSave.extensions.json    DEBUG   Save changes
1409830836532   DeferredSave.extensions.json    DEBUG   Save changes
1409830836533   addons.xpi  DEBUG   New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed
in app-global
1409830836538   addons.xpi-utils    DEBUG   Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
1409830836538   DeferredSave.extensions.json    DEBUG   Save changes
1409830836538   DeferredSave.extensions.json    DEBUG   Save changes
1409830836538   addons.xpi  DEBUG   New add-on {22C7F6C6-8D67-4534-92B5-529A0EC09405} installed
in winreg-app-global
1409830836551   addons.xpi-utils    DEBUG   Make addon winreg-app-global:{22C7F6C6-8D67-4534-92B5-529A0EC09405}
visible
1409830836551   DeferredSave.extensions.json    DEBUG   Save changes
1409830836552   DeferredSave.extensions.json    DEBUG   Save changes
1409830836586   addons.xpi  DEBUG   Updating database with changes to installed add-ons
1409830836586   addons.xpi-utils    DEBUG   Updating add-on states
1409830836588   addons.xpi-utils    DEBUG   Writing add-ons list
1409830838406   DeferredSave.extensions.json    DEBUG   Starting timer
1409830838432   addons.manager  DEBUG   shutdown
1409830838434   addons.xpi  DEBUG   shutdown
1409830838434   addons.xpi-utils    DEBUG   shutdown
1409830838435   DeferredSave.extensions.json    DEBUG   Starting write
1409830838703   DeferredSave.extensions.json    DEBUG   Write succeeded
1409830838704   addons.xpi-utils    DEBUG   XPI Database saved, setting schema version preference
to 16
1409830838704   addons.xpi  DEBUG   Notifying XPI shutdown observers
1409830838709   addons.manager  DEBUG   Async provider shutdown done
1409830839274   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1409830839275   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1409830839277   addons.xpi  DEBUG   startup
1409830839277   addons.xpi  INFO    Mapping {22C7F6C6-8D67-4534-92B5-529A0EC09405} to C:\Program
Files (x86)\Trend Micro\Security Agent\FirefoxExtension
1409830839278   addons.xpi  DEBUG   Skipping unavailable install location app-system-local
1409830839278   addons.xpi  DEBUG   Skipping unavailable install location app-system-share
1409830839279   addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program
Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1409830839280   addons.xpi  INFO    Mapping fxdriver@googlecode.com to C:\Users\CME\AppData\Local\Temp\anonymous4746481485523217818webdriver-profile\extensions\fxdriver@googlecode.com
1409830839280   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: C:\Users\CME\AppData\Local\Temp\anonymous4746481485523217818webdriver-profile\extensions\webdriver-staging
1409830839281   addons.xpi  DEBUG   checkForChanges
1409830839304   addons.xpi  DEBUG   No changes found
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined

    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
    ... 7 more

Reported by juhichandra655 on 2014-09-04 11:49:02

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Getting same issue.

Reported by sumi.qa2 on 2014-09-04 18:38:49

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Any updates on this? Running into the same issue with FF32 and 2.42.2

Reported by Steven.Eck143 on 2014-09-06 08:30:39

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Hi all, I'm too facing the same issue. Any update on this issue. Selenium doesnt work
with latest Firefox v32. Unable to resolve error.

browser = webdriver.Firefox()
  File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line
59, in __init__
    self.binary, timeout),
  File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\extension_connection.py",
line 47, in __init__
    self.binary.launch_browser(self.profile)
  File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py",
line 61, in launch_browser
    self._wait_until_connectable()
  File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py",
line 105, in _wait_until_connectable
    self.profile.path, self._get_firefox_output()))
WebDriverException: Message: 'Can\'t load the profile. Profile Dir: c:\\users\\surajk~1\\appdata\\local\\temp\\tmppk3x5q
Firefox output: 1410012961705\taddons.manager\tDEBUG\tLoaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]\r\n1410012961708\taddons.manager\tDEBUG\tLoaded provider scope for
resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]\r\n1410012961711\taddons.xpi\tDEBUG\tstartup\r\n1410012961712\taddons.xpi\tINFO\tMapping
fassoxpcom@sensiblevision.com to C:\\Program Files (x86)\\Sensible Vision\\Fast Access\\xpcom_fasso\r\n1410012961713\taddons.xpi\tDEBUG\tSkipping
unavailable install location app-system-local\r\n1410012961713\taddons.xpi\tDEBUG\tSkipping
unavailable install location app-system-share\r\n1410012961715\taddons.xpi\tINFO\tMapping
{972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}\r\n1410012961715\taddons.xpi\tINFO\tMapping
{e4f94d1e-2f53-401e-8885-681602c0ddd8} to C:\\ProgramData\\McAfee Security Scan\\Extensions\\{e4f94d1e-2f53-401e-8885-681602c0ddd8}.xpi\r\n1410012961716\taddons.xpi\tINFO\tMapping
fxdriver@googlecode.com to c:\\users\\surajk~1\\appdata\\local\\temp\\tmppk3x5q\\extensions\\fxdriver@googlecode.com\r\n1410012961717\taddons.xpi\tDEBUG\tcheckForChanges\r\n1410012961743\taddons.xpi\tDEBUG\tNo
changes found\r\n*** Blocklist::_preloadBlocklistFile: blocklist is disabled\r\nJavaScript
error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined\r\n'

Reported by Suraj.kv.blog on 2014-09-06 14:19:43

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Likewise, FF 32 on Ubuntu with selenium server 2.42.2. 

Changing "webdriver_firefox_port" via set_preference has no effect. Also, the firefoxprofile
port setter complains about undefined "_port"

Reported by afyfe@soe.ucsc.edu on 2014-09-09 19:33:57

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

We have the Latest release of Selenium version 2.43.0 - Which allows our scripts to
execute on FireFox version 32.0 browser successfully.

Download Link: http://selenium-release.storage.googleapis.com/index.html?path=2.43/

Enjoy!!

Reported by chetan.gadodia@loylty.com on 2014-09-10 05:01:35

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Thanks a lot! It helped Indeed!

Reported by SohanOleksa on 2014-09-10 06:56:16

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Thanks!

Reported by Steven.Eck143 on 2014-09-10 07:07:06

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I was also facing same issue with selenium 2.42 with FF28 and issue not observed with
selenium 2.43

Reported by kadammanoj123 on 2014-09-10 16:57:30

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

We're using 2.42.2 with FF30 where the Hub is running 2.41 because of the outstanding
defect 

Reported by tomkessler3 on 2014-09-10 18:07:53

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I was also facing same issue with selenium 2.41 and 2.42 with FF32 

Firefox version 32.0 not supported with Selenium Java 2.42.2.

Please help

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1
on port 7055 after 45000 ms. Firefox console output:
0417561405  addons.xpi-utils    DEBUG   Opening XPI database /tmp/anonymous7202138259549497806webdriver-profile/extensions.json
1410417561406   addons.xpi  DEBUG   New add-on fxdriver@googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1410417561415   addons.xpi-utils    DEBUG   Make addon app-profile:fxdriver@googlecode.com
visible
1410417561415   DeferredSave.extensions.json    DEBUG   Save changes
1410417561416   DeferredSave.extensions.json    DEBUG   Save changes
1410417561416   addons.xpi  DEBUG   New add-on langpack-en-GB@firefox.mozilla.org installed
in app-global
1410417561420   addons.xpi-utils    DEBUG   Make addon app-global:langpack-en-GB@firefox.mozilla.org
visible
1410417561420   DeferredSave.extensions.json    DEBUG   Save changes
1410417561420   DeferredSave.extensions.json    DEBUG   Save changes
1410417561422   addons.xpi  DEBUG   New add-on langpack-en-ZA@firefox.mozilla.org installed
in app-global
1410417561425   addons.xpi-utils    DEBUG   Make addon app-global:langpack-en-ZA@firefox.mozilla.org
visible
1410417561426   DeferredSave.extensions.json    DEBUG   Save changes
1410417561426   DeferredSave.extensions.json    DEBUG   Save changes
1410417561426   addons.xpi  DEBUG   New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed
in app-global
1410417561427   addons.xpi-utils    DEBUG   Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
1410417561427   DeferredSave.extensions.json    DEBUG   Save changes
1410417561428   DeferredSave.extensions.json    DEBUG   Save changes
1410417561428   addons.xpi  DEBUG   New add-on ubufox@ubuntu.com installed in app-system-share
1410417561429   addons.xpi-utils    DEBUG   Make addon app-system-share:ubufox@ubuntu.com
visible
1410417561429   DeferredSave.extensions.json    DEBUG   Save changes
1410417561429   DeferredSave.extensions.json    DEBUG   Save changes
1410417561431   addons.xpi  DEBUG   Updating database with changes to installed add-ons
1410417561431   addons.xpi-utils    DEBUG   Updating add-on states
1410417561431   addons.xpi-utils    DEBUG   Writing add-ons list
1410417562043   DeferredSave.extensions.json    DEBUG   Starting timer
1410417562071   DeferredSave.extensions.json    DEBUG   Starting write
1410417562075   addons.manager  DEBUG   shutdown
1410417562076   addons.xpi  DEBUG   shutdown
1410417562076   addons.xpi-utils    DEBUG   shutdown
1410417562106   DeferredSave.extensions.json    DEBUG   Write succeeded
1410417562106   addons.xpi-utils    DEBUG   XPI Database saved, setting schema version preference
to 16
1410417562107   addons.xpi  DEBUG   Notifying XPI shutdown observers
1410417562108   addons.manager  DEBUG   Async provider shutdown done
1410417562506   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1410417562507   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1410417562508   addons.xpi  DEBUG   startup
1410417562509   addons.xpi  INFO    Mapping ubufox@ubuntu.com to /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com
1410417562509   addons.xpi  INFO    Mapping langpack-en-GB@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi
1410417562509   addons.xpi  INFO    Mapping langpack-en-ZA@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi
1410417562509   addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
1410417562509   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: /tmp/anonymous7202138259549497806webdriver-profile/extensions/webdriver-staging
1410417562510   addons.xpi  INFO    Mapping fxdriver@googlecode.com to /tmp/anonymous7202138259549497806webdriver-profile/extensions/fxdriver@googlecode.com
1410417562510   addons.xpi  DEBUG   checkForChanges
1410417562512   addons.xpi  DEBUG   No changes found
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined

    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:95)
    at links.test.main(test.java:10)
Exception in thread "main" org.openqa.selenium.WebDriverException: Failed to connect
to binary FirefoxBinary(/usr/bin/firefox) on port 7055; process output follows: 
0417561405  addons.xpi-utils    DEBUG   Opening XPI database /tmp/anonymous7202138259549497806webdriver-profile/extensions.json
1410417561406   addons.xpi  DEBUG   New add-on fxdriver@googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1410417561415   addons.xpi-utils    DEBUG   Make addon app-profile:fxdriver@googlecode.com
visible
1410417561415   DeferredSave.extensions.json    DEBUG   Save changes
1410417561416   DeferredSave.extensions.json    DEBUG   Save changes
1410417561416   addons.xpi  DEBUG   New add-on langpack-en-GB@firefox.mozilla.org installed
in app-global
1410417561420   addons.xpi-utils    DEBUG   Make addon app-global:langpack-en-GB@firefox.mozilla.org
visible
1410417561420   DeferredSave.extensions.json    DEBUG   Save changes
1410417561420   DeferredSave.extensions.json    DEBUG   Save changes
1410417561422   addons.xpi  DEBUG   New add-on langpack-en-ZA@firefox.mozilla.org installed
in app-global
1410417561425   addons.xpi-utils    DEBUG   Make addon app-global:langpack-en-ZA@firefox.mozilla.org
visible
1410417561426   DeferredSave.extensions.json    DEBUG   Save changes
1410417561426   DeferredSave.extensions.json    DEBUG   Save changes
1410417561426   addons.xpi  DEBUG   New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed
in app-global
1410417561427   addons.xpi-utils    DEBUG   Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
1410417561427   DeferredSave.extensions.json    DEBUG   Save changes
1410417561428   DeferredSave.extensions.json    DEBUG   Save changes
1410417561428   addons.xpi  DEBUG   New add-on ubufox@ubuntu.com installed in app-system-share
1410417561429   addons.xpi-utils    DEBUG   Make addon app-system-share:ubufox@ubuntu.com
visible
1410417561429   DeferredSave.extensions.json    DEBUG   Save changes
1410417561429   DeferredSave.extensions.json    DEBUG   Save changes
1410417561431   addons.xpi  DEBUG   Updating database with changes to installed add-ons
1410417561431   addons.xpi-utils    DEBUG   Updating add-on states
1410417561431   addons.xpi-utils    DEBUG   Writing add-ons list
1410417562043   DeferredSave.extensions.json    DEBUG   Starting timer
1410417562071   DeferredSave.extensions.json    DEBUG   Starting write
1410417562075   addons.manager  DEBUG   shutdown
1410417562076   addons.xpi  DEBUG   shutdown
1410417562076   addons.xpi-utils    DEBUG   shutdown
1410417562106   DeferredSave.extensions.json    DEBUG   Write succeeded
1410417562106   addons.xpi-utils    DEBUG   XPI Database saved, setting schema version preference
to 16
1410417562107   addons.xpi  DEBUG   Notifying XPI shutdown observers
1410417562108   addons.manager  DEBUG   Async provider shutdown done
1410417562506   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1410417562507   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1410417562508   addons.xpi  DEBUG   startup
1410417562509   addons.xpi  INFO    Mapping ubufox@ubuntu.com to /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com
1410417562509   addons.xpi  INFO    Mapping langpack-en-GB@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi
1410417562509   addons.xpi  INFO    Mapping langpack-en-ZA@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi
1410417562509   addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
1410417562509   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: /tmp/anonymous7202138259549497806webdriver-profile/extensions/webdriver-staging
1410417562510   addons.xpi  INFO    Mapping fxdriver@googlecode.com to /tmp/anonymous7202138259549497806webdriver-profile/extensions/fxdriver@googlecode.com
1410417562510   addons.xpi  DEBUG   checkForChanges
1410417562512   addons.xpi  DEBUG   No changes found
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined

Build info: version: '2.41.0', revision: '3192d8a', time: '2014-03-27 17:18:15'
System info: host: 'ihub-Vostro-3800', ip: '127.0.1.1', os.name: 'Linux', os.arch:
'amd64', os.version: '3.5.0-49-generic', java.version: '1.6.0_31'
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 org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:95)
    at links.test.main(test.java:10)
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:
0417561405  addons.xpi-utils    DEBUG   Opening XPI database /tmp/anonymous7202138259549497806webdriver-profile/extensions.json
1410417561406   addons.xpi  DEBUG   New add-on fxdriver@googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1410417561415   addons.xpi-utils    DEBUG   Make addon app-profile:fxdriver@googlecode.com
visible
1410417561415   DeferredSave.extensions.json    DEBUG   Save changes
1410417561416   DeferredSave.extensions.json    DEBUG   Save changes
1410417561416   addons.xpi  DEBUG   New add-on langpack-en-GB@firefox.mozilla.org installed
in app-global
1410417561420   addons.xpi-utils    DEBUG   Make addon app-global:langpack-en-GB@firefox.mozilla.org
visible
1410417561420   DeferredSave.extensions.json    DEBUG   Save changes
1410417561420   DeferredSave.extensions.json    DEBUG   Save changes
1410417561422   addons.xpi  DEBUG   New add-on langpack-en-ZA@firefox.mozilla.org installed
in app-global
1410417561425   addons.xpi-utils    DEBUG   Make addon app-global:langpack-en-ZA@firefox.mozilla.org
visible
1410417561426   DeferredSave.extensions.json    DEBUG   Save changes
1410417561426   DeferredSave.extensions.json    DEBUG   Save changes
1410417561426   addons.xpi  DEBUG   New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed
in app-global
1410417561427   addons.xpi-utils    DEBUG   Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
1410417561427   DeferredSave.extensions.json    DEBUG   Save changes
1410417561428   DeferredSave.extensions.json    DEBUG   Save changes
1410417561428   addons.xpi  DEBUG   New add-on ubufox@ubuntu.com installed in app-system-share
1410417561429   addons.xpi-utils    DEBUG   Make addon app-system-share:ubufox@ubuntu.com
visible
1410417561429   DeferredSave.extensions.json    DEBUG   Save changes
1410417561429   DeferredSave.extensions.json    DEBUG   Save changes
1410417561431   addons.xpi  DEBUG   Updating database with changes to installed add-ons
1410417561431   addons.xpi-utils    DEBUG   Updating add-on states
1410417561431   addons.xpi-utils    DEBUG   Writing add-ons list
1410417562043   DeferredSave.extensions.json    DEBUG   Starting timer
1410417562071   DeferredSave.extensions.json    DEBUG   Starting write
1410417562075   addons.manager  DEBUG   shutdown
1410417562076   addons.xpi  DEBUG   shutdown
1410417562076   addons.xpi-utils    DEBUG   shutdown
1410417562106   DeferredSave.extensions.json    DEBUG   Write succeeded
1410417562106   addons.xpi-utils    DEBUG   XPI Database saved, setting schema version preference
to 16
1410417562107   addons.xpi  DEBUG   Notifying XPI shutdown observers
1410417562108   addons.manager  DEBUG   Async provider shutdown done
1410417562506   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1410417562507   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1410417562508   addons.xpi  DEBUG   startup
1410417562509   addons.xpi  INFO    Mapping ubufox@ubuntu.com to /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com
1410417562509   addons.xpi  INFO    Mapping langpack-en-GB@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi
1410417562509   addons.xpi  INFO    Mapping langpack-en-ZA@firefox.mozilla.org to /usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi
1410417562509   addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to /usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
1410417562509   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: /tmp/anonymous7202138259549497806webdriver-profile/extensions/webdriver-staging
1410417562510   addons.xpi  INFO    Mapping fxdriver@googlecode.com to /tmp/anonymous7202138259549497806webdriver-profile/extensions/fxdriver@googlecode.com
1410417562510   addons.xpi  DEBUG   checkForChanges
1410417562512   addons.xpi  DEBUG   No changes found
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined

    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
    ... 7 more

Reported by lavanya.kotam on 2014-09-11 06:43:04

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Any body help me for the above error

Reported by lavanya.kotam on 2014-09-11 06:44:48

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Please try using the latest version 2.43.0 

Reported by iamcpizzle on 2014-09-11 06:52:21

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Thank you so much its working Firefox 32 with selenium version 2.43.0

Reported by lavanya.kotam on 2014-09-15 06:41:25

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Hi guys i am having issues similar to the ones above.
My tests were running fine with FF 31 and selenium version 2.42.2 until the other day

When FF updated to version 32 i updated selenium to version 2.43.1)
I have tried the fix above and its not working for me any other suggestions pls?


org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1
on port 7056 after 45000 ms. Firefox console output:
892494  addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program
Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1411739892495   addons.xpi  INFO    Mapping fxdriver@googlecode.com to C:\Users\susan\AppData\Local\Temp\anonymous1549752550273004584webdriver-profile\extensions\fxdriver@googlecode.com
1411739892495   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: C:\Users\susan\AppData\Local\Temp\anonymous1549752550273004584webdriver-profile\extensions\webdriver-staging
1411739892495   addons.xpi  DEBUG   checkForChanges
1411739892505   addons.xpi  DEBUG   Directory state JSON differs: cache [] state [{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program
Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1411639267577,"rdfTime":1411526203000}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\thadeuss\\AppData\\Local\\Temp\\anonymous1549752550273004584webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1411739891966,"rdfTime":1411739891923}}}]
1411739892511   addons.xpi-utils    DEBUG   Opening XPI database C:\Users\susan\AppData\Local\Temp\anonymous1549752550273004584webdriver-profile\extensions.json
1411739892512   addons.xpi  DEBUG   New add-on fxdriver@googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1411739892539   addons.xpi-utils    DEBUG   Make addon app-profile:fxdriver@googlecode.com
visible
1411739892540   DeferredSave.extensions.json    DEBUG   Save changes
1411739892540   DeferredSave.extensions.json    DEBUG   Save changes
1411739892541   addons.xpi  DEBUG   New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed
in app-global
1411739892544   addons.xpi-utils    DEBUG   Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
1411739892544   DeferredSave.extensions.json    DEBUG   Save changes
1411739892544   DeferredSave.extensions.json    DEBUG   Save changes
1411739892552   addons.xpi  DEBUG   Updating database with changes to installed add-ons
1411739892553   addons.xpi-utils    DEBUG   Updating add-on states
1411739892553   addons.xpi-utils    DEBUG   Writing add-ons list
1411739892781   DeferredSave.extensions.json    DEBUG   Starting timer
1411739892813   DeferredSave.extensions.json    DEBUG   Starting write
1411739892824   addons.manager  DEBUG   shutdown
1411739892827   addons.xpi  DEBUG   shutdown
1411739892827   addons.xpi-utils    DEBUG   shutdown
1411739892880   DeferredSave.extensions.json    DEBUG   Write succeeded
1411739892881   addons.xpi-utils    DEBUG   XPI Database saved, setting schema version preference
to 16
1411739892881   addons.xpi  DEBUG   Notifying XPI shutdown observers
1411739892884   addons.manager  DEBUG   Async provider shutdown done
1411739893891   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1411739893893   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1411739893894   addons.xpi  DEBUG   startup
1411739893895   addons.xpi  DEBUG   Skipping unavailable install location app-system-local
1411739893895   addons.xpi  DEBUG   Skipping unavailable install location app-system-share
1411739893896   addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program
Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1411739893897   addons.xpi  INFO    Mapping fxdriver@googlecode.com to C:\Users\susan\AppData\Local\Temp\anonymous1549752550273004584webdriver-profile\extensions\fxdriver@googlecode.com
1411739893897   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: C:\Users\susan\AppData\Local\Temp\anonymous1549752550273004584webdriver-profile\extensions\webdriver-staging
1411739893897   addons.xpi  DEBUG   checkForChanges
1411739893907   addons.xpi  DEBUG   No changes found
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
JavaScript error: chrome://browser/content/urlbarBindings.xml, line 677: aUrl is undefined

    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)
    at SmithAplication.MashhbookingTest1.setUp(MashhbookingTest1.java:26)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

Reported by tseyana on 2014-09-26 16:24:44

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I have this error with Firefox 32.0.3 and selenium version 2.43.1.  Can anyone help
me with this issue?

Reported by ladawson1020 on 2014-10-13 22:32:17

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

appears to be a real issue still.

Reported by alexnospam123 on 2014-11-11 01:38:30

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Download Firefox 29 and solved http://www.oldapps.com/

Reported by sguzman@healthcare.com on 2015-02-18 17:10:20

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I still find this issue with FF 32.0.2 and Selenium 2.43.1

Reported by arpitamkulkarni on 2015-03-06 06:26:38

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Resolved after replacing JARs with the ones from 43.1. Works fine now.

Reported by arpitamkulkarni on 2015-03-10 12:18:49

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Hi I still have same issue with Firefox Version 38.0.5 and selenium version 2.46.0

Reported by priyaraman3 on 2015-06-19 20:18:53

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Finally, I was able to resolve it. Initially I was using Selenium Standalone Server-2.45.0.
Replaced it with latest one-2.46.0

Reported by priyaraman3 on 2015-06-19 23:04:16

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by luke.semerau on 2015-09-17 18:22:12

  • Labels added: Restrict-AddIssueComment-Commit

@lukeis lukeis closed this as completed Mar 4, 2016
@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant