Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6007299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:39:40+00:00 2026-05-23T01:39:40+00:00

I have a WebDriver test using the FirefoxDriver that I am attempting to run

  • 0

I have a WebDriver test using the FirefoxDriver that I am attempting to run as a Jenkins job.

It works fine in Windows, it also works from the command line in Linux, where my Jenkins server lives.

Unfortunately, I got the following error during executing as a Jenkins job:

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

The Jenkins job consists of 2 steps: a shell step that executes:

Xvfb :1 -screen 0 1024x768x24 &
export DISPLAY=:1

And then a maven package to run the test class.

Why can’t I get the Jenkins job to execute Firefox?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:39:41+00:00Added an answer on May 23, 2026 at 1:39 am

    What finally ended up working was to create the entire Jenkins job as one step that ran shell commands:

    Xvfb :1 -screen 0 1024x768x24 &
    export DISPLAY=:1
    mvn package
    

    and that worked. No more NotConnectedException.

    I had originally had the Jenkins job as 2 steps, shell to create virtual frame buffer and maven goal.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been using Selenium Webdriver successfully with JAR downloaded from their pages or
I have a script running watir-webdriver(using Firefox 4.0) that needs to access a web
I'm attempting to use the selenium-webdriver [ruby bindings][1] to access an internal web-site that
I'm using Selenium Java 2.0b3 . I have this code: ... WebDriver driver =
I know that normally there are no problems using Git from different OSs to
Have just started using Google Chrome , and noticed in parts of our site,
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Have you refactored from an ActiveRecord to a DataMapper pattern? What conditions prompted the
i was running a test remotely on internet explorer, and when using navigate().to() selenium
Have noticed issue while testing iphone app that if one quickly opens/dismisses a modal

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.