brandonhilkert / sucker_punch

Sucker Punch is a Ruby asynchronous processing library using concurrent-ruby, heavily influenced by Sidekiq and girl_friday.
MIT License
2.64k stars 114 forks source link

Active Job crashed #233

Closed DolezalDavid closed 3 years ago

DolezalDavid commented 3 years ago

Hi, can somebody help me please?

I install sucker_punch as gem and use it with active job and sometime I don't receive notification. Here is log obrazek

My setup

Environment:
  Redmine version                4.1.1.stable
  Ruby version                   2.6.6-p146 (2020-03-31) [x64-mingw32]
  Rails version                  5.2.4.2
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::SuckerPunchAdapter
  Mailer delivery                smtp
SCM:
  Filesystem                     
Redmine plugins:
  redmine_custom_workflows       1.0.3
  redmine_lightbox2              0.5.0

My config\configuration.yml:

# specific configuration options for production environment
# that overrides the default ones
production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: "<smtp_server_via_DNS_name>"
      port: 25
      domain: '<domain>'
      authentication: :login
      user_name: '<user>'
      password: '<pass>' 
      openssl_verify_mode: 'none'

I spent with it 2 days and nothing... :-(

DolezalDavid commented 3 years ago

This problem is solved. It was in connector on SMTP server, where was set low limit emails per minute from IP address.