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

Discussion in 'Ruby' started by Muazzam Mushtaq, Mar 28, 2006.

  1. 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/.
     
    Muazzam Mushtaq, Mar 28, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?Sm9u?=

    Timeout Expired...max pool size was reached.

    =?Utf-8?B?Sm9u?=, Oct 3, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    790
    =?Utf-8?B?Sm9u?=
    Oct 3, 2006
  2. jobs
    Replies:
    1
    Views:
    5,993
    bruce barker
    Nov 10, 2007
  3. Jimmy
    Replies:
    3
    Views:
    496
    J. J. Farrell
    Sep 9, 2011
  4. Jimmy
    Replies:
    13
    Views:
    897
    Peter Nilsson
    Sep 21, 2011
  5. Mark Probert

    Timeout::timeout and Socket timeout

    Mark Probert, Oct 6, 2004, in forum: Ruby
    Replies:
    1
    Views:
    1,614
    Brian Candler
    Oct 6, 2004
  6. Mento Ruby
    Replies:
    0
    Views:
    220
    Mento Ruby
    Dec 11, 2006
  7. Mario Ruiz

    Net::Http, end of file reached

    Mario Ruiz, Sep 23, 2009, in forum: Ruby
    Replies:
    2
    Views:
    509
    Mario Ruiz
    Sep 23, 2009
  8. Yary H
    Replies:
    0
    Views:
    228
    Yary H
    Oct 3, 2004
Loading...