Pop3 errors go unreported

(Allen - Watchman Monitoring) #1

The SSL certificate on the mail server which one of my Discourse instances appears to have an issue.

I only saw this because went to /logs and viewed:

Job exception: SSL_connect returned=1 errno=0 state=error: certificate verify failed

The detail is:

/usr/local/lib/ruby/2.3.0/net/pop.rb:553:in `connect'
/usr/local/lib/ruby/2.3.0/net/pop.rb:553:in `do_start'
/usr/local/lib/ruby/2.3.0/net/pop.rb:531:in `start'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:41:in `poll_pop3'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:16:in `execute'
/var/www/discourse/app/jobs/base.rb:153:in `block (2 levels) in perform'

I would have expected this to show in /admin just like we see sidekiq errors when those are present.

(Sam Saffron) #2

Agree we should improve this