I’m having problems on v1.3.0.beta2 +50 with Sidekiq Jobs::PollMailbox (aka “pop3 polling service”) - it is failing.
Pop3 in use is Gmail pop.gmail.com, port 995, using ssl, pop3 polling period is 10 mins (to prevent Google from blocking).
In the logs I can see Job exception: execution expired error with details as follows
Job exception: execution expired
/usr/local/lib/ruby/2.0.0/net/pop.rb:544:in `initialize' /usr/local/lib/ruby/2.0.0/net/pop.rb:544:in `open' /usr/local/lib/ruby/2.0.0/net/pop.rb:544:in `block in do_start' /usr/local/lib/ruby/2.0.0/net/pop.rb:543:in `do_start' /usr/local/lib/ruby/2.0.0/net/pop.rb:530:in `start' /var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:85:in `poll_pop3' /var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:18:in `execute' /var/www/discourse/app/jobs/base.rb:153:in `block (2 levels) in perform'
current_db: default current_hostname: diskurs.open.hr job: Jobs::PollMailbox problem_db: default opts:
Also tried if DigitalOcean is blocking my ports, but seems good:
Discourse:~$ telnet telnet> open pop.gmail.com 995 Trying 220.127.116.11... Connected to gmail-pop.l.google.com. Escape character is '^]'. Connection closed by foreign host. Discourse:~$ openssl s_client -connect pop.gmail.com:995 -quiet depth=2 C = US, O = GeoTrust Inc., CN = GeoTrust Global CA verify error:num=20:unable to get local issuer certificate verify return:0 +OK Gpop ready for requests from 18.104.22.168 a47mb54456318wen user [redacted] +OK send PASS pass [redacted] +OK Welcome.
Any ideas what might be wrong?