activebridge / projectr

11 stars 1 forks source link

Net::OpenTimeout: execution expired #110

Closed YaroslavTupytskyi closed 7 years ago

YaroslavTupytskyi commented 7 years ago

View details in Rollbar: https://rollbar.com/yaroslavtupitskyi/ProjectR/items/48/



NoMethodError: undefined method `user' for nil:NilClass
  File "/home/deploy/releases/20170502174801/app/models/rebase.rb", line 6, in user
  File "/home/deploy/releases/20170502174801/app/workers/application_worker.rb", line 10, in set_status
  File "/home/deploy/releases/20170502174801/app/workers/rebaser_worker.rb", line 7, in perform
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 204, in execute_job
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 175, in block (2 levels) in process
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/middleware/chain.rb", line 128, in block in invoke
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/rollbar-2.14.1/lib/rollbar/plugins/sidekiq/plugin.rb", line 11, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/middleware/chain.rb", line 130, in block in invoke
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/middleware/chain.rb", line 133, in invoke
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 174, in block in process
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 146, in block (6 levels) in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/job_retry.rb", line 97, in local
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 145, in block (5 levels) in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/rails.rb", line 43, in block in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.2/lib/active_support/execution_wrapper.rb", line 85, in wrap
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.2/lib/active_support/reloader.rb", line 68, in block in wrap
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.2/lib/active_support/execution_wrapper.rb", line 85, in wrap
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.2/lib/active_support/reloader.rb", line 67, in wrap
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/rails.rb", line 42, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 141, in block (4 levels) in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 220, in stats
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 136, in block (3 levels) in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/job_logger.rb", line 8, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 135, in block (2 levels) in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/job_retry.rb", line 72, in global
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 134, in block in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/logging.rb", line 32, in with_context
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 133, in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 173, in process
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 85, in process_one
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 73, in run
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/util.rb", line 17, in watchdog
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/util.rb", line 26, in block in safe_thread
Module::DelegationError: Rebase#user delegated to repository.user, but repository is nil: #<Rebase id: nil, user_id: nil, repo: "adharmonics/media-scripts", base: "develop", head: "ME-555-fix-thresholds", sha: "038469616e4d080f7a5f263aac00f9a61b8f1a2c", pushed: false, created_at: nil, updated_at: nil, github_id: 119029140, state: "open", status: nil, number: 485, title: "[ME-555] Fix how bidder handles change percentage">
  File "/home/deploy/releases/20170502174801/app/models/rebase.rb", line 6, in rescue in user
  File "/home/deploy/releases/20170502174801/app/models/rebase.rb", line 6, in user
  File "/home/deploy/releases/20170502174801/app/workers/application_worker.rb", line 10, in set_status
  File "/home/deploy/releases/20170502174801/app/workers/rebaser_worker.rb", line 7, in perform
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 204, in execute_job
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 175, in block (2 levels) in process
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/middleware/chain.rb", line 128, in block in invoke
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/rollbar-2.14.1/lib/rollbar/plugins/sidekiq/plugin.rb", line 11, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/middleware/chain.rb", line 130, in block in invoke
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/middleware/chain.rb", line 133, in invoke
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 174, in block in process
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 146, in block (6 levels) in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/job_retry.rb", line 97, in local
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 145, in block (5 levels) in dispatch
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/rails.rb", line 43, in block in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.2/lib/active_support/execution_wrapper.rb", line 85, in wrap
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.2/lib/active_support/reloader.rb", line 68, in block in wrap
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.2/lib/active_support/execution_wrapper.rb", line 85, in wrap
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.2/lib/active_support/reloader.rb", line 67, in wrap
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/rails.rb", line 42, in call
  File "/home/deploy/shared/bundle/ruby/2.3.0/gems/sidekiq-5.0.0/lib/sidekiq/processor.rb", line 141,