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

Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055 #7954

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

Comments

@lukeis
Copy link
Member

lukeis commented Mar 4, 2016

Originally reported on Google Code with ID 7954

Before filing an issue, please read the page at
http://code.google.com/p/selenium/wiki/SeleniumHelp This contains lot of
information about how best to get help, and tells you what we need to know.

Still here? We know that bugs are frustrating and annoying things. We also
know that you've probably spent ages trying to figure out what's wrong. The
more information you give us now, the more likely it is that we'll be able
to help.

What steps will reproduce the problem?
Calling 
 driver = new FirefoxDriver()
Generates the exception
     org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program
Files (x86)\Mozilla Firefox\firefox.exe) on port 7055;

What is the expected output?
A FF browser session opens and executes the coded testcases.

What do you see instead?
Browser window never appears.


1. Firefox version 31.1.0 ESR
2. Selenium version 2.43.1
3. Tests failed with


Selenium version: 2.43.1
OS: Windows 7 Professional SP1
Browser: Firefox
Browser version: 31.1.0 ESR


Please provide any additional information below. A sample reduced test
case, or a public URL that demonstrates the problem will intrigue our merry
band of Open Source developers far more than nothing at all: they'll be far
more likely to look at your problem if you make it easy for them!



\firefox.exe) on port 7055; process output follows:
1411577168398   addons.manager  DEBUG   Application has been upgraded
1411577168418   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1411577168419   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1411577168421   addons.xpi      DEBUG   startup
1411577168421   addons.xpi      DEBUG   Skipping unavailable install location app-system-local
1411577168422   addons.xpi      DEBUG   Skipping unavailable install location app-system-share
1411577168426   addons.xpi      DEBUG   Ignoring file entry whose name is not a valid
add-on ID: C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous8516031925807705304webdriver-profile\extensions\webdriver-staging
1411577168439   addons.xpi      DEBUG   checkForChanges
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1411577168888   addons.xpi      DEBUG   Installed distribution add-on IBM-cck@firefox-extensions.ibm.com
1411577170039   addons.xpi      DEBUG   Installed distribution add-on ietab@ip.cn
1411577173604   addons.xpi      DEBUG   Installed distribution add-on langpack-en-US@firefox.mozilla.org
1411577177001   addons.xpi      DEBUG   Installed distribution add-on langpack-es-ES@firefox.mozilla.org
1411577180363   addons.xpi      DEBUG   Installed distribution add-on langpack-fr@firefox.mozilla.org
1411577183804   addons.xpi      DEBUG   Installed distribution add-on langpack-it@firefox.mozilla.org
1411577189872   addons.xpi      DEBUG   Installed distribution add-on langpack-ja@firefox.mozilla.org
1411577198113   addons.xpi      DEBUG   Installed distribution add-on langpack-ko@firefox.mozilla.org
1411577205008   addons.xpi      DEBUG   Installed distribution add-on langpack-pt-BR@firefox.mozilla.org
1411577212063   addons.xpi      DEBUG   Installed distribution add-on langpack-zh-CN@firefox.mozilla.org

Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:33'
System info: host: 'IBM-CPJHVVHTCQ4', ip: '9.52.105.120', os.name: 'Windows 7', os.arch:
'x86', os.version: '6.1 build 7601 Service Pack 1', java.version: '1.6.0'
Driver info: driver.version: BrowserDriver
org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program
Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows:
1411577168398   addons.manager  DEBUG   Application has been upgraded
1411577168418   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1411577168419   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1411577168421   addons.xpi      DEBUG   startup
1411577168421   addons.xpi      DEBUG   Skipping unavailable install location app-system-local
1411577168422   addons.xpi      DEBUG   Skipping unavailable install location app-system-share
1411577168426   addons.xpi      DEBUG   Ignoring file entry whose name is not a valid
add-on ID: C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous8516031925807705304webdriver-profile\extensions\webdriver-staging
1411577168439   addons.xpi      DEBUG   checkForChanges
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1411577168888   addons.xpi      DEBUG   Installed distribution add-on IBM-cck@firefox-extensions.ibm.com
1411577170039   addons.xpi      DEBUG   Installed distribution add-on ietab@ip.cn
1411577173604   addons.xpi      DEBUG   Installed distribution add-on langpack-en-US@firefox.mozilla.org
1411577177001   addons.xpi      DEBUG   Installed distribution add-on langpack-es-ES@firefox.mozilla.org
1411577180363   addons.xpi      DEBUG   Installed distribution add-on langpack-fr@firefox.mozilla.org
1411577183804   addons.xpi      DEBUG   Installed distribution add-on langpack-it@firefox.mozilla.org
1411577189872   addons.xpi      DEBUG   Installed distribution add-on langpack-ja@firefox.mozilla.org
1411577198113   addons.xpi      DEBUG   Installed distribution add-on langpack-ko@firefox.mozilla.org
1411577205008   addons.xpi      DEBUG   Installed distribution add-on langpack-pt-BR@firefox.mozilla.org
1411577212063   addons.xpi      DEBUG   Installed distribution add-on langpack-zh-CN@firefox.mozilla.org

Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:33'
System info: host: 'IBM-CPJHVVHTCQ4', ip: '9.52.105.120', os.name: 'Windows 7', os.arch:
'x86', os.version: '6.1 build 7601 Service Pack 1', java.version: '1.6.0'
Driver info: driver.version: BrowserDriver
        at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:134)
        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 com.ibm.tivoli.BrowserDriver.openBrowser(BrowserDriver.java:68)
        at com.ibm.tivoli.actions.Action.getBrowserDriver(Action.java:102)
        at com.ibm.tivoli.TestCase.run(TestCase.java:104)
        at com.ibm.tivoli.actions.IncludeTestCaseAction.run(IncludeTestCaseAction.java:45)
        at com.ibm.tivoli.actions.Action.runWithCondition(Action.java:113)
        at com.ibm.tivoli.TestCase.run(TestCase.java:104)
        at com.ibm.tivoli.xFastRunner.runTestCase(xFastRunner.java:250)
        at com.ibm.tivoli.xFastRunner.runTestCases(xFastRunner.java:217)
        at com.ibm.tivoli.xFastRunner.main(xFastRunner.java:50)
Caused by: org.openqa.selenium.WebDriverException: java.lang.InterruptedException:
Process timed out after waiting for 45000 ms.
Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:33'
System info: host: 'IBM-CPJHVVHTCQ4', ip: '9.52.105.120', os.name: 'Windows 7', os.arch:
'x86', os.version: '6.1 build 7601 Service Pack 1', java.version: '1.6.0'
Driver info: driver.version: BrowserDriver
        at org.openqa.selenium.os.CommandLine.waitFor(CommandLine.java:131)
        at org.openqa.selenium.firefox.FirefoxBinary.waitFor(FirefoxBinary.java:222)
        at org.openqa.selenium.firefox.FirefoxBinary.clean(FirefoxBinary.java:242)
        at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:91)
        ... 15 more
Caused by: java.lang.InterruptedException: Process timed out after waiting for 45000
ms.
        at org.openqa.selenium.os.UnixProcess.waitFor(UnixProcess.java:148)
        at org.openqa.selenium.os.CommandLine.waitFor(CommandLine.java:129)
        ... 18 more

Reported by jhern_candle@yahoo.com on 2014-09-24 16:50:56

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Firefox was updated during the start, that usually takes more than 45 seconds, that's
the reason for the failure.

Reported by barancev on 2014-09-25 04:55:57

  • Status changed: Invalid

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

You mean every time I run selenium Firefox is being updated? 
It fails every time I run the code, no matter how many times I reboot my system and/or
restart FF. 

Reported by jhern_candle@yahoo.com on 2014-09-25 05:02:36

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

That's what I've seen in the provided log :)
Reopening.

Reported by barancev on 2014-09-25 05:16:25

  • Status changed: New
  • Labels added: Browser-Firefox

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Please check the Firefox error console (Ctrl-Shift-J) after the exception to see if
there are selenium related error messages there.

Reported by barancev on 2014-09-29 19:34:15

  • Status changed: NeedsClarification

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Closing the issue due to inactivity

Reported by barancev on 2014-11-04 11:07:07

  • Status changed: Invalid

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Please don't close this issue, cause we started to have the same issue. We are using
Firefox 33.0.2,
selenium-firefox-driver 2.44.0
selenium-server 2.44.0
and here is the output:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.openspan.testing.AllUnitTests.AllUnitTests
Performing initial setup (This should only happen once!)...
Running com.openspan.testing.AllUnitTests.testcvti.testTestng1...
Nov 04, 2014 11:17:01 AM org.openqa.selenium.os.UnixProcess$SeleniumWatchDog destroyHarder
INFO: Command failed to close cleanly. Destroying forcefully (v2). org.openqa.selenium.os.UnixProcess$SeleniumWatchDog@1fa9431
Failed! - Failed to connect to binary FirefoxBinary(C:\Program Files\Mozilla Firefox\firefox.exe)
on port 7055; process output follows: 
1415117775518   addons.manager  DEBUG   Application has been upgraded
1415117775544   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1415117775549   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1415117775559   addons.xpi  DEBUG   startup
1415117775561   addons.xpi  DEBUG   Skipping unavailable install location app-system-local
1415117775562   addons.xpi  DEBUG   Skipping unavailable install location app-system-share
1415117775564   addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program
Files\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1415117775567   addons.xpi  INFO    Mapping fxdriver@googlecode.com to C:\Users\user\AppData\Local\Temp\anonymous6075550758143791840webdriver-profile\extensions\fxdriver@googlecode.com
1415117775568   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: C:\Users\user\AppData\Local\Temp\anonymous6075550758143791840webdriver-profile\extensions\webdriver-staging
1415117775569   addons.xpi  DEBUG   checkForChanges
1415117775590   addons.xpi  DEBUG   Directory state JSON differs: cache [] state [{"name":"app-global","addons":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"descriptor":"C:\\Program
Files\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","mtime":1415113573245,"rdfTime":1415113571468}}},{"name":"app-profile","addons":{"fxdriver@googlecode.com":{"descriptor":"C:\\Users\\user\\AppData\\Local\\Temp\\anonymous6075550758143791840webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1415117764346,"rdfTime":1415117757241}}}]
1415117775601   addons.xpi-utils    DEBUG   Opening XPI database C:\Users\user\AppData\Local\Temp\anonymous6075550758143791840webdriver-profile\extensions.json
1415117775604   addons.xpi  DEBUG   New add-on fxdriver@googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1415117781855   addons.xpi-utils    DEBUG   Make addon app-profile:fxdriver@googlecode.com
visible
1415117781858   DeferredSave.extensions.json    DEBUG   Save changes
1415117781859   DeferredSave.extensions.json    DEBUG   Save changes
1415117781860   addons.xpi  DEBUG   New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed
in app-global
1415117781864   addons.xpi-utils    DEBUG   Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
1415117781864   DeferredSave.extensions.json    DEBUG   Save changes
1415117781865   DeferredSave.extensions.json    DEBUG   Save changes
1415117781882   addons.xpi  DEBUG   Updating database with changes to installed add-ons
1415117781883   addons.xpi-utils    DEBUG   Updating add-on states
1415117781884   addons.xpi-utils    DEBUG   Writing add-ons list
1415117781893   addons.manager  DEBUG   Registering shutdown blocker for XPIProvider
1415117781894   addons.manager  DEBUG   Registering shutdown blocker for LightweightThemeManager
1415117781897   addons.manager  DEBUG   Registering shutdown blocker for OpenH264Provider
1415117781898   addons.manager  DEBUG   Registering shutdown blocker for PluginProvider

Build info: version: '2.44.0', revision: '76d78cf323ce037c5f92db6c1bba601c2ac43ad8',
time: '2014-10-23 13:11:40'
System info: host: 'Win7-Test-1', ip: '10.0.30.129', os.name: 'Windows 7', os.arch:
'x86', os.version: '6.1', java.version: '1.8.0_20'
Driver info: driver.version: FirefoxDriver
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 83.516 sec <<< FAILURE!
- in com.openspan.testing.AllUnitTests.AllUnitTests

Reported by openspan.documents on 2014-11-04 18:53:49

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Having same issue, working with FF 31 ESR

Reported by shashwat1906 on 2014-11-11 10:51:44

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I too am experiencing this problem.

I've just updated my automation environment to Selenium 2.44 and FireFox 33.1 and now,
seemingly randomly, I get the following error message:

      Failed to connect to binary FirefoxBinary(C:\Apps\Mozilla Firefox\33.1\FireFox.exe)
on port 7055

Note: I was previously running with Selenium 2.42.2 and FireFox 29 and all was good.

I have gone through all of my test environments and have recreated my FireFox default
profiles (using "FireFox.exe -p") just in case, somehow, the profiles have become corrupted.
I shall see if this reduces the number of times I see this error.

This issue is real and should not be discarded so quickly.

Michael

Reported by michael.remillard@ticketmaster.com on 2014-11-21 13:51:24

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Well, resetting the FireFox profile didn't do squat. The problem still remains.

So now I will have to try different settings (in FireFox, when I create the FirefoxDriver,
etc...).

Michael

Reported by michael.remillard@ticketmaster.com on 2014-11-24 13:27:57

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

BTW, with Chrome this all works flawlessly. With IE it appears to work 95% of the time.
With Firefox... maybe 5% of the time. Not great.


Reported by michael.remillard@ticketmaster.com on 2014-11-24 13:40:19

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Well, I finally got it working again.

I couldn't find any preferences or whatnot that made a difference so I re-deleted the
FireFox profile. But this time, instead of using the tool to recreate the profile (FireFox
-p), I simply started up FireFox and let it take care of everything.

After that my FireFox automated tests appear to be running nicely - I no longer get
the message:

     Failed to connect to binary FirefoxBinary(C:\Apps\Mozilla Firefox\33.1\FireFox.exe)
on port 7055

Hopefully that will prove to be reliable and this issue will no longer come back to
haunt me.

Michael.

Reported by michael.remillard@ticketmaster.com on 2014-11-24 15:29:15

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Well, my FireFox profile recreation approach fixed my problem for about 95% of the tests
run. I still get a few which result in the error message:

     Failed to connect to binary FirefoxBinary(C:\Apps\Mozilla Firefox\33.1\FireFox.exe)
on port 7055

Reported by michael.remillard@ticketmaster.com on 2014-11-24 20:26:03

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I run into this issue periodically too.  Is it related to Firefox wanting to update
on startup?  

If so one of these should fix the problem:
- changing app.update.enabled to false (in about:config) or 
- changing advanced options to not check for Firefox updates

I'm going to try it out and hopefully I don't see the problem anymore.

Reported by prlj13 on 2014-12-11 16:20:38

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I've got same problem as described at the start of this email chain: 
"Failed to connect to binary FirefoxBinary on port 7055".  

The way I solved it was to edit the POM.XML file on my Eclipse IDE.  Once on the Edit
mode, I made the following settings on the "Dependency" section of the POM.XML file
and saved the file after.
<dependency>
      <groupId>org.seleniumhq.selenium</groupId>
      <artifactId>selenium-java</artifactId>
      <version>2.44.0</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.11</version>
    </dependency>
    <dependency>
      <groupId>org.apache.poi</groupId>
      <artifactId>poi</artifactId>
      <version>3.10.1</version>
    </dependency>
Now, this combination of Selenium version 2.44.0  JUnit version 4.11 and Apache POI
library version 3.10.1 works well with Firefox version 33.11 
One more penny of advice is to PREVENT Firefox from automatic updates, since that will
create problems with the different versions of Selenium.  To prevent Firefox from updating
automatically go to C:\Program Files (x86)\Mozilla Firefox and rename this three files
to "_old" as "updater" rename to "updater_old", same do for update-settings and the
updater application, rename to "updater_old".  Firefox will still download the latest
version, even though you may have change your defaults on Firefox configuration file
to "Not update automatically", which does not work.  The only SECURE method is to rename
the updater application so the update may fail.

Reported by nfurman0111 on 2014-12-29 02:36:10

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I am getting the same issue when tried with 

Selenium webdriver 2.44
FF 33.1.1 /35.0/33.0  on windows 7 OS 

Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
redSave.extensions.json DEBUG   Save changes
1422020040916   DeferredSave.extensions.json    DEBUG   Save changes
1422020040916   addons.xpi  DEBUG   New add-on {D19CA586-DD6C-4a0a-96F8-14644F340D60} installed
in winreg-app-global
1422020040923   addons.xpi-utils    DEBUG   Make addon winreg-app-global:{D19CA586-DD6C-4a0a-96F8-14644F340D60}
visible
1422020040923   DeferredSave.extensions.json    DEBUG   Save changes
1422020040923   DeferredSave.extensions.json    DEBUG   Save changes
1422020040923   addons.xpi  DEBUG   New add-on fiddlerhook@fiddler2.com installed in winreg-app-global
1422020040931   addons.xpi-utils    DEBUG   Make addon winreg-app-global:fiddlerhook@fiddler2.com
visible
1422020040931   DeferredSave.extensions.json    DEBUG   Save changes
1422020040931   DeferredSave.extensions.json    DEBUG   Save changes
1422020040949   addons.xpi  DEBUG   Updating database with changes to installed add-ons
1422020040949   addons.xpi-utils    DEBUG   Updating add-on states
1422020040953   addons.xpi-utils    DEBUG   Writing add-ons list
1422020040962   addons.manager  DEBUG   Registering shutdown blocker for XPIProvider
1422020040963   addons.manager  DEBUG   Registering shutdown blocker for LightweightThemeManager
1422020040964   addons.manager  DEBUG   Registering shutdown blocker for OpenH264Provider
1422020040964   addons.manager  DEBUG   Registering shutdown blocker for PluginProvider
1422020042756   DeferredSave.extensions.json    DEBUG   Starting timer
1422020043022   DeferredSave.extensions.json    DEBUG   Starting write
1422020043754   addons.manager  DEBUG   shutdown
1422020043755   addons.manager  DEBUG   Calling shutdown blocker for XPIProvider
1422020043755   addons.xpi  DEBUG   shutdown
1422020043755   addons.xpi-utils    DEBUG   shutdown
1422020043756   addons.manager  DEBUG   Calling shutdown blocker for LightweightThemeManager
1422020043756   addons.manager  DEBUG   Calling shutdown blocker for OpenH264Provider
1422020043757   addons.manager  DEBUG   Calling shutdown blocker for PluginProvider
1422020043806   DeferredSave.extensions.json    DEBUG   Write succeeded
1422020043806   addons.xpi-utils    DEBUG   XPI Database saved, setting schema version preference
to 16
1422020043806   addons.xpi  DEBUG   Notifying XPI shutdown observers
1422020043809   addons.manager  DEBUG   Async provider shutdown done
System JS : ERROR (null):0 - uncaught exception: 2147500037
1422020044302   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1422020044304   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1422020044306   addons.xpi  DEBUG   startup
1422020044307   addons.xpi  INFO    Mapping {D19CA586-DD6C-4a0a-96F8-14644F340D60} to C:\Program
Files (x86)\Common Files\McAfee\SystemCore
1422020044307   addons.xpi  INFO    Mapping fiddlerhook@fiddler2.com to C:\Program Files
(x86)\Fiddler2\FiddlerHook
1422020044308   addons.xpi  DEBUG   Skipping unavailable install location app-system-local
1422020044308   addons.xpi  DEBUG   Skipping unavailable install location app-system-share
1422020044309   addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program
Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1422020044309   addons.xpi  INFO    Mapping fxdriver@googlecode.com to C:\Users\GBrajug\AppData\Local\Temp\anonymous2700458607542698962webdriver-profile\extensions\fxdriver@googlecode.com
1422020044310   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: C:\Users\GBrajug\AppData\Local\Temp\anonymous2700458607542698962webdriver-profile\extensions\webdriver-staging
1422020044310   addons.xpi  DEBUG   checkForChanges
1422020044329   addons.xpi  DEBUG   No changes found
1422020044332   addons.manager  DEBUG   Registering shutdown blocker for XPIProvider
1422020044332   addons.manager  DEBUG   Registering shutdown blocker for LightweightThemeManager
1422020044334   addons.manager  DEBUG   Registering shutdown blocker for OpenH264Provider
1422020044334   addons.manager  DEBUG   Registering shutdown blocker for PluginProvider
1422020045500   addons.manager  DEBUG   Registering shutdown blocker for <unnamed-provider>

    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:109)
    at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:245)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:109)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:185)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:178)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:174)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:92)
    at TestAutomation.main(TestAutomation.java:8)
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: 
redSave.extensions.json DEBUG   Save changes
1422020040916   DeferredSave.extensions.json    DEBUG   Save changes
1422020040916   addons.xpi  DEBUG   New add-on {D19CA586-DD6C-4a0a-96F8-14644F340D60} installed
in winreg-app-global
1422020040923   addons.xpi-utils    DEBUG   Make addon winreg-app-global:{D19CA586-DD6C-4a0a-96F8-14644F340D60}
visible
1422020040923   DeferredSave.extensions.json    DEBUG   Save changes
1422020040923   DeferredSave.extensions.json    DEBUG   Save changes
1422020040923   addons.xpi  DEBUG   New add-on fiddlerhook@fiddler2.com installed in winreg-app-global
1422020040931   addons.xpi-utils    DEBUG   Make addon winreg-app-global:fiddlerhook@fiddler2.com
visible
1422020040931   DeferredSave.extensions.json    DEBUG   Save changes
1422020040931   DeferredSave.extensions.json    DEBUG   Save changes
1422020040949   addons.xpi  DEBUG   Updating database with changes to installed add-ons
1422020040949   addons.xpi-utils    DEBUG   Updating add-on states
1422020040953   addons.xpi-utils    DEBUG   Writing add-ons list
1422020040962   addons.manager  DEBUG   Registering shutdown blocker for XPIProvider
1422020040963   addons.manager  DEBUG   Registering shutdown blocker for LightweightThemeManager
1422020040964   addons.manager  DEBUG   Registering shutdown blocker for OpenH264Provider
1422020040964   addons.manager  DEBUG   Registering shutdown blocker for PluginProvider
1422020042756   DeferredSave.extensions.json    DEBUG   Starting timer
1422020043022   DeferredSave.extensions.json    DEBUG   Starting write
1422020043754   addons.manager  DEBUG   shutdown
1422020043755   addons.manager  DEBUG   Calling shutdown blocker for XPIProvider
1422020043755   addons.xpi  DEBUG   shutdown
1422020043755   addons.xpi-utils    DEBUG   shutdown
1422020043756   addons.manager  DEBUG   Calling shutdown blocker for LightweightThemeManager
1422020043756   addons.manager  DEBUG   Calling shutdown blocker for OpenH264Provider
1422020043757   addons.manager  DEBUG   Calling shutdown blocker for PluginProvider
1422020043806   DeferredSave.extensions.json    DEBUG   Write succeeded
1422020043806   addons.xpi-utils    DEBUG   XPI Database saved, setting schema version preference
to 16
1422020043806   addons.xpi  DEBUG   Notifying XPI shutdown observers
1422020043809   addons.manager  DEBUG   Async provider shutdown done
System JS : ERROR (null):0 - uncaught exception: 2147500037
1422020044302   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1422020044304   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1422020044306   addons.xpi  DEBUG   startup
1422020044307   addons.xpi  INFO    Mapping {D19CA586-DD6C-4a0a-96F8-14644F340D60} to C:\Program
Files (x86)\Common Files\McAfee\SystemCore
1422020044307   addons.xpi  INFO    Mapping fiddlerhook@fiddler2.com to C:\Program Files
(x86)\Fiddler2\FiddlerHook
1422020044308   addons.xpi  DEBUG   Skipping unavailable install location app-system-local
1422020044308   addons.xpi  DEBUG   Skipping unavailable install location app-system-share
1422020044309   addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program
Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1422020044309   addons.xpi  INFO    Mapping fxdriver@googlecode.com to C:\Users\GBrajug\AppData\Local\Temp\anonymous2700458607542698962webdriver-profile\extensions\fxdriver@googlecode.com
1422020044310   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: C:\Users\GBrajug\AppData\Local\Temp\anonymous2700458607542698962webdriver-profile\extensions\webdriver-staging
1422020044310   addons.xpi  DEBUG   checkForChanges
1422020044329   addons.xpi  DEBUG   No changes found
1422020044332   addons.manager  DEBUG   Registering shutdown blocker for XPIProvider
1422020044332   addons.manager  DEBUG   Registering shutdown blocker for LightweightThemeManager
1422020044334   addons.manager  DEBUG   Registering shutdown blocker for OpenH264Provider
1422020044334   addons.manager  DEBUG   Registering shutdown blocker for PluginProvider
1422020045500   addons.manager  DEBUG   Registering shutdown blocker for <unnamed-provider>

Build info: version: '2.25.0', revision: '17482', time: '2012-07-18 21:09:14'
System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version:
'1.7.0_55'
Driver info: driver.version: FirefoxDriver
    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:121)
    at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:245)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:109)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:185)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:178)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:174)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:92)
    at TestAutomation.main(TestAutomation.java:8)
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:
redSave.extensions.json DEBUG   Save changes
1422020040916   DeferredSave.extensions.json    DEBUG   Save changes
1422020040916   addons.xpi  DEBUG   New add-on {D19CA586-DD6C-4a0a-96F8-14644F340D60} installed
in winreg-app-global
1422020040923   addons.xpi-utils    DEBUG   Make addon winreg-app-global:{D19CA586-DD6C-4a0a-96F8-14644F340D60}
visible
1422020040923   DeferredSave.extensions.json    DEBUG   Save changes
1422020040923   DeferredSave.extensions.json    DEBUG   Save changes
1422020040923   addons.xpi  DEBUG   New add-on fiddlerhook@fiddler2.com installed in winreg-app-global
1422020040931   addons.xpi-utils    DEBUG   Make addon winreg-app-global:fiddlerhook@fiddler2.com
visible
1422020040931   DeferredSave.extensions.json    DEBUG   Save changes
1422020040931   DeferredSave.extensions.json    DEBUG   Save changes
1422020040949   addons.xpi  DEBUG   Updating database with changes to installed add-ons
1422020040949   addons.xpi-utils    DEBUG   Updating add-on states
1422020040953   addons.xpi-utils    DEBUG   Writing add-ons list
1422020040962   addons.manager  DEBUG   Registering shutdown blocker for XPIProvider
1422020040963   addons.manager  DEBUG   Registering shutdown blocker for LightweightThemeManager
1422020040964   addons.manager  DEBUG   Registering shutdown blocker for OpenH264Provider
1422020040964   addons.manager  DEBUG   Registering shutdown blocker for PluginProvider
1422020042756   DeferredSave.extensions.json    DEBUG   Starting timer
1422020043022   DeferredSave.extensions.json    DEBUG   Starting write
1422020043754   addons.manager  DEBUG   shutdown
1422020043755   addons.manager  DEBUG   Calling shutdown blocker for XPIProvider
1422020043755   addons.xpi  DEBUG   shutdown
1422020043755   addons.xpi-utils    DEBUG   shutdown
1422020043756   addons.manager  DEBUG   Calling shutdown blocker for LightweightThemeManager
1422020043756   addons.manager  DEBUG   Calling shutdown blocker for OpenH264Provider
1422020043757   addons.manager  DEBUG   Calling shutdown blocker for PluginProvider
1422020043806   DeferredSave.extensions.json    DEBUG   Write succeeded
1422020043806   addons.xpi-utils    DEBUG   XPI Database saved, setting schema version preference
to 16
1422020043806   addons.xpi  DEBUG   Notifying XPI shutdown observers
1422020043809   addons.manager  DEBUG   Async provider shutdown done
System JS : ERROR (null):0 - uncaught exception: 2147500037
1422020044302   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1422020044304   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1422020044306   addons.xpi  DEBUG   startup
1422020044307   addons.xpi  INFO    Mapping {D19CA586-DD6C-4a0a-96F8-14644F340D60} to C:\Program
Files (x86)\Common Files\McAfee\SystemCore
1422020044307   addons.xpi  INFO    Mapping fiddlerhook@fiddler2.com to C:\Program Files
(x86)\Fiddler2\FiddlerHook
1422020044308   addons.xpi  DEBUG   Skipping unavailable install location app-system-local
1422020044308   addons.xpi  DEBUG   Skipping unavailable install location app-system-share
1422020044309   addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program
Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1422020044309   addons.xpi  INFO    Mapping fxdriver@googlecode.com to C:\Users\GBrajug\AppData\Local\Temp\anonymous2700458607542698962webdriver-profile\extensions\fxdriver@googlecode.com
1422020044310   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: C:\Users\GBrajug\AppData\Local\Temp\anonymous2700458607542698962webdriver-profile\extensions\webdriver-staging
1422020044310   addons.xpi  DEBUG   checkForChanges
1422020044329   addons.xpi  DEBUG   No changes found
1422020044332   addons.manager  DEBUG   Registering shutdown blocker for XPIProvider
1422020044332   addons.manager  DEBUG   Registering shutdown blocker for LightweightThemeManager
1422020044334   addons.manager  DEBUG   Registering shutdown blocker for OpenH264Provider
1422020044334   addons.manager  DEBUG   Registering shutdown blocker for PluginProvider
1422020045500   addons.manager  DEBUG   Registering shutdown blocker for <unnamed-provider>

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

Reported by pgovind on 2015-01-23 13:45:24

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Experienced same issue
 on FF 35 Selenium 2.44 OS: Win2K8 Server
 on FF 32.0 Selenium 2.43.1 OS: Win2K8 Server

while run raw testcase (copied as is from Selenium IDE):

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1
on port 7055 after 45000 ms. Firefox console output:
mous5604361673312474828webdriver-profile\\extensions\\fxdriver@googlecode.com","mtime":1423769563730,"rdfTime":1423769563621}}}]
1423769564545   addons.xpi-utils    DEBUG   Opening XPI database C:\Users\ADMINI~1\AppData\Local\Temp\anonymous5604361673312474828webdriver-profile\extensions.json
1423769564547   addons.xpi  DEBUG   New add-on fxdriver@googlecode.com installed in app-profile
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1423769564633   addons.xpi-utils    DEBUG   Make addon app-profile:fxdriver@googlecode.com
visible
1423769564636   DeferredSave.extensions.json    DEBUG   Save changes
1423769564637   DeferredSave.extensions.json    DEBUG   Save changes
1423769564637   addons.xpi  DEBUG   New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed
in app-global
1423769564642   addons.xpi-utils    DEBUG   Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
1423769564642   DeferredSave.extensions.json    DEBUG   Save changes
1423769564643   DeferredSave.extensions.json    DEBUG   Save changes
1423769564643   addons.xpi  DEBUG   New add-on {20a82645-c095-46ed-80e3-08825760534b} installed
in winreg-app-global
1423769564650   addons.xpi-utils    DEBUG   Make addon winreg-app-global:{20a82645-c095-46ed-80e3-08825760534b}
visible
1423769564650   DeferredSave.extensions.json    DEBUG   Save changes
1423769564650   DeferredSave.extensions.json    DEBUG   Save changes
1423769564668   addons.xpi  DEBUG   Updating database with changes to installed add-ons
1423769564668   addons.xpi-utils    DEBUG   Updating add-on states
1423769564670   addons.xpi-utils    DEBUG   Writing add-ons list
1423769565172   DeferredSave.extensions.json    DEBUG   Starting timer
1423769565232   DeferredSave.extensions.json    DEBUG   Starting write
1423769565426   DeferredSave.extensions.json    DEBUG   Write succeeded
1423769565427   addons.xpi-utils    DEBUG   XPI Database saved, setting schema version preference
to 16
1423769565484   addons.manager  DEBUG   shutdown
1423769565499   addons.xpi  DEBUG   shutdown
1423769565500   addons.xpi-utils    DEBUG   shutdown
1423769565502   addons.xpi  DEBUG   Notifying XPI shutdown observers
1423769565508   addons.manager  DEBUG   Async provider shutdown done
System JS : ERROR resource://gre/modules/BookmarkHTMLUtils.jsm:897 - NS_ERROR_UNEXPECTED:
Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsINavBookmarksService.removeFolderChildren]
System JS : ERROR resource://gre/modules/BookmarkHTMLUtils.jsm:934 - NS_ERROR_UNEXPECTED:
Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsINavBookmarksService.runInBatchMode]
System JS : ERROR resource://app/components/nsBrowserGlue.js:1727 - NS_ERROR_UNEXPECTED:
Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIAnnotationService.getItemsWithAnnotation]
1423769567093   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1423769567096   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1423769567102   addons.xpi  DEBUG   startup
1423769567103   addons.xpi  INFO    Mapping {20a82645-c095-46ed-80e3-08825760534b} to C:\Windows\Microsoft.NET\Framework\v3.5\Windows
Presentation Foundation\DotNetAssistantExtension
1423769567104   addons.xpi  DEBUG   Skipping unavailable install location app-system-local
1423769567105   addons.xpi  DEBUG   Skipping unavailable install location app-system-share
1423769567106   addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program
Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1423769567108   addons.xpi  INFO    Mapping fxdriver@googlecode.com to C:\Users\ADMINI~1\AppData\Local\Temp\anonymous5604361673312474828webdriver-profile\extensions\fxdriver@googlecode.com
1423769567108   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: C:\Users\ADMINI~1\AppData\Local\Temp\anonymous5604361673312474828webdriver-profile\extensions\webdriver-staging
1423769567109   addons.xpi  DEBUG   checkForChanges
1423769567129   addons.xpi  DEBUG   No changes found
*** Blocklist::_preloadBlocklistFile: blocklist is disabled

    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
    at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:247)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:112)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:192)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:187)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:183)
    at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:96)
    at com.vmware.evorail.qa.selenium.TestTest.setUp(TestTest.java:22)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)


Solved the problem by downgrading FF to 31.0 and Selenium to 3.43.1


Reported by svetak6 on 2015-02-12 20:26:23

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Failed to connect to binary FirefoxBinary(C:\Program Files\Mozilla Firefox\firefox.exe)
on port 7055; process output follows: 
version preference to 16


experiencing the same issue. What i need to do ?

Reported by shailendra.rathore@creativ-eras.com on 2015-02-25 13:09:04

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

This issue happened to me after FF updated to v.36
Walk around:
1. Uninstall FF
2. Download and install FF v.33 (till v.35 should work)
3. Run: firefox.exe -p  to delete profile with files. Close Profile Manager
4. Open FF. Do not import anything from different browsers
5. Run your tests

Reported by ilitskevich on 2015-02-25 15:22:35

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

agreed with last comment, it happens becuase the version is 36.
just install version 33 and no problem with that issue

Reported by nikitoz777 on 2015-03-03 16:23:51

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

firefox version should be below version 36.0

Reported by johns2000 on 2015-03-05 03:19:32

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I had the same problem. The bug is fixed in v36.01. if you have that version and problem
still occurs re-install it again and it should work

Reported by mirmacedonia on 2015-03-09 12:31:05

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

FYI, I have v36.0.1 and still have the problem. Re-installing did not fix the problem
either.

Reported by codespelunker on 2015-03-10 16:28:34

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Guys no reprieve on this FF 36 Still gives the Issue . 

1) Download re-install of FF 36 .. no help
2) Profile deletion recreation .. no help
3) Downgraded to version 33 ... it works.... 

Reported by pallvi.khurana1986 on 2015-03-15 21:48:01

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Profile deletion can't help.
But works in versions <= 33.

Reported by vbmgouda on 2015-03-17 07:32:46

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I had this issue with Firefox 36, also people were facing the same in 35 and 44.

For conclusion, upgrade your Firefox to 37 or downgrade it to anything less than 33.

Reported by tarek.mohammed90 on 2015-04-01 13:08:42

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

tarek.mo...@gmail.com

Great! thank you for your information.

Reported by luis.marcelo.garay on 2015-04-03 16:11:26

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Same issue.

FF 37 --> Tests won't work.
Downgrade to 35 --> Tests work fine.

I was able to reproduce this on desctop pc win 7 and my laptop win 8

Reported by schuette.nils on 2015-04-20 18:15:36

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Yeah..! even I was facing the same issue. Finally it started working after installing
FF 35v on my machine.

Reported by soujanya89 on 2015-04-28 11:52:10

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Ditto! Firefox version 35 is now working for me!

Reported by dduburon on 2015-04-29 18:52:20

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I am using Firefox version 35 still facing same issue can u please help me guys.

Reported by ranjithcs44 on 2015-05-05 10:03:07

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Hi all - I have been trying since 3 days & all options like changing type, setting system.
out, downgrading to FF lowest version, Selenium to Lowest version. But nothing helped
me really. I am using selenium 2.45 & FF 36, any one of the good hearts can help me?


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: 
null
Build info: version: '2.45.0', revision: '32a636c', time: '2015-03-05 22:01:35'
System info: host: 'USFL15722W01214', ip: '135.53.224.7', os.name: 'Windows 7', os.arch:
'amd64', os.version: '6.1', java.version: '1.8.0_45'

Reported by staranand21 on 2015-05-13 20:04:55


- _Attachment: [Sel_error.jpg](https://storage.googleapis.com/google-code-attachments/selenium/issue-7954/comment-32/Sel_error.jpg)_

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Same Issue Exist for me too...

I used selenium 2.31 and downgraded  mozila to 19 it worked fine.

org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program
Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows: 
e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"38.0.1","st":1431732951450,"mt":1431732951449}}}
1431735765931   addons.xpi  DEBUG   No changes found
1431735765934   addons.xpi  DEBUG   Registering manifest for C:\Program Files (x86)\Mozilla
Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi
1431735765934   addons.xpi  DEBUG   Loading bootstrap scope from C:\Program Files (x86)\Mozilla
Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi
1431735765938   addons.xpi  DEBUG   Calling bootstrap method startup on {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}
version 7.3.16540.9015
1431735765977   addons.manager  DEBUG   Registering shutdown blocker for XPIProvider
1431735765977   addons.manager  DEBUG   Provider finished startup: XPIProvider
1431735765977   addons.manager  DEBUG   Starting provider: LightweightThemeManager
1431735765977   addons.manager  DEBUG   Registering shutdown blocker for LightweightThemeManager
1431735765978   addons.manager  DEBUG   Provider finished startup: LightweightThemeManager
1431735765978   addons.manager  DEBUG   Starting provider: GMPProvider
1431735765980   addons.manager  DEBUG   Registering shutdown blocker for GMPProvider
1431735765981   addons.manager  DEBUG   Provider finished startup: GMPProvider
1431735765981   addons.manager  DEBUG   Starting provider: PluginProvider
1431735765981   addons.manager  DEBUG   Registering shutdown blocker for PluginProvider
1431735765981   addons.manager  DEBUG   Provider finished startup: PluginProvider
1431735765981   addons.manager  DEBUG   Completed startup sequence
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
1431735766791   addons.manager  DEBUG   Starting provider: <unnamed-provider>
1431735766792   addons.manager  DEBUG   Registering shutdown blocker for <unnamed-provider>
1431735766792   addons.manager  DEBUG   Provider finished startup: <unnamed-provider>
console.error: skype_ff_extension: 
  DEPRECATED: The widget module is deprecated.  Please consider using the sdk/ui module
instead.
Traceback (most recent call last):
  File "resource://gre/modules/Promise-backend.js", line 867, in Handler.prototype.process
    nextValue = this.onResolve.call(undefined, nextValue);
  File "resource://gre/modules/commonjs/sdk/addon/runner.js", line 86, in startup/</<
    run(options);
  File "resource://gre/modules/commonjs/sdk/addon/runner.js", line 145, in run
    let program = main(options.loader, options.main);
  File "resource://gre/modules/commonjs/toolkit/loader.js", line 697, in main
    return loader.load(loader, module).exports;
  File "resource://gre/modules/commonjs/sdk/loader/cuddlefish.js", line 79, in CuddlefishLoader/options<.load
    result = load(loader, module);
  File "resource://gre/modules/commonjs/toolkit/loader.js", line 323, in load
    evaluate(sandbox, module.uri);
  File "resource://gre/modules/commonjs/toolkit/loader.js", line 271, in evaluate
    : loadSubScript(uri, sandbox, encoding);
  File "resource://skype_ff_extension-at-jetpack/skype_ff_extension/lib/main.js", line
14, in null
    var widgets = require("sdk/widget");
  File "resource://gre/modules/commonjs/toolkit/loader.js", line 604, in require
    freeze(load(loader, module));
  File "resource://gre/modules/commonjs/sdk/loader/cuddlefish.js", line 79, in CuddlefishLoader/options<.load
    result = load(loader, module);
  File "resource://gre/modules/commonjs/toolkit/loader.js", line 323, in load
    evaluate(sandbox, module.uri);
  File "resource://gre/modules/commonjs/toolkit/loader.js", line 271, in evaluate
    : loadSubScript(uri, sandbox, encoding);
  File "resource://gre/modules/commonjs/sdk/widget.js", line 59, in null
    require("./util/deprecate").deprecateUsage(
  File "resource://gre/modules/commonjs/sdk/util/deprecate.js", line 18, in deprecateUsage
    let stack = get().slice(2);
JavaScript error: resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/c2c_options_menu_localization.js,
line 189: TypeError: document.getElementById(...) is null

Build info: version: '2.31.0', revision: '1bd294d', time: '2013-02-27 20:52:59'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version:
'1.7.0_07'
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:190)
    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:92)
    at Try.setUp(Try.java:11)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    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)
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:
e08-4474-a285-3208198ce6fd}":{"d":"C:\\Program Files (x86)\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"38.0.1","st":1431732951450,"mt":1431732951449}}}
1431735765931   addons.xpi  DEBUG   No changes found
1431735765934   addons.xpi  DEBUG   Registering manifest for C:\Program Files (x86)\Mozilla
Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi
1431735765934   addons.xpi  DEBUG   Loading bootstrap scope from C:\Program Files (x86)\Mozilla
Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi
1431735765938   addons.xpi  DEBUG   Calling bootstrap method startup on {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}
version 7.3.16540.9015
1431735765977   addons.manager  DEBUG   Registering shutdown blocker for XPIProvider
1431735765977   addons.manager  DEBUG   Provider finished startup: XPIProvider
1431735765977   addons.manager  DEBUG   Starting provider: LightweightThemeManager
1431735765977   addons.manager  DEBUG   Registering shutdown blocker for LightweightThemeManager
1431735765978   addons.manager  DEBUG   Provider finished startup: LightweightThemeManager
1431735765978   addons.manager  DEBUG   Starting provider: GMPProvider
1431735765980   addons.manager  DEBUG   Registering shutdown blocker for GMPProvider
1431735765981   addons.manager  DEBUG   Provider finished startup: GMPProvider
1431735765981   addons.manager  DEBUG   Starting provider: PluginProvider
1431735765981   addons.manager  DEBUG   Registering shutdown blocker for PluginProvider
1431735765981   addons.manager  DEBUG   Provider finished startup: PluginProvider
1431735765981   addons.manager  DEBUG   Completed startup sequence
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
1431735766791   addons.manager  DEBUG   Starting provider: <unnamed-provider>
1431735766792   addons.manager  DEBUG   Registering shutdown blocker for <unnamed-provider>
1431735766792   addons.manager  DEBUG   Provider finished startup: <unnamed-provider>
console.error: skype_ff_extension: 
  DEPRECATED: The widget module is deprecated.  Please consider using the sdk/ui module
instead.
Traceback (most recent call last):
  File "resource://gre/modules/Promise-backend.js", line 867, in Handler.prototype.process
    nextValue = this.onResolve.call(undefined, nextValue);
  File "resource://gre/modules/commonjs/sdk/addon/runner.js", line 86, in startup/</<
    run(options);
  File "resource://gre/modules/commonjs/sdk/addon/runner.js", line 145, in run
    let program = main(options.loader, options.main);
  File "resource://gre/modules/commonjs/toolkit/loader.js", line 697, in main
    return loader.load(loader, module).exports;
  File "resource://gre/modules/commonjs/sdk/loader/cuddlefish.js", line 79, in CuddlefishLoader/options<.load
    result = load(loader, module);
  File "resource://gre/modules/commonjs/toolkit/loader.js", line 323, in load
    evaluate(sandbox, module.uri);
  File "resource://gre/modules/commonjs/toolkit/loader.js", line 271, in evaluate
    : loadSubScript(uri, sandbox, encoding);
  File "resource://skype_ff_extension-at-jetpack/skype_ff_extension/lib/main.js", line
14, in null
    var widgets = require("sdk/widget");
  File "resource://gre/modules/commonjs/toolkit/loader.js", line 604, in require
    freeze(load(loader, module));
  File "resource://gre/modules/commonjs/sdk/loader/cuddlefish.js", line 79, in CuddlefishLoader/options<.load
    result = load(loader, module);
  File "resource://gre/modules/commonjs/toolkit/loader.js", line 323, in load
    evaluate(sandbox, module.uri);
  File "resource://gre/modules/commonjs/toolkit/loader.js", line 271, in evaluate
    : loadSubScript(uri, sandbox, encoding);
  File "resource://gre/modules/commonjs/sdk/widget.js", line 59, in null
    require("./util/deprecate").deprecateUsage(
  File "resource://gre/modules/commonjs/sdk/util/deprecate.js", line 18, in deprecateUsage
    let stack = get().slice(2);
JavaScript error: resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/c2c_options_menu_localization.js,
line 189: TypeError: document.getElementById(...) is null

    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:106)
    ... 31 more

java.lang.NullPointerException
    at Try.tearDown(Try.java:26)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    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.RunAfters.evaluate(RunAfters.java:33)
    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 priyanandh06 on 2015-05-16 00:49:02

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I am also facing this issue ... can any one suggest to over come this issue ?

9.3.116.100 hscroot abc123
[TestNG] Running:
  Command line suite

Listener before method: before
TestCaseDataHelper.hmcData.getHostname(): 9.3.116.100
org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program
Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows: 
e":1434606531500}}}]
1434606532190   addons.xpi-utils    DEBUG   Opening XPI database C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous6449974074296758012webdriver-profile\extensions.json
1434606532195   addons.xpi  DEBUG   New add-on fxdriver@googlecode.com installed in app-profile
1434606532212   addons.xpi-utils    DEBUG   Make addon app-profile:fxdriver@googlecode.com
visible
1434606532213   DeferredSave.extensions.json    DEBUG   Save changes
1434606532213   DeferredSave.extensions.json    DEBUG   Save changes
1434606532214   addons.xpi  DEBUG   New add-on IBM-cck@firefox-extensions.ibm.com installed
in app-profile
1434606532214   addons.xpi-utils    DEBUG   Make addon app-profile:IBM-cck@firefox-extensions.ibm.com
visible
1434606532214   DeferredSave.extensions.json    DEBUG   Save changes
1434606532214   DeferredSave.extensions.json    DEBUG   Save changes
1434606532214   addons.xpi  DEBUG   New add-on ietab@ip.cn installed in app-profile
1434606532214   addons.xpi-utils    DEBUG   Make addon app-profile:ietab@ip.cn visible
1434606532215   DeferredSave.extensions.json    DEBUG   Save changes
1434606532215   DeferredSave.extensions.json    DEBUG   Save changes
1434606532215   addons.xpi  DEBUG   New add-on langpack-en-US@firefox.mozilla.org installed
in app-profile
1434606532215   addons.xpi-utils    DEBUG   Make addon app-profile:langpack-en-US@firefox.mozilla.org
visible
1434606532215   DeferredSave.extensions.json    DEBUG   Save changes
1434606532215   DeferredSave.extensions.json    DEBUG   Save changes
1434606532219   addons.xpi  DEBUG   New add-on langpack-fr@firefox.mozilla.org installed
in app-profile
1434606532219   addons.xpi-utils    DEBUG   Make addon app-profile:langpack-fr@firefox.mozilla.org
visible
1434606532219   DeferredSave.extensions.json    DEBUG   Save changes
1434606532219   DeferredSave.extensions.json    DEBUG   Save changes
1434606532220   addons.xpi  DEBUG   New add-on langpack-ja@firefox.mozilla.org installed
in app-profile
1434606532221   addons.xpi-utils    DEBUG   Make addon app-profile:langpack-ja@firefox.mozilla.org
visible
1434606532221   DeferredSave.extensions.json    DEBUG   Save changes
1434606532221   DeferredSave.extensions.json    DEBUG   Save changes
1434606532222   addons.xpi  DEBUG   New add-on langpack-ko@firefox.mozilla.org installed
in app-profile
1434606532222   addons.xpi-utils    DEBUG   Make addon app-profile:langpack-ko@firefox.mozilla.org
visible
1434606532222   DeferredSave.extensions.json    DEBUG   Save changes
1434606532222   DeferredSave.extensions.json    DEBUG   Save changes
1434606532222   addons.xpi  DEBUG   New add-on langpack-zh-CN@firefox.mozilla.org installed
in app-profile
1434606532222   addons.xpi-utils    DEBUG   Make addon app-profile:langpack-zh-CN@firefox.mozilla.org
visible
1434606532223   DeferredSave.extensions.json    DEBUG   Save changes
1434606532223   DeferredSave.extensions.json    DEBUG   Save changes
1434606532224   addons.xpi  DEBUG   New add-on langpack-zh-TW@firefox.mozilla.org installed
in app-profile
1434606532224   addons.xpi-utils    DEBUG   Make addon app-profile:langpack-zh-TW@firefox.mozilla.org
visible
1434606532224   DeferredSave.extensions.json    DEBUG   Save changes
1434606532224   DeferredSave.extensions.json    DEBUG   Save changes
1434606532225   addons.xpi  DEBUG   New add-on {25A1388B-6B18-46c3-BEBA-A81915D0DE8F} installed
in app-profile
1434606532225   addons.xpi-utils    DEBUG   Make addon app-profile:{25A1388B-6B18-46c3-BEBA-A81915D0DE8F}
visible
1434606532225   DeferredSave.extensions.json    DEBUG   Save changes
1434606532225   DeferredSave.extensions.json    DEBUG   Save changes
1434606532226   addons.xpi  DEBUG   New add-on wcapturex@deskperience.com installed in winreg-app-user
1434606532238   addons.xpi-utils    DEBUG   Make addon winreg-app-user:wcapturex@deskperience.com
visible
1434606532238   DeferredSave.extensions.json    DEBUG   Save changes
1434606532238   DeferredSave.extensions.json    DEBUG   Save changes
1434606532238   addons.xpi  DEBUG   New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed
in app-global
1434606532261   addons.xpi-utils    DEBUG   Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd}
visible
1434606532261   DeferredSave.extensions.json    DEBUG   Save changes
1434606532262   DeferredSave.extensions.json    DEBUG   Save changes

Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
System info: host: 'ADMINIB-JTRTALE', ip: '9.124.161.233', os.name: 'Windows 7', os.arch:
'amd64', os.version: '6.1', java.version: '1.7.0_51'
Driver info: driver.version: BrowserDriver
    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:134)
Expelled: afterInvocation: before  boolean: false
1234: Called for test method: prev: before curr: installAndConfigureGuide
Expelled: beforeInvocation com.ibm.pmc.selenium.testcases.classic.Install_Path
    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 com.ibm.pmc.selenium.main.BrowserDriver.initialnewbrowser(BrowserDriver.java:149)
    at com.ibm.pmc.selenium.main.BrowserDriver.launchBrowser(BrowserDriver.java:50)
    at com.ibm.pmc.selenium.testcases.classic.Install_Path.before(Install_Path.java:41)
    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.invokeMethod(Invoker.java:653)
    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 org.testng.TestRunner.privateRun(TestRunner.java:767)
    at org.testng.TestRunner.run(TestRunner.java:617)
    at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
    at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
    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 com.ibm.pmc.selenium.main.GuiTestMain.main(GuiTestMain.java:129)
Caused by: org.openqa.selenium.WebDriverException: java.lang.InterruptedException:
Process timed out after waiting for 45000 ms.
Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
System info: host: 'ADMINIB-JTRTALE', ip: '9.124.161.233', os.name: 'Windows 7', os.arch:
'amd64', os.version: '6.1', java.version: '1.7.0_51'
Driver info: driver.version: BrowserDriver
    at org.openqa.selenium.os.CommandLine.waitFor(CommandLine.java:131)
    at org.openqa.selenium.firefox.FirefoxBinary.waitFor(FirefoxBinary.java:222)
    at org.openqa.selenium.firefox.FirefoxBinary.clean(FirefoxBinary.java:242)
    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:91)
    ... 33 more
Caused by: java.lang.InterruptedException: Process timed out after waiting for 45000
ms.
    at org.openqa.selenium.os.UnixProcess.waitFor(UnixProcess.java:148)
    at org.openqa.selenium.os.CommandLine.waitFor(CommandLine.java:129)
    ... 36 more
9.3.116.100 hscroot abc123
Listener after method: installAndConfigureGuide
Expelled: beforeInvocation com.ibm.pmc.selenium.testcases.classic.Install_Path
PageObjectTrial: After Test
Expelled: afterInvocation: after  boolean: true
Exception in thread "main" java.lang.IllegalStateException: java.lang.NullPointerException
    at atu.testng.reports.listeners.ATUReportsListener.onFinish(Unknown Source)
    at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:200)
    at org.testng.SuiteRunner.run(SuiteRunner.java:243)
    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 com.ibm.pmc.selenium.main.GuiTestMain.main(GuiTestMain.java:129)
Caused by: java.lang.NullPointerException
    at atu.testng.reports.writers.CurrentRunPageWriter.getTestCaseHTMLPath(Unknown Source)
    at atu.testng.reports.writers.CurrentRunPageWriter.writeFailedData(Unknown Source)
    at atu.testng.reports.writers.CurrentRunPageWriter.content(Unknown Source)
    at atu.testng.reports.listeners.ATUReportsListener.generateCurrentRunPage(Unknown
Source)
    ... 9 more

Reported by arun.tonio on 2015-06-18 06:39:05

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

...oh yes - after playing around with some different versions - any hint how to solve
this is highly appreciated

Build info: version: '2.44.0', revision: '76d78cf323ce037c5f92db6c1bba601c2ac43ad8',
time: '2014-10-23 13:11:40'
System info: host: 'xxx', ip: 'x.x.x.x', os.name: 'Windows 7', os.arch: 'x86', os.version:
'6.1', java.version: '1.7.0_71'
Driver info: driver.version: FirefoxDriver
        at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:134)
        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)
...
Caused by: org.openqa.selenium.WebDriverException: java.lang.InterruptedException:
Process timed out after waiting for 45000 ms.   

Reported by Olaf.Schuemann on 2015-06-18 13:54:46

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Please use this code to resolve immediate issue,it worked for me:

                WebDriver obj=new FirefoxDriver();

                obj.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);
        Thread.sleep(10000);

        obj.get("http://url");


Reported by Razdan077 on 2015-06-28 10:42:12

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

The implicityWait did not help me.

Build info: version: '2.45.0', revision: '32a636c', time: '2015-03-05 22:01:35'
FF 38.1.0 


FAILED: Go
org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program
Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows: 
1437490607165   addons.manager  DEBUG   Application has been upgraded
1437490607209   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm:
["XPIProvider"]
1437490607211   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm:
["LightweightThemeManager"]
1437490607225   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/GMPProvider.jsm
1437490607227   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/PluginProvider.jsm
1437490607227   addons.manager  DEBUG   Starting provider: XPIProvider
1437490607228   addons.xpi  DEBUG   startup
1437490607230   addons.xpi  INFO    Mapping fxdriver@googlecode.com to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous6775534805403434868webdriver-profile\extensions\fxdriver@googlecode.com
1437490607231   addons.xpi  DEBUG   Ignoring file entry whose name is not a valid add-on
ID: C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous6775534805403434868webdriver-profile\extensions\webdriver-staging
1437490607234   addons.xpi  INFO    Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program
Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1437490607234   addons.xpi  DEBUG   Skipping unavailable install location app-system-share
1437490607235   addons.xpi  DEBUG   Skipping unavailable install location app-system-local
1437490607236   addons.xpi  DEBUG   checkForChanges
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1437490608064   addons.xpi  INFO    Mapping IBM-cck@firefox-extensions.ibm.com to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous6775534805403434868webdriver-profile\extensions\IBM-cck@firefox-extensions.ibm.com
1437490608064   addons.xpi  DEBUG   Installed distribution add-on IBM-cck@firefox-extensions.ibm.com
1437490610245   addons.xpi  INFO    Mapping ietab@ip.cn to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous6775534805403434868webdriver-profile\extensions\ietab@ip.cn
1437490610245   addons.xpi  DEBUG   Installed distribution add-on ietab@ip.cn
1437490616803   addons.xpi  INFO    Mapping langpack-en-US@firefox.mozilla.org to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous6775534805403434868webdriver-profile\extensions\langpack-en-US@firefox.mozilla.org
1437490616803   addons.xpi  DEBUG   Installed distribution add-on langpack-en-US@firefox.mozilla.org
1437490623146   addons.xpi  INFO    Mapping langpack-es-ES@firefox.mozilla.org to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous6775534805403434868webdriver-profile\extensions\langpack-es-ES@firefox.mozilla.org
1437490623147   addons.xpi  DEBUG   Installed distribution add-on langpack-es-ES@firefox.mozilla.org
1437490632924   addons.xpi  INFO    Mapping langpack-fr@firefox.mozilla.org to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous6775534805403434868webdriver-profile\extensions\langpack-fr@firefox.mozilla.org
1437490632924   addons.xpi  DEBUG   Installed distribution add-on langpack-fr@firefox.mozilla.org
1437490639735   addons.xpi  INFO    Mapping langpack-it@firefox.mozilla.org to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous6775534805403434868webdriver-profile\extensions\langpack-it@firefox.mozilla.org
1437490639735   addons.xpi  DEBUG   Installed distribution add-on langpack-it@firefox.mozilla.org
1437490647740   addons.xpi  INFO    Mapping langpack-ja@firefox.mozilla.org to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous6775534805403434868webdriver-profile\extensions\langpack-ja@firefox.mozilla.org
1437490647740   addons.xpi  DEBUG   Installed distribution add-on langpack-ja@firefox.mozilla.org

Build info: version: '2.45.0', revision: '32a636c', time: '2015-03-05 22:01:35'
System info: host: 'ADMINIB-5385999', ip: '172.16.0.2', os.name: 'Windows 7', os.arch:
'amd64', os.version: '6.1', java.version: '1.7.0'
Driver info: driver.version: FirefoxDriver
    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:134)
    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 com.ibm.spng.test.LoginTests.LoginTest.Go(LoginTest.java:14)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
    at org.testng.internal.Invoker.invokeMethod(Invoker.java:696)
    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:882)
    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1189)
    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
    at org.testng.TestRunner.privateRun(TestRunner.java:767)
    at org.testng.TestRunner.run(TestRunner.java:617)
    at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
    at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
    at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
    at org.testng.SuiteRunner.run(SuiteRunner.java:254)
    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.WebDriverException: java.lang.InterruptedException:
Process timed out after waiting for 45000 ms.
Build info: version: '2.45.0', revision: '32a636c', time: '2015-03-05 22:01:35'
System info: host: 'ADMINIB-5385999', ip: '172.16.0.2', os.name: 'Windows 7', os.arch:
'amd64', os.version: '6.1', java.version: '1.7.0'
Driver info: driver.version: FirefoxDriver
    at org.openqa.selenium.os.CommandLine.waitFor(CommandLine.java:131)
    at org.openqa.selenium.firefox.FirefoxBinary.waitFor(FirefoxBinary.java:222)
    at org.openqa.selenium.firefox.FirefoxBinary.clean(FirefoxBinary.java:242)
    at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:91)
    ... 31 more
Caused by: java.lang.InterruptedException: Process timed out after waiting for 45000
ms.
    at org.openqa.selenium.os.UnixProcess.waitFor(UnixProcess.java:148)
    at org.openqa.selenium.os.CommandLine.waitFor(CommandLine.java:129)
    ... 34 more


===============================================
    Default test
    Tests run: 1, Failures: 1, Skips: 0
===============================================


===============================================
Default suite
Total tests run: 1, Failures: 1, Skips: 0
===============================================

[TestNG] Time taken by org.testng.reporters.EmailableReporter2@92ee1b81: 84 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@8caa5ce9: 57 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 12 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@7e809be5: 38 ms
[TestNG] Time taken by org.testng.reporters.jq.Main@9aa577bd: 73 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@f35a9dfa: 102 ms

Reported by cpfeiler on 2015-07-21 15:03:04

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Update your selenium with Latest 2.47.0 and problem  get resolved.

Reported by anu.lovi on 2015-08-08 13:01:46

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Updated to 2.47.1, but when Firefox 41 b1 was pushed today, the same issue is cropping
up...looks like lack of support for FF 41.
Is there something we can do locally to get it to work, till we get a new version of
Selenium to support the new version?

Reported by pvinodr on 2015-08-13 17:48:19

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

This may help some:
https://github.com/SeleniumHQ/selenium/issues/944

Reported by pvinodr on 2015-08-20 13:07:57

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Seeing below exception :
[testng] Error while starting browser org.openqa.selenium.WebDriverException: Failed
to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe)
on port 7055; process output follows: 
   [testng] null
   [testng] Build info: version: '2.46.0', revision: '87c69e2', time: '2015-06-04 16:17:10'
   [testng] System info: host: 'Tharun-PC', ip: '172.27.236.48', os.name: 'Windows
7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_51'
   [testng] Driver info: driver.version: FirefoxDriver
   [testng] The tests failed.


While i was try to launch browser from eclipse it's working fine.
above issue is happening only when i run through command line .

Please throw some light

Reported by tharunteja2009 on 2015-09-11 03:09:09

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by luke.semerau on 2015-09-17 18:24:37

  • 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