JimFoscue
Community Member

Email not working

I am an admin for a self hosted Canvas site and we are having issues with emails (for enrolling new students and registering them to a course) going out.  We have been getting emails for a while and now all of a sudden they are not working.  The delayed_job.log file has the following error in it.

Does anyone have any ideas on how to fix this?

Thanks

Exception: Net::OpenTimeout: execution expired
/usr/lib/ruby/2.7.0/net/smtp.rb:539:in `initialize'
/usr/lib/ruby/2.7.0/net/smtp.rb:539:in `open'
/usr/lib/ruby/2.7.0/net/smtp.rb:539:in `tcp_socket'
/usr/lib/ruby/2.7.0/net/smtp.rb:549:in `block in do_start'
/usr/lib/ruby/2.7.0/timeout.rb:105:in `timeout'
/usr/lib/ruby/2.7.0/net/smtp.rb:548:in `do_start'
/usr/lib/ruby/2.7.0/net/smtp.rb:518:in `start'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/mail-2.7.1/lib/mail/network/delivery_methods/smtp.rb:109:in `start_smtp_session'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/mail-2.7.1/lib/mail/network/delivery_methods/smtp.rb:100:in `deliver!'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/mail-2.7.1/lib/mail/message.rb:2159:in `do_delivery'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/mail-2.7.1/lib/mail/message.rb:260:in `block in deliver'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/actionmailer-6.0.4.1/lib/action_mailer/base.rb:589:in `block in deliver_mail'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.4.1/lib/active_support/notifications.rb:180:in `block in instrument'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.4.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.4.1/lib/active_support/notifications.rb:180:in `instrument'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/actionmailer-6.0.4.1/lib/action_mailer/base.rb:587:in `deliver_mail'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/mail-2.7.1/lib/mail/message.rb:260:in `deliver'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/actionmailer-6.0.4.1/lib/action_mailer/message_delivery.rb:115:in `block in deliver_now'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/actionmailer-6.0.4.1/lib/action_mailer/rescuable.rb:17:in `handle_exceptions'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/actionmailer-6.0.4.1/lib/action_mailer/message_delivery.rb:114:in `deliver_now'
/usr/src/app/app/models/message.rb:1027:in `deliver_via_email'
/usr/src/app/app/models/message.rb:724:in `deliver'
/usr/src/app/app/models/message.rb:55:in `deliver'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/inst-jobs-3.0.5/lib/delayed/performable_method.rb:40:in `perform'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/inst-jobs-3.0.5/lib/delayed/backend/base.rb:305:in `block in invoke_job'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/inst-jobs-3.0.5/lib/delayed/lifecycle.rb:73:in `block in initialize'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/inst-jobs-3.0.5/lib/delayed/lifecycle.rb:78:in `execute'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/inst-jobs-3.0.5/lib/delayed/lifecycle.rb:51:in `run_callbacks'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/inst-jobs-3.0.5/lib/delayed/backend/base.rb:302:in `invoke_job'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/switchman-inst-jobs-3.2.6/lib/switchman_inst_jobs/delayed/backend/base.rb:86:in `block in invoke_job'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/switchman-2.2.2/app/models/switchman/shard.rb:596:in `block in activate'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/switchman-2.2.2/app/models/switchman/shard.rb:98:in `activate'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/switchman-2.2.2/app/models/switchman/shard.rb:595:in `activate'
/usr/src/app/vendor/bundle/ruby/2.7.0/gems/switchman-inst-jobs-3.2.6/lib/switchman_inst_jobs/delayed/backend/base.rb:86:in `invoke_job'

Labels (1)
0 Kudos