Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Ruby (http://www.velocityreviews.com/forums/f66-ruby.html)
-   -   connection failed error (http://www.velocityreviews.com/forums/t854379-connection-failed-error.html)

Mano ah 11-27-2008 04:29 AM

connection failed error
 
I am getting the below error while i try to get response from API. What
should I do to solve this

c:/ruby/lib/ruby/1.8/net/http.rb:564:in `initialize': A connection
attempt failed because the connected party did not properly respond
after a period of time, or established connection failed because
connected host has failed to respond. - connect(2) (Errno::ETIMEDOUT)
from c:/ruby/lib/ruby/1.8/net/http.rb:564:in `open'
from c:/ruby/lib/ruby/1.8/net/http.rb:564:in `connect'
from c:/ruby/lib/ruby/1.8/timeout.rb:48:in `timeout'
from c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'
from c:/ruby/lib/ruby/1.8/net/http.rb:564:in `connect'
from c:/ruby/lib/ruby/1.8/net/http.rb:557:in `do_start'
from c:/ruby/lib/ruby/1.8/net/http.rb:546:in `start'
from c:/ruby/lib/ruby/1.8/open-uri.rb:243:in `open_http'
from c:/ruby/lib/ruby/1.8/open-uri.rb:617:in `buffer_open'
from c:/ruby/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
from c:/ruby/lib/ruby/1.8/open-uri.rb:162:in `catch'
from c:/ruby/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
from c:/ruby/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
from c:/ruby/lib/ruby/1.8/open-uri.rb:519:in `open'
from c:/ruby/lib/ruby/1.8/open-uri.rb:30:in `open'
from wishpot.rb:19:in `create_urlrequest'
from wishpot.rb:50
--
Posted via http://www.ruby-forum.com/.



All times are GMT. The time now is 10:50 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57