Job exception in mail receiver


(Carlo Kok) #1

Job exception: invalid byte sequence in UTF-8

/var/www/discourse/lib/email/receiver.rb:181:in `split'
/var/www/discourse/lib/email/receiver.rb:181:in `trim_discourse_markers'
/var/www/discourse/lib/email/receiver.rb:140:in `select_body'
/var/www/discourse/lib/email/receiver.rb:62:in `process_internal'
/var/www/discourse/lib/email/receiver.rb:39:in `process!'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:27:in `process_popmail'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:96:in `block (2 levels) in poll_pop3'
/usr/local/lib/ruby/2.0.0/net/pop.rb:688:in `block in delete_all'
/usr/local/lib/ruby/2.0.0/net/pop.rb:687:in `each'
/usr/local/lib/ruby/2.0.0/net/pop.rb:687:in `delete_all'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:95:in `block in poll_pop3'
/usr/local/lib/ruby/2.0.0/net/pop.rb:531:in `start'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:94:in `poll_pop3'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:15:in `execute'
/var/www/discourse/app/jobs/base.rb:154:in `block (2 levels) in perform'

(I’ll post the mail privately @zogstrip)


(Régis Hanol) #2

Thanks @carlokok, with the help of the incoming email I was able to reproduce and fix the issue :apple:


Job exception in mail service
(Régis Hanol) #3