Net-Ping Timeout Error

Hi all,

I am getting the following error
/usr/lib/ruby/site_ruby/1.8/net/ping.rb:83:in ping?': undefined methodclose’ for #<Timeout::Error: execution expired> (NoMethodError)

I get this error while trying to ping multiple hosts, using the PingTCP
method
defined in net-ping “1.1.0”. The error is generated randomly and It
happens
with
even after changing the default timeout=5

Could anyone suggest a workaround for this error ?

Regards
Anoop

Anoop Chandran wrote:

with
even after changing the default timeout=5

Could anyone suggest a workaround for this error ?

Regards
Anoop

That’s a bug. I’ll have a new release out asap.

Dan

Oh … ok …
Has this been fixed in the version 1.1.1 found in RAA ?

Thanks
Anoop

Anoop Chandran wrote:

Oh … ok …
Has this been fixed in the version 1.1.1 found in RAA ?

Thanks
Anoop

Yep, should be.

Regards,

Dan

Then I’ll try that version out as well …

Thanks Daniel.

Regards
Anoop.