Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Timeout Error or sysread': end of file reached (EOFError)

Reply
Thread Tools

Timeout Error or sysread': end of file reached (EOFError)

 
 
Muazzam Mushtaq
Guest
Posts: n/a
 
      03-28-2006
I am trying to access the gmail account through net/pop library. I have
set the open time out to 180 even but still whenever i try to execute
the code it gives me the End of file reached (EOFError). And if keep the
open time out to its default value which is 60 then it comes up with
timeout error.

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:in `rbuf_fill'
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:853:in `recv_response'
from c:/ruby/lib/ruby/1.8/net/pop.rb:752:in `initialize'
from c:/ruby/lib/ruby/1.8/net/pop.rb:869:in `critical'
from c:/ruby/lib/ruby/1.8/net/pop.rb:752:in `initialize'
from c:/ruby/lib/ruby/1.8/net/pop.rb:441: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:301:in `auth_only'
from c:/ruby/lib/ruby/1.8/net/pop.rb:293:in `auth_only'
from C:/ruby/test/test1:3

c:/ruby/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill': execution expired
(Timeout::Error)
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:853:in `recv_response'
from c:/ruby/lib/ruby/1.8/net/pop.rb:752:in `initialize'
from c:/ruby/lib/ruby/1.8/net/pop.rb:869:in `critical'
from c:/ruby/lib/ruby/1.8/net/pop.rb:752:in `initialize'
from c:/ruby/lib/ruby/1.8/net/pop.rb:441: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:301:in `auth_only'
from c:/ruby/lib/ruby/1.8/net/pop.rb:293:in `auth_only'
from C:/ruby/test/test1:3


Waiting for urgent answers,
Thanks in advance

--
Posted via http://www.ruby-forum.com/.


 
Reply With Quote
 
 
 
Reply

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
Net::Http, end of file reached Mario Ruiz Ruby 2 09-23-2009 04:13 PM
Troubleshooting Timeout expired. All pooled connections were in use and max pool size was reached. jobs ASP .Net 1 11-10-2007 02:54 AM
`sysread' end of file reached `rbuf_fill' problem Mento Ruby Ruby 0 12-11-2006 10:21 AM
Timeout Expired...max pool size was reached. =?Utf-8?B?Sm9u?= ASP .Net 0 10-03-2006 09:05 AM
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. Guoqi Zheng ASP .Net 4 06-03-2004 06:39 PM



Advertisments