Pop3 errors go unreported

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.

5 Likes

Agree we should improve this

4 Likes