Infos:
- Used Zammad version: 6.2.0-1706286672.4dcb008b.jammy
- Used Zammad installation type: package
- Operating system: Ubuntu 22.04.3 LTS (Jammy Jellyfish)
- Browser + version: Microsoft Edge Version 120.0.2210.144 (Official build) (64-bit)
Expected behavior:
E-mail - Email Notification
Outbound: user@ourdomain.xyz, host: smtp.office365.com, protocol: smtp, port: 587, SSL:on
Notifications should work without errors.
Actual behavior:
ERROR -- : Can't use Channel::Driver::Smtp: #<Net::OpenTimeout: execution expired>
E, [2024-01-27T11:31:30.327995#674-142080] ERROR -- : execution expired (Net::OpenTimeout)
lib/core_ext/net/smtp.rb:12:in `block in do_start'
lib/core_ext/net/smtp.rb:11:in `do_start'
app/models/channel/driver/smtp.rb:98:in `send'
app/models/channel.rb:257:in `deliver'
lib/notification_factory/mailer.rb:172:in `send'
lib/notification_factory/mailer.rb:225:in `notification'
app/models/transaction/notification.rb:217:in `block in perform'
app/models/transaction/notification.rb:106:in `each'
app/models/transaction/notification.rb:106:in `perform'
lib/transaction_dispatcher.rb:61:in `execute_single_backend'
app/jobs/transaction_job.rb:25:in `block in perform'
app/jobs/transaction_job.rb:21:in `perform'
lib/background_services/service/process_delayed_jobs.rb:25:in `block (2 levels) in launch'
lib/background_services/service/process_delayed_jobs.rb:23:in `block in launch'
lib/background_services/service/process_delayed_jobs.rb:20:in `loop'
lib/background_services/service/process_delayed_jobs.rb:20:in `launch'
lib/background_services/service.rb:27:in `block in run'
lib/application_handle_info.rb:19:in `use'
lib/background_services/service.rb:33:in `block in run_in_service_context'
lib/background_services/service.rb:32:in `run_in_service_context'
lib/background_services/service.rb:26:in `run'
lib/background_services.rb:67:in `block in start_as_thread'
Steps to reproduce the behavior:
Situation is strange.
Our Zammad instance was running fine, no such errors up to today, 27-01-2024, when I updated it from slightly earlier 6.2 build with apt update. After Zammad update on first test ticked opened via e-mail I got this error.
When Edit Email Notification Outbound, and just click OK, Error goes away and all systems green.
After discovering SMTP channel error, I checked:
- IPV6 - it was already disabled.
- no firewall on host installed.
- Ping smtp.office365.com - OK
- telnet smtp.office365.com 587 - OK, I got remote server answer.
Additional info: we have second Zammad, which was installed about month ago, used same setup/software, but I was able to get notifications running only turning off SSL in Email Outbound. We use two different accounts for these two systems, they send traffic via different public IP’s. And first system was fine up to today with SSL, but second system was “erroring” with SSL from the start. So, second Zammad for now runs with SSL off. Now first system has same issue, as the second one. I am in charge of all network, firewall, etc. so there is no “human miscommunications” problem.
There is no problem with sending-receiving mail from Zammad’s Microsoft 365 mailbox via imap (on both systems).
Please, any ideas/advice how to troubleshoot this issue?