Smtp Connections version 1.12.192

Hi team.

I have two Yeti instances running, the first one, from revision 1.12.97xxx and a new one, recently installed from revision 1.12.192

I have been updating the first one since then, both now have revision 1.12.196
The older version I’m updating to doesn’t have any problems.

In the new version, I have problems sending emails, I receive the following error:

Net::ReadTimeout: Net::ReadTimeout with #Socket:(closed) /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/net-protocol-0.2.1/lib/net/protocol.rb:229:in rbuf_fill' /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/net-protocol-0.2.1/lib/net/protocol.rb:199:in readuntil’ /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/net-protocol-0.2.1/lib/net/protocol.rb:209:in readline' /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/net-smtp-0.3.3/lib/net/smtp.rb:1057:in recv_response’ /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/net-smtp-0.3.3/lib/net/smtp.rb:659:in block in do_start' /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/net-smtp-0.3.3/lib/net/smtp.rb:1067:in critical’ /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/net-smtp-0.3.3/lib/net/smtp.rb:659:in do_start' /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/net-smtp-0.3.3/lib/net/smtp.rb:611:in start’ /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/mail-2.8.1/lib/mail/network/delivery_methods/smtp.rb:109:in start_smtp_session' /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/mail-2.8.1/lib/mail/network/delivery_methods/smtp.rb:100:in deliver!’ /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/mail-2.8.1/lib/mail/message.rb:269:in deliver!' /opt/yeti-web/vendor/rbenv/versions/3.3.5/lib/ruby/3.3.0/delegate.rb:87:in method_missing’ /opt/yeti-web/app/jobs/worker/send_email_log_job.rb:9:in perform' /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/activejob-7.0.8.5/lib/active_job/execution.rb:65:in block in _perform_job’ /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.5/lib/active_support/callbacks.rb:118:in block in run_callbacks' /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in with_locale’ /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/activejob-7.0.8.5/lib/active_job/translation.rb:9:in block (2 levels) in <module:Translation>' /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.5/lib/active_support/callbacks.rb:127:in instance_exec’ /opt/yeti-web/vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.5/lib/active_support/callbacks.rb:127:in `block in run_callbacks’ /opt/yeti-web… and more

The SMTP account is configured and does not allow sending test emails, the menu does not appear

I can’t imagine where the problem could be

you could try to capture traffic to your smtp server by tcpdump and check what happens there.

I guess this is a late reply but will help people in future, i encountered the same issue on my Yeti instance and then i found out that the email config was wrong, i changed the SMTP port from 465 to 587 and selected auth type as plain and it started working. Maybe you’ll need to restart yeti once but for me it worked without restart.