workless
workless copied to clipboard
Excon::Error::NotFound - Heroku Delayed Jobs
Since upgrading to 2.2.0
I've been receiving the following error when a job is created in Heroku.
Excon::Error::NotFound: Expected([200, 201, 202, 204, 206, 304]) <=> Actual(404 Not Found)
File "/app/vendor/bundle/ruby/2.4.0/gems/excon-0.59.0/lib/excon/middlewares/expects.rb", line 7, in response_call
File "/app/vendor/bundle/ruby/2.4.0/gems/excon-0.59.0/lib/excon/middlewares/response_parser.rb", line 9, in response_call
File "/app/vendor/bundle/ruby/2.4.0/gems/excon-0.59.0/lib/excon/connection.rb", line 389, in response
File "/app/vendor/bundle/ruby/2.4.0/gems/excon-0.59.0/lib/excon/connection.rb", line 253, in request
File "/app/vendor/bundle/ruby/2.4.0/gems/heroics-0.0.24/lib/heroics/link.rb", line 111, in request_with_cache
File "/app/vendor/bundle/ruby/2.4.0/gems/heroics-0.0.24/lib/heroics/link.rb", line 66, in run
File "/app/vendor/bundle/ruby/2.4.0/gems/heroics-0.0.24/lib/heroics/resource.rb", line 28, in method_missing
File "/app/vendor/bundle/ruby/2.4.0/gems/platform-api-2.1.0/lib/platform-api/client.rb", line 1431, in info
File "/app/vendor/bundle/ruby/2.4.0/gems/workless-2.2.0/lib/workless/scalers/heroku.rb", line 24, in workers
File "/app/vendor/bundle/ruby/2.4.0/gems/workless-2.2.0/lib/workless/scalers/heroku.rb", line 12, in up
File "/app/vendor/bundle/ruby/2.4.0/gems/workless-2.2.0/lib/workless/scaler.rb", line 21, in block (2 levels) in included
File "/app/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb", line 446, in instance_exec
File "/app/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.10/lib/active_support/callbacks.rb", line 446, in block in make_lambda
On the brightside updating did fix DJ logging in Heroku. (#89) However will have to downgrade until can figure out what is causing this.