My Thoughts: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

Monday, November 26

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

 I am using selenium 2.24 jar files.But today , I got below errors when I ran one of my sample script.
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-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\vkurra\AppData\Local\Temp\anonymous4553384920216924839webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi-utils: Opening database
*** LOG addons.xpi-utils: Creating database schema
*** LOG addons.xpi: New add-on fxdriver@googlecode.com installed in app-profile
*** LOG addons.xpi: New add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} installed in app-global
*** 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: shutdown
*** LOG addons.xpi-utils: shutdown
*** LOG addons.xpi-utils: Database closed
*** 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\vkurra\AppData\Local\Temp\anonymous4553384920216924839webdriver-profile\extensions\webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found


Immidiate thing I have done is , selenium jars updation. I have downloaded latest selenium 2.25 jars and added them to my project buildpath. Now things are going smooth :)

10 comments:

  1. I solved my problem the same way. My Firefox updated to v19 (forced update by IT). I had to update both the GWT [to version 19] and and Selenium [to version 2.31].

    ReplyDelete
  2. Shraddha SonawaneFriday, July 12, 2013

    1) Ruby - unable to bind to locking port 7054 within 45 seconds (Selenium::WebDriver::Error::WebDriverError)

    Cause:- Not known

    Solution:-
    Steps:-
    1. Go to following path
    C:\Windows\System32\drivers\etc
    2. And comment out : 127.0.0.1 localhost



    problem is sloved by following above steps

    ReplyDelete
  3. I have the same problem but this did not fix for me. I tried older versions and i still get this error.

    ReplyDelete
  4. This might be because of Firefox and selenium version miss match ..if u down grade your Firefox to older version also solves this problem.!and one more thing if u disable auto updates on your Firefox then u wont face this issue next time!

    ReplyDelete
  5. Madiraju Krishna ChaitanyaWednesday, February 19, 2014

    Hi Vamsi Kurra,I have updated Jars as you told and my project worked successfully.I Thank You for that.Good One.

    ReplyDelete
  6. I have downloaded latest version selenium-server-standalone-2.39.0.jar and using FF v28. still its not working

    ReplyDelete
  7. Can you try with the latest version i.e selenium-server-standalone-2.41.0

    ReplyDelete
  8. Can you try with the latest version i.e selenium-server-standalone-2.41.0 .

    ReplyDelete
  9. i had the same problm bcoz of selenium v2.38.0 and firefox v28 but then i did the same as u told.upgrade my selenium to 2.41.0 and firefox v28..now its solved..Thnku...

    ReplyDelete