On Wed, Apr 4, 2012 at 6:41 PM, Hanley H. <lists / ruby-forum.com> wrote:
> I am using the StorageRoom App Ruby Gem with the StorageRoom App API.
> The following script is giving me a weird error:

[snip]

> And the error is:
>
> /usr/local/lib/ruby/1.9.1/net/protocol.rb:140:in `rescue in rbuf_fill':
> Timeout::Error (Timeout::Error)

[snip]

> from /usr/local/lib/ruby/1.9.1/net/http.rb:1168:in `request'

Looks like your HTTP request is timing out. Are you trying this from
behind a proxy? If so you can set it using a class method on HTTParty
before calling the StorageRoom API.
Otherwise, look for other reasons why your connection is failing.

Regards,
Sean