Mail_room stopped working and pod was not restarted
Hi,
The mail_room stopped working as can be seen in below error and that did not cause a pod restart. Happened twice so far. Any help would be appreciated.
{"severity":"INFO","time":"2020-11-12 17:05:17 +0000","context":{"email":"mail@gmail.com","name":"inbox"},"action":"Idling"}
#<Thread:0x000055b9358cac00@/usr/lib/ruby/gems/2.6.0/gems/gitlab-mail_room-0.0.6/lib/mail_room/mailbox_watcher.rb:33 run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/2.6.0/openssl/buffering.rb:57:in `sysread': Connection reset by peer (Errno::ECONNRESET)
from /usr/lib/ruby/2.6.0/openssl/buffering.rb:57:in `fill_rbuff'
from /usr/lib/ruby/2.6.0/openssl/buffering.rb:207:in `gets'
from /usr/lib/ruby/2.6.0/net/imap.rb:1230:in `get_response'
from /usr/lib/ruby/2.6.0/net/imap.rb:1147:in `receive_responses'
from /usr/lib/ruby/2.6.0/net/imap.rb:1120:in `block in initialize'
{"severity":"INFO","time":"2020-11-12 17:05:48 +0000","context":{"email":"othermail@gmail.com","name":"inbox"},"action":"Quitting connection..."}
Chart: mailroom-4.4.2
:mailboxes:
-
:host: imap.gmail.com
:port: 993
:ssl: true
:start_tls: false
:email: mail@gmail.com
:password: "pass"
:idle_timeout: 60
:name: inbox
:delete_after_delivery: true
:delivery_method: sidekiq
:expunge_deleted: false
:logger:
:log_path: "/dev/stdout"
:delivery_options:
:redis_url: redis://xx.x.xxx.xx:xxxx
:namespace: resque:gitlab
:queue: email_receiver
:worker: EmailReceiverWorker
:arbitration_method: redis
:arbitration_options:
:redis_url: redis://xx.x.xxx.xx:xxxx
:namespace: mail_room:gitlab