Connection failure message trying to run my ruby file

S

Shekar Ls

Hi All,
When I am trying to run an ruby automation script, i get
connection failed error.please check below for complete stacktrace.

<ERROR STACK>

D:/Selenium/RUBY/lib/ruby/1.8/net/http.rb:564:in `initialize': A
connection atte

mpt failed because the connected party did not properly respond after a
period o

f time, or established connection failed because connected host has
failed to re

spond. - connect(2) (Errno::ETIMEDOUT)

from D:/Selenium/RUBY/lib/ruby/1.8/net/http.rb:564:in `open'

from D:/Selenium/RUBY/lib/ruby/1.8/net/http.rb:564:in `connect'

from D:/Selenium/RUBY/lib/ruby/1.8/timeout.rb:48:in `timeout'

from D:/Selenium/RUBY/lib/ruby/1.8/timeout.rb:76:in `timeout'

from D:/Selenium/RUBY/lib/ruby/1.8/net/http.rb:564:in `connect'

from D:/Selenium/RUBY/lib/ruby/1.8/net/http.rb:557:in `do_start'

from D:/Selenium/RUBY/lib/ruby/1.8/net/http.rb:546:in `start'

from D:/Selenium/RUBY/lib/ruby/1.8/net/http.rb:1044:in `request'

from D:/Selenium/RUBY/lib/ruby/1.8/net/http.rb:781:in `get'

from
D:/Selenium/RUBY/lib/ruby/gems/1.8/gems/Selenium-1.1.14/lib/seleniu

m/openqa/selenium.rb:170:in `do_command'

from D:/Selenium/RUBY/lib/ruby/1.8/timeout.rb:56:in `timeout'

from D:/Selenium/RUBY/lib/ruby/1.8/timeout.rb:76:in `timeout'

from
D:/Selenium/RUBY/lib/ruby/gems/1.8/gems/Selenium-1.1.14/lib/seleniu

m/openqa/selenium.rb:158:in `do_command'

from
D:/Selenium/RUBY/lib/ruby/gems/1.8/gems/Selenium-1.1.14/lib/seleniu

m/openqa/selenium.rb:180:in `get_string'
<ERROR STACK>

Let me know if more information is required on this front.

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,930
Messages
2,570,072
Members
46,521
Latest member
JamieCooch

Latest Threads

Top