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 3310624
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:46:54+00:00 2026-05-17T21:46:54+00:00

I am having an issue using Jasmine on Ubuntu when trying to run the

  • 0

I am having an issue using Jasmine on Ubuntu when trying to run the example javascript specs through Selenium using the “rake jasmine:ci” command. I will periodically get a “Connection refused” error when net/http is trying to connect to the port where Selenium is running. An example the start of the backtrace I get is:

Waiting for jasmine server on 44210...
jasmine server started.
Running: java -jar "/home/pete/.rvm/gems/ree-head/gems/selenium-rc-2.2.4/vendor/selenium-server.jar" -port 42168 > /dev/null
==> Waiting for Selenium RC server on port 42168... Ready!
/home/pete/.rvm/rubies/ree-head/lib/ruby/1.8/net/http.rb:560:in `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
from /home/pete/.rvm/rubies/ree-head/lib/ruby/1.8/net/http.rb:560:in `open'
from /home/pete/.rvm/rubies/ree-head/lib/ruby/1.8/net/http.rb:560:in `connect'
from /home/pete/.rvm/rubies/ree-head/lib/ruby/1.8/timeout.rb:53:in `timeout'
from /home/pete/.rvm/rubies/ree-head/lib/ruby/1.8/timeout.rb:93:in `timeout'
from /home/pete/.rvm/rubies/ree-head/lib/ruby/1.8/net/http.rb:560:in `connect'
from /home/pete/.rvm/rubies/ree-head/lib/ruby/1.8/net/http.rb:553:in `do_start'

I’ve tried using Jasmine on Windows and it doesn’t seem to have this issue. Like I said, this doesn’t happen every time I try to run it (it chooses a different port each time), but it does happen a lot. I’m a little hazy as to exactly why Jasmine will occasionally find ports which are open but which it is unable to connect to. Is there something I can do on my end as far as configuration goes to solve or work around the issue? Or is this a problem in Jasmine?

Any help or ideas would be appreciated.

  • 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-17T21:46:55+00:00Added an answer on May 17, 2026 at 9:46 pm

    I solved this by running selenium outside of jasmine. Which was probably a better solution anyway. See the jasmine google group for my post.

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

Sidebar

Related Questions

I'm having an issue using .on() to appended elements. I'm trying to select and
I am having issue in checking which input has been clicked using unobstructive javascript.
I'm having an issue using a new WPF app that is trying to display
I am having a issue using Google's SDC (Secure Data Connector) with my Google
I'm having an issue using the Cookie class of the Servlet API 2.5 on
I'm having an issue using the qTip plugin with jQuery. I've created a js
I believe I am having a memory issue using numpy arrays. The following code
i'm having a little issue with doctrine using symfony 1.4 (I think it's using
I am having an issue with a website developed using ASP.Net/C# sometimes taking all
I am having an issue where I am using regex.Replace to replace part of

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.