Net::ReadTimeout

58 views
Skip to first unread message

Sascha K. Manns

unread,
Feb 25, 2017, 5:24:33 PM2/25/17
to Ponyrb
Hello Forum,

currently i'm using pony mailer inside my application. But after giving a mail to pony i'm getting:

/home/sascha/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/net/protocol.rb:158:in `rescue in rbuf_fill': Net::ReadTimeout (Net::ReadTimeout)
from /home/sascha/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/net/protocol.rb:152:in `rbuf_fill'
from /home/sascha/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/net/protocol.rb:134:in `readuntil'
from /home/sascha/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/net/protocol.rb:144:in `readline'
from /home/sascha/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/net/smtp.rb:945:in `recv_response'
from /home/sascha/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/net/smtp.rb:555:in `block in do_start'
from /home/sascha/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/net/smtp.rb:955:in `critical'
from /home/sascha/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/net/smtp.rb:555:in `do_start'
from /home/sascha/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/net/smtp.rb:520:in `start'
from /home/sascha/.rvm/gems/ruby-2.2.3/gems/mail-2.6.4/lib/mail/network/delivery_methods/smtp.rb:113:in `deliver!'
from /home/sascha/.rvm/gems/ruby-2.2.3/gems/mail-2.6.4/lib/mail/message.rb:253:in `deliver!'
from /home/sascha/.rvm/gems/ruby-2.2.3/gems/pony-1.11/lib/pony.rb:176:in `deliver'
from /home/sascha/.rvm/gems/ruby-2.2.3/gems/pony-1.11/lib/pony.rb:166:in `mail'
from /home/sascha/.rvm/gems/ruby-2.2.3/gems/latex_curriculum_vitae-2.0.0/lib/latex_curriculum_vitae/email.rb:36:in `create_email'

Is that a temporary error or happens a problem on my side?

Ben Prew

unread,
Feb 26, 2017, 4:09:42 PM2/26/17
to pon...@googlegroups.com
Sascha,

Thanks for using Pony. That error is typically a network error and isn't related to how you're calling pony.

More details:

http://www.rubydoc.info/stdlib/net/Net/ReadTimeout


So either the network connection was interrupted, or just really slow.  In either case, it should be a temporary error.

--

---
You received this message because you are subscribed to the Google Groups "Ponyrb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ponyrb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sascha K. Manns

unread,
Feb 26, 2017, 4:59:48 PM2/26/17
to Ponyrb
Thank you very much :-)
Reply all
Reply to author
Forward
0 new messages