Question: Error while queueing an email with Sidekiq

Question

Error while queueing an email with Sidekiq

Answers 1
Added at 2017-01-02 23:01
Tags
Question

When sending an email with sidekiq as a queue using deliver_later. I'm getting this error:

ActiveJob::DeserializationError: Error while trying to deserialize arguments: fe_sendauth: no password supplied

The exact same email is sent without any problem using deliver_now in the console.

Any thoughts?

Answers to

Error while queueing an email with Sidekiq

nr: #1 dodano: 2017-01-02 23:01

The RACK_ENV environment variable is needed (besides RAILS_ENV).

So, for production:

export RACK_ENV=production
Source Show
◀ Wstecz