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: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: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'' from script/inbox:4 Can anyone explain what the problem is ? Thanks... Mikado -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
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. On 8/28/06, Mikado <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > 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: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: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'' > from script/inbox:4 > Can anyone explain what the problem is ? > Thanks... > Mikado > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
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... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---