Sysread': end of file reached (EOFError)

Hi,
I am trying to access the gmail account through net/pop library.However,
I have an error such that:

c:/ruby/lib/ruby/1.8/net/protocol.rb:133:in sysread': end of file reached (EOFError) from c:/ruby/lib/ruby/1.8/net/protocol.rb:133:inrbuf_fill’
from c:/ruby/lib/ruby/1.8/timeout.rb:56:in timeout' from c:/ruby/lib/ruby/1.8/timeout.rb:76:intimeout’
from c:/ruby/lib/ruby/1.8/net/protocol.rb:132:in rbuf_fill' from c:/ruby/lib/ruby/1.8/net/protocol.rb:116:inreaduntil’
from c:/ruby/lib/ruby/1.8/net/protocol.rb:126:in readline' from c:/ruby/lib/ruby/1.8/net/pop.rb:852:inrecv_response’
from c:/ruby/lib/ruby/1.8/net/pop.rb:751:in initialize' from c:/ruby/lib/ruby/1.8/net/pop.rb:868:incritical’
from c:/ruby/lib/ruby/1.8/net/pop.rb:751:in initialize' from c:/ruby/lib/ruby/1.8/net/pop.rb:440:indo_start’
from c:/ruby/lib/ruby/1.8/net/pop.rb:426:in start' from c:/ruby/lib/ruby/1.8/net/pop.rb:329:instart’
from script/inbox:4
Can anyone explain what the problem is ?
Thanks…
Mikado

Either you have the wrong ip address or its just being blocked by a
firewall. The error is a timeout, so it could be a number of things.

Miguel El Feo wrote:

Either you have the wrong ip address or its just being blocked by a
firewall. The error is a timeout, so it could be a number of things.

At the begining, the error I took was such that:

c:/ruby/lib/ruby/1.8/timeout.rb:54:in rbuf_fill': execution expired (Timeout::E rror) from c:/ruby/lib/ruby/1.8/timeout.rb:56:in timeout’
from c:/ruby/lib/ruby/1.8/timeout.rb:76:in timeout' from c:/ruby/lib/ruby/1.8/net/protocol.rb:132:in rbuf_fill’
from c:/ruby/lib/ruby/1.8/net/protocol.rb:116:in readuntil' from c:/ruby/lib/ruby/1.8/net/protocol.rb:126:in readline’
from c:/ruby/lib/ruby/1.8/net/pop.rb:852:in recv_response' from c:/ruby/lib/ruby/1.8/net/pop.rb:751:in initialize’
from c:/ruby/lib/ruby/1.8/net/pop.rb:868:in critical' from c:/ruby/lib/ruby/1.8/net/pop.rb:751:in initialize’
from c:/ruby/lib/ruby/1.8/net/pop.rb:440:in do_start' from c:/ruby/lib/ruby/1.8/net/pop.rb:426:in start’
from c:/ruby/lib/ruby/1.8/net/pop.rb:329:in `start’

then I set the open_timeout to 180 and I took the second error as I said
in my first quote. The line, the error occurs from is here :
Net::POP3.start(‘pop.gmail.com’, 995,‘my_account’, ‘my_passwd’)
I couldn’t understand what is wrong here. How can I correct this
problem?
Thanks…