Forum: Ruby on Rails Sending mail times out (ActionMailer)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9618e8fca8d72bf01814276c53c2568c?d=identicon&s=25 Robert MannI (Guest)
on 2006-05-21 20:25
(Received via mailing list)
Hi!

I'm on debian. Sending a mail from Rails times out:


Timeout::Error (execution expired):
    /usr/local/lib/ruby/1.8/timeout.rb:54:in `new'
    /usr/local/lib/ruby/1.8/net/protocol.rb:206:in `old_open'
    /usr/local/lib/ruby/1.8/timeout.rb:56:in `timeout'
    /usr/local/lib/ruby/1.8/timeout.rb:76:in `timeout'
    /usr/local/lib/ruby/1.8/net/protocol.rb:206:in `old_open'
    /usr/local/lib/ruby/1.8/net/smtp.rb:393:in `do_start'
    /usr/local/lib/ruby/1.8/net/smtp.rb:378:in `start'
    /usr/local/lib/ruby/1.8/net/smtp.rb:316:in `start'
    /usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.1/lib/action_mailer/base.rb:447:in
`perform_delivery_smtp'


The mail server is up and working, the problem lies somewhere in Ruby
code.

Any ideas?
F2ca3d0c2f322238910c91b9ec656a99?d=identicon&s=25 Elina Law (Guest)
on 2006-05-22 04:24
(Received via mailing list)
Does your email server require user authentication to send?

E
9618e8fca8d72bf01814276c53c2568c?d=identicon&s=25 Robert MannI (Guest)
on 2006-05-22 12:17
(Received via mailing list)
No, I found the problem though: apparently the DNS on the server is
broken.
I haven't found the exact cause, but this is not a rails issue.


Thanks alot anyway,
Rob
11a7251b792d545cc7e518fdccb34c18?d=identicon&s=25 Raj Kapila (rage989)
on 2006-08-07 17:23
Robert MannI wrote:
> No, I found the problem though: apparently the DNS on the server is
> broken.
> I haven't found the exact cause, but this is not a rails issue.
>
>
> Thanks alot anyway,
> Rob

Did you ever find what the problem was?
This topic is locked and can not be replied to.