Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > connection failed error

Thread Tools

connection failed error

Mano ah
Posts: n/a
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

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error:Login failed for user ''. The user is not associated with a trusted SQL Server connection. CFTK ASP .Net 5 01-09-2007 10:51 AM
The connection to the server has failed. Account: '', Server: '', Protocol: POP3, Port: 110, Secure(SSL): No, Socket Error: 10061, Error Number: 0x800CCC0E Michael Bower Computer Support 3 10-01-2006 03:44 PM
Could Not Connect To SMTP Host Connection Failed -- Software caused connection abort: connect Java 3 11-16-2005 03:33 PM
QueryInterface for interface Excel._Application failed / QueryInterface for interface Word._Application failed SOLUTION Wildepiet ASP .Net 0 06-14-2004 07:28 AM
Re: Error in run time:Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. Cowboy ASP .Net 0 05-20-2004 02:50 PM