Homeland 求助 - Homeland 配置 QQ 企业邮件服务,连接超时

bobjiang · 2017年12月16日 · 最后由 wuyahui 回复于 2019年12月03日 · 3109 次阅读

Docker 部署 配置文件如下,邮箱没问题,可以收信发信。

# [Email Server]
mailer_provider=smtp
mailer_sender=<user>@agileplus.cn
mailer_options.address=smtp.exmail.qq.com
mailer_options.port=465
mailer_options.domain=agileplus.cn
mailer_options.user_name=<user>@agileplus.cn
mailer_options.password=<ppp>
mailer_options.authentication=plain
mailer_options.enable_starttls_auto=true

sidekiq.log

2017-12-16T13:15:59.376Z 1 TID-ost0qa5u8 WARN: Net::ReadTimeout: Net::ReadTimeout
2017-12-16T13:15:59.376Z 1 TID-ost0qa5u8 WARN: /usr/local/lib/ruby/2.4.0/net/protocol.rb:176:in `rbuf_fill'
/usr/local/lib/ruby/2.4.0/net/protocol.rb:154:in `readuntil'
/usr/local/lib/ruby/2.4.0/net/protocol.rb:164:in `readline'
/usr/local/lib/ruby/2.4.0/net/smtp.rb:950:in `recv_response'
/usr/local/lib/ruby/2.4.0/net/smtp.rb:553:in `block in do_start'
/usr/local/lib/ruby/2.4.0/net/smtp.rb:960:in `critical'
/usr/local/lib/ruby/2.4.0/net/smtp.rb:553:in `do_start'
/usr/local/lib/ruby/2.4.0/net/smtp.rb:518:in `start'
/var/www/homeland/vendor/bundle/ruby/2.4.0/gems/mail-2.6.6/lib/mail/network/delivery_methods/smtp.rb:111:in `deliver!'

楼主解决了吗?

<EOFError: end of file reached>


/usr/local/lib/ruby/2.6.0/net/protocol.rb:225:in `rbuf_fill'
/usr/local/lib/ruby/2.6.0/net/protocol.rb:191:in `readuntil'
/usr/local/lib/ruby/2.6.0/net/protocol.rb:201:in `readline'
/usr/local/lib/ruby/2.6.0/net/smtp.rb:950:in `recv_response'
/usr/local/lib/ruby/2.6.0/net/smtp.rb:553:in `block in do_start'
/usr/local/lib/ruby/2.6.0/net/smtp.rb:960:in `critical'
/usr/local/lib/ruby/2.6.0/net/smtp.rb:553:in `do_start'
/usr/local/lib/ruby/2.6.0/net/smtp.rb:518:in `start'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/mail-2.7.1/lib/mail/network/delivery_methods/smtp.rb:109:in `start_smtp_session'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/mail-2.7.1/lib/mail/network/delivery_methods/smtp.rb:100:in `deliver!'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/mail-2.7.1/lib/mail/message.rb:2159:in `do_delivery'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/mail-2.7.1/lib/mail/message.rb:260:in `block in deliver'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/actionmailer-6.0.0/lib/action_mailer/base.rb:589:in `block in deliver_mail'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb:180:in `block in instrument'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.0/lib/active_support/notifications.rb:180:in `instrument'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/actionmailer-6.0.0/lib/action_mailer/base.rb:587:in `deliver_mail'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/mail-2.7.1/lib/mail/message.rb:260:in `deliver'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/actionmailer-6.0.0/lib/action_mailer/message_delivery.rb:114:in `block in deliver_now'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/actionmailer-6.0.0/lib/action_mailer/rescuable.rb:17:in `handle_exceptions'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/actionmailer-6.0.0/lib/action_mailer/message_delivery.rb:113:in `deliver_now'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/actionmailer-6.0.0/lib/action_mailer/mail_delivery_job.rb:18:in `perform'
/home/app/homeland/vendor/bundle/ruby/2.6.0/gems/activejob-6.0.0/lib/active_job/execution.rb:39:in `block in perform_now'

楼主解决了吗

需要 登录 后方可回复, 如果你还没有账号请 注册新账号