Guest User

Untitled

a guest
Mar 18th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.69 KB | None | 0 0
  1. web_1 | Started GET "/v1/notifications" for 172.18.0.1 at 2018-03-08 23:09:19 +0000
  2. web_1 | Processing by NotificationsController#index as HTML
  3. web_1 | User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = $1 LIMIT $2 [["uid", "U8ASFTHBN"], ["LIMIT", 1]]
  4. web_1 | UserIdentity Load (0.3ms) SELECT "user_identities".* FROM "user_identities" WHERE "user_identities"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
  5. web_1 | (0.6ms) SELECT COUNT(*) FROM (SELECT 1 FROM "notifications" WHERE "notifications"."user_identity_id" = $1 AND (read_at IS NULL) ORDER BY "notifications"."created_at" DESC LIMIT $2) subquery_for_count [["user_identity_id", 1], ["LIMIT", 8]]
  6. web_1 | [active_model_serializers] Notification Load (0.5ms) SELECT "notifications".* FROM "notifications" WHERE "notifications"."user_identity_id" = $1 ORDER BY "notifications"."created_at" DESC LIMIT $2 [["user_identity_id", 1], ["LIMIT", 8]]
  7. web_1 | [active_model_serializers] Comment Load (0.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."active" = $1 AND "comments"."id" = $2 LIMIT $3 [["active", "t"], ["id", 24], ["LIMIT", 1]]
  8. web_1 | [active_model_serializers] Reply Load (0.6ms) SELECT "replies".* FROM "replies" WHERE "replies"."active" = $1 AND "replies"."id" = $2 LIMIT $3 [["active", "t"], ["id", 37], ["LIMIT", 1]]
  9. web_1 | [active_model_serializers] Annotation Load (0.5ms) SELECT "annotations".* FROM "annotations" WHERE "annotations"."active" = $1 AND "annotations"."id" = $2 LIMIT $3 [["active", "t"], ["id", 92], ["LIMIT", 1]]
  10. web_1 | [active_model_serializers] Highlight Load (0.4ms) SELECT "highlights".* FROM "highlights" WHERE "highlights"."active" = $1 AND "highlights"."id" = $2 LIMIT $3 [["active", "t"], ["id", 235], ["LIMIT", 1]]
  11. web_1 | [active_model_serializers] Annotation Load (0.5ms) SELECT "annotations".* FROM "annotations" WHERE "annotations"."active" = $1 AND "annotations"."id" = $2 LIMIT $3 [["active", "t"], ["id", 91], ["LIMIT", 1]]
  12. web_1 | [active_model_serializers] Highlight Load (0.7ms) SELECT "highlights".* FROM "highlights" WHERE "highlights"."active" = $1 AND "highlights"."id" = $2 LIMIT $3 [["active", "t"], ["id", 238], ["LIMIT", 1]]
  13. web_1 | [active_model_serializers] Reply Load (0.6ms) SELECT "replies".* FROM "replies" WHERE "replies"."active" = $1 AND "replies"."id" = $2 LIMIT $3 [["active", "t"], ["id", 36], ["LIMIT", 1]]
  14. web_1 | [active_model_serializers] Annotation Load (0.6ms) SELECT "annotations".* FROM "annotations" WHERE "annotations"."active" = $1 AND "annotations"."id" = $2 LIMIT $3 [["active", "t"], ["id", 90], ["LIMIT", 1]]
  15. web_1 | [active_model_serializers] Highlight Load (0.5ms) SELECT "highlights".* FROM "highlights" WHERE "highlights"."active" = $1 AND "highlights"."id" = $2 LIMIT $3 [["active", "t"], ["id", 233], ["LIMIT", 1]]
  16. web_1 | [active_model_serializers] CACHE Annotation Load (0.0ms) SELECT "annotations".* FROM "annotations" WHERE "annotations"."active" = $1 AND "annotations"."id" = $2 LIMIT $3 [["active", "t"], ["id", 90], ["LIMIT", 1]]
  17. web_1 | [active_model_serializers] CACHE Highlight Load (0.0ms) SELECT "highlights".* FROM "highlights" WHERE "highlights"."active" = $1 AND "highlights"."id" = $2 LIMIT $3 [["active", "t"], ["id", 233], ["LIMIT", 1]]
  18. web_1 | [active_model_serializers] Reply Load (0.6ms) SELECT "replies".* FROM "replies" WHERE "replies"."active" = $1 AND "replies"."id" = $2 LIMIT $3 [["active", "t"], ["id", 15], ["LIMIT", 1]]
  19. web_1 | [active_model_serializers] Rendered ActiveModel::Serializer::CollectionSerializer with ActiveModelSerializers::Adapter::Attributes (31.34ms)
  20. web_1 | Completed 500 Internal Server Error in 39ms (ActiveRecord: 7.0ms)
  21. web_1 |
  22. web_1 |
  23. web_1 | undefined method `annotation' for nil:NilClass excluded from capture: Not configured to send/capture in environment 'development'
  24. web_1 |
  25. web_1 | NoMethodError (undefined method `annotation' for nil:NilClass):
  26. web_1 |
  27. web_1 | app/serializers/notification_serializer.rb:13:in `block in <class:NotificationSerializer>'
  28. web_1 | app/controllers/notifications_controller.rb:27:in `index'
  29. sidekiq_1 | 2018-03-08T23:09:19.831Z 1 TID-ovhh0i5t4 LinkSearchJob JID-8f939339edaa12b55dd8abeb INFO: start
  30. sidekiq_1 | 2018-03-08T23:09:20.653Z 1 TID-ovhh0i5t4 LinkSearchJob JID-8f939339edaa12b55dd8abeb INFO: fail: 0.822 sec
  31. sidekiq_1 | 2018-03-08T23:09:20.653Z 1 TID-ovhh0i5t4 WARN: {"context":"Job raised exception","job":{"class":"ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper","wrapped":"LinkSearchJob","queue":"default","args":[{"job_class":"LinkSearchJob","job_id":"f30d7d24-18d7-4e77-9454-1e0e8d84184f","provider_job_id":null,"queue_name":"default","priority":null,"arguments":[3],"executions":0,"locale":"en"}],"retry":true,"jid":"8f939339edaa12b55dd8abeb","created_at":1520550474.6169283,"enqueued_at":1520550559.830469,"error_message":"Error on fetch messages in channel : channel_not_found","error_class":"RuntimeError","failed_at":1520550475.4834752,"retry_count":1,"retried_at":1520550521.5202975},"jobstr":"{\"class\":\"ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper\",\"wrapped\":\"LinkSearchJob\",\"queue\":\"default\",\"args\":[{\"job_class\":\"LinkSearchJob\",\"job_id\":\"f30d7d24-18d7-4e77-9454-1e0e8d84184f\",\"provider_job_id\":null,\"queue_name\":\"default\",\"priority\":null,\"arguments\":[3],\"executions\":0,\"locale\":\"en\"}],\"retry\":true,\"jid\":\"8f939339edaa12b55dd8abeb\",\"created_at\":1520550474.6169283,\"enqueued_at\":1520550559.830469,\"error_message\":\"Error on fetch messages in channel : channel_not_found\",\"error_class\":\"RuntimeError\",\"failed_at\":1520550475.4834752,\"retry_count\":1,\"retried_at\":1520550521.5202975}"}
  32. sidekiq_1 | 2018-03-08T23:09:20.653Z 1 TID-ovhh0i5t4 WARN: RuntimeError: Error on fetch messages in channel : channel_not_found
  33. sidekiq_1 | 2018-03-08T23:09:20.654Z 1 TID-ovhh0i5t4 WARN: /rails-api/app/domains/integrations/slack/fetch_and_process_messages.rb:48:in `fetch_messages'
  34. sidekiq_1 | /rails-api/app/domains/integrations/slack/fetch_and_process_messages.rb:14:in `call'
  35. sidekiq_1 | /rails-api/app/jobs/link_search_job.rb:28:in `scrap'
  36. sidekiq_1 | /rails-api/app/jobs/link_search_job.rb:15:in `block in search_link_in_slack'
  37. sidekiq_1 | /usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/relation/batches.rb:63:in `block (2 levels) in find_each'
  38. sidekiq_1 | /usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/relation/batches.rb:63:in `each'
  39. sidekiq_1 | /usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/relation/batches.rb:63:in `block in find_each'
  40. sidekiq_1 | /usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/relation/batches.rb:129:in `block in find_in_batches'
  41. sidekiq_1 | /usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/relation/batches.rb:230:in `block in in_batches'
  42. sidekiq_1 | /usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/relation/batches.rb:214:in `loop'
  43. sidekiq_1 | /usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/relation/batches.rb:214:in `in_batches'
  44. sidekiq_1 | /usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/relation/batches.rb:128:in `find_in_batches'
  45. sidekiq_1 | /usr/local/bundle/gems/activerecord-5.1.4/lib/active_record/relation/batches.rb:62:in `find_each'
  46. sidekiq_1 | /rails-api/app/jobs/link_search_job.rb:14:in `search_link_in_slack'
  47. sidekiq_1 | /rails-api/app/jobs/link_search_job.rb:5:in `perform'
  48. sidekiq_1 | /usr/local/bundle/gems/activejob-5.1.4/lib/active_job/execution.rb:37:in `block in perform_now'
  49. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
  50. sidekiq_1 | /usr/local/bundle/gems/sentry-raven-2.7.1/lib/raven/integrations/rails/active_job.rb:18:in `capture_and_reraise_with_sentry'
  51. sidekiq_1 | /usr/local/bundle/gems/sentry-raven-2.7.1/lib/raven/integrations/rails/active_job.rb:12:in `block (2 levels) in included'
  52. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `instance_exec'
  53. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
  54. sidekiq_1 | /usr/local/bundle/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
  55. sidekiq_1 | /usr/local/bundle/gems/activejob-5.1.4/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
  56. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `instance_exec'
  57. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
  58. sidekiq_1 | /usr/local/bundle/gems/activejob-5.1.4/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
  59. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `block in instrument'
  60. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
  61. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `instrument'
  62. sidekiq_1 | /usr/local/bundle/gems/activejob-5.1.4/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
  63. sidekiq_1 | /usr/local/bundle/gems/activejob-5.1.4/lib/active_job/logging.rb:44:in `block in tag_logger'
  64. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:69:in `block in tagged'
  65. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:26:in `tagged'
  66. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb:69:in `tagged'
  67. sidekiq_1 | /usr/local/bundle/gems/activejob-5.1.4/lib/active_job/logging.rb:44:in `tag_logger'
  68. sidekiq_1 | /usr/local/bundle/gems/activejob-5.1.4/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
  69. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `instance_exec'
  70. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
  71. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `run_callbacks'
  72. sidekiq_1 | /usr/local/bundle/gems/activejob-5.1.4/lib/active_job/execution.rb:33:in `perform_now'
  73. sidekiq_1 | /usr/local/bundle/gems/activejob-5.1.4/lib/active_job/execution.rb:22:in `block in execute'
  74. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
  75. sidekiq_1 | /usr/local/bundle/gems/activejob-5.1.4/lib/active_job/railtie.rb:26:in `block (4 levels) in <class:Railtie>'
  76. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/execution_wrapper.rb:85:in `wrap'
  77. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/reloader.rb:68:in `block in wrap'
  78. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/execution_wrapper.rb:81:in `wrap'
  79. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/reloader.rb:67:in `wrap'
  80. sidekiq_1 | /usr/local/bundle/gems/activejob-5.1.4/lib/active_job/railtie.rb:25:in `block (3 levels) in <class:Railtie>'
  81. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `instance_exec'
  82. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
  83. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `run_callbacks'
  84. sidekiq_1 | /usr/local/bundle/gems/activejob-5.1.4/lib/active_job/execution.rb:20:in `execute'
  85. sidekiq_1 | /usr/local/bundle/gems/activejob-5.1.4/lib/active_job/queue_adapters/sidekiq_adapter.rb:40:in `perform'
  86. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:188:in `execute_job'
  87. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:170:in `block (2 levels) in process'
  88. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/middleware/chain.rb:128:in `block in invoke'
  89. sidekiq_1 | /usr/local/bundle/gems/sentry-raven-2.7.1/lib/raven/integrations/sidekiq.rb:9:in `call'
  90. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
  91. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/middleware/chain.rb:133:in `invoke'
  92. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:169:in `block in process'
  93. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:141:in `block (6 levels) in dispatch'
  94. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/job_retry.rb:97:in `local'
  95. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:140:in `block (5 levels) in dispatch'
  96. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/rails.rb:42:in `block in call'
  97. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/execution_wrapper.rb:85:in `wrap'
  98. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/reloader.rb:68:in `block in wrap'
  99. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/execution_wrapper.rb:85:in `wrap'
  100. sidekiq_1 | /usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/reloader.rb:67:in `wrap'
  101. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/rails.rb:41:in `call'
  102. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:136:in `block (4 levels) in dispatch'
  103. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:204:in `stats'
  104. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:131:in `block (3 levels) in dispatch'
  105. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/job_logger.rb:7:in `call'
  106. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:130:in `block (2 levels) in dispatch'
  107. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/job_retry.rb:72:in `global'
  108. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:129:in `block in dispatch'
  109. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/logging.rb:44:in `with_context'
  110. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/logging.rb:38:in `with_job_hash_context'
  111. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:128:in `dispatch'
  112. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:168:in `process'
  113. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:85:in `process_one'
  114. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:73:in `run'
  115. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/util.rb:16:in `watchdog'
  116. sidekiq_1 | /usr/local/bundle/gems/sidekiq-5.0.5/lib/sidekiq/util.rb:25:in `block in safe_thread'
Add Comment
Please, Sign In to add comment