toccatore 0.4.0 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +8 -1
  3. data/lib/toccatore/cli.rb +1 -1
  4. data/lib/toccatore/queue.rb +6 -2
  5. data/lib/toccatore/usage_update.rb +37 -31
  6. data/lib/toccatore/version.rb +1 -1
  7. data/spec/cli_spec.rb +2 -2
  8. data/spec/factories/default.rb +22 -0
  9. data/spec/fixtures/event_data_resp_2 +4 -4
  10. data/spec/fixtures/usage_events.json +4 -4
  11. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/usage_update/no_reports_in_the_queue/should_succeed_with_no_works.yml +120 -28
  12. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_data/when_there_are_messages/should_return_the_data_for_one_message.yml +6 -6
  13. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_data/when_there_is_ONE_message/should_return_the_data_for_one_message.yml +6 -6
  14. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_message/should_return_no_meessage_when_the_queue_is_empty.yml +95 -0
  15. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_message/should_return_one_message_when_there_are_multiple_messages.yml +95 -0
  16. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_total/when_is_working_with_AWS.yml +187 -0
  17. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/push_data/should_fail_if_format_of_the_event_is_wrong.yml +1045 -80
  18. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/queue_url/should_fail_if_the_queue_doesn_exist.yml +49 -0
  19. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/queue_url/should_return_always_correct_queue_url.yml +49 -0
  20. data/spec/queque_spec.rb +44 -58
  21. data/spec/spec_helper.rb +7 -0
  22. data/spec/usage_update_spec.rb +21 -12
  23. data/toccatore.gemspec +4 -0
  24. metadata +50 -5
  25. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/usage_update/should_fail.yml +0 -150
  26. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/usage_update/should_succeed_with_no_works.yml +0 -150
  27. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/push_data/should_work_with_DataCite_Event_Data.yml +0 -199
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: ''
18
18
  headers:
19
19
  Date:
20
- - Mon, 07 May 2018 15:07:45 GMT
20
+ - Thu, 17 May 2018 13:47:04 GMT
21
21
  Content-Type:
22
22
  - application/json; charset=utf-8
23
23
  Connection:
@@ -33,13 +33,13 @@ http_interactions:
33
33
  Etag:
34
34
  - W/"4f2411eb13af4c17be452f00b66b9bc8"
35
35
  X-Runtime:
36
- - '0.004929'
36
+ - '0.004982'
37
37
  X-Request-Id:
38
- - 88da99f7-e209-4ede-8adf-7954ff834a5b
38
+ - f515a931-11b8-4939-a817-56cadd41a731
39
39
  X-Powered-By:
40
- - Phusion Passenger 5.2.3
40
+ - Phusion Passenger 5.3.1
41
41
  Server:
42
- - nginx/1.12.2 + Phusion Passenger 5.2.3
42
+ - nginx/1.14.0 + Phusion Passenger 5.3.1
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: '{"report":{"id":"2018-3-DataONE","report-header":{"report-name":"Dataset
@@ -48,5 +48,5 @@ http_interactions:
48
48
  Network","dataset-id":[{"type":"DOI","value":"10.6073/pasta/aec48ca27decb1fd2c2f454f1c5f88e4"}],"performance":[{"period":{"end-date":"2018-03-31","begin-date":"2018-03-01"},"instance":[{"count":7,"country":"US","metric-type":"Total-Dataset-Investigations","access-method":"Regular"}]}],"publisher-id":"urn:node:LTER","dataset-title":"Phenologies
49
49
  of the Tabonuco Forest trees and shrubs.","publication-dates":"2010-03-22"}]}}'
50
50
  http_version:
51
- recorded_at: Mon, 07 May 2018 15:07:45 GMT
51
+ recorded_at: Thu, 17 May 2018 13:47:04 GMT
52
52
  recorded_with: VCR 3.0.3
@@ -17,7 +17,7 @@ http_interactions:
17
17
  message: ''
18
18
  headers:
19
19
  Date:
20
- - Mon, 07 May 2018 15:07:45 GMT
20
+ - Thu, 17 May 2018 13:47:04 GMT
21
21
  Content-Type:
22
22
  - application/json; charset=utf-8
23
23
  Connection:
@@ -33,13 +33,13 @@ http_interactions:
33
33
  Etag:
34
34
  - W/"4f2411eb13af4c17be452f00b66b9bc8"
35
35
  X-Runtime:
36
- - '0.005172'
36
+ - '0.004410'
37
37
  X-Request-Id:
38
- - b27d35ff-3942-4c94-8d28-0b5595d18096
38
+ - bd33f3a9-72d0-40d4-915c-00da76bef9ec
39
39
  X-Powered-By:
40
- - Phusion Passenger 5.2.3
40
+ - Phusion Passenger 5.3.1
41
41
  Server:
42
- - nginx/1.12.2 + Phusion Passenger 5.2.3
42
+ - nginx/1.14.0 + Phusion Passenger 5.3.1
43
43
  body:
44
44
  encoding: UTF-8
45
45
  string: '{"report":{"id":"2018-3-DataONE","report-header":{"report-name":"Dataset
@@ -48,5 +48,5 @@ http_interactions:
48
48
  Network","dataset-id":[{"type":"DOI","value":"10.6073/pasta/aec48ca27decb1fd2c2f454f1c5f88e4"}],"performance":[{"period":{"end-date":"2018-03-31","begin-date":"2018-03-01"},"instance":[{"count":7,"country":"US","metric-type":"Total-Dataset-Investigations","access-method":"Regular"}]}],"publisher-id":"urn:node:LTER","dataset-title":"Phenologies
49
49
  of the Tabonuco Forest trees and shrubs.","publication-dates":"2010-03-22"}]}}'
50
50
  http_version:
51
- recorded_at: Mon, 07 May 2018 15:07:45 GMT
51
+ recorded_at: Thu, 17 May 2018 13:47:04 GMT
52
52
  recorded_with: VCR 3.0.3
@@ -0,0 +1,95 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://sqs.eu-west-1.amazonaws.com/
6
+ body:
7
+ encoding: UTF-8
8
+ string: Action=GetQueueUrl&QueueName=stage_usage&Version=2012-11-05
9
+ headers:
10
+ Content-Type:
11
+ - application/x-www-form-urlencoded; charset=utf-8
12
+ Accept-Encoding:
13
+ - ''
14
+ User-Agent:
15
+ - aws-sdk-ruby3/3.20.2 ruby/2.3.3 x86_64-darwin15 aws-sdk-sqs/1.3.0
16
+ X-Amz-Date:
17
+ - 20180517T135217Z
18
+ X-Amz-Content-Sha256:
19
+ - 5034a1b0b889e68da64b7a052e782d357595681cff3bfea21cac68581dec9836
20
+ Authorization:
21
+ - AWS4-HMAC-SHA256 Credential=AKIAIXLDUBIDM74CC6KQ/20180517/eu-west-1/sqs/aws4_request,
22
+ SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=aa6c9dc744236239212beb6b7ff9535ada28fbb96cf188246aa3a27f20d0aa7d
23
+ Content-Length:
24
+ - '59'
25
+ Accept:
26
+ - "*/*"
27
+ response:
28
+ status:
29
+ code: 200
30
+ message: OK
31
+ headers:
32
+ Server:
33
+ - Server
34
+ Date:
35
+ - Thu, 17 May 2018 13:52:17 GMT
36
+ Content-Type:
37
+ - text/xml
38
+ Content-Length:
39
+ - '331'
40
+ Connection:
41
+ - keep-alive
42
+ X-Amzn-Requestid:
43
+ - 6ce7015c-e4b9-5aad-9199-522b6fe8fa57
44
+ body:
45
+ encoding: UTF-8
46
+ string: <?xml version="1.0"?><GetQueueUrlResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><GetQueueUrlResult><QueueUrl>https://sqs.eu-west-1.amazonaws.com/404017989009/stage_usage</QueueUrl></GetQueueUrlResult><ResponseMetadata><RequestId>6ce7015c-e4b9-5aad-9199-522b6fe8fa57</RequestId></ResponseMetadata></GetQueueUrlResponse>
47
+ http_version:
48
+ recorded_at: Thu, 17 May 2018 13:52:17 GMT
49
+ - request:
50
+ method: post
51
+ uri: https://sqs.eu-west-1.amazonaws.com/404017989009/stage_usage
52
+ body:
53
+ encoding: UTF-8
54
+ string: Action=ReceiveMessage&MaxNumberOfMessages=1&QueueUrl=https%3A%2F%2Fsqs.eu-west-1.amazonaws.com%2F404017989009%2Fstage_usage&Version=2012-11-05&WaitTimeSeconds=1
55
+ headers:
56
+ Content-Type:
57
+ - application/x-www-form-urlencoded; charset=utf-8
58
+ Accept-Encoding:
59
+ - ''
60
+ User-Agent:
61
+ - aws-sdk-ruby3/3.20.2 ruby/2.3.3 x86_64-darwin15 aws-sdk-sqs/1.3.0
62
+ X-Amz-Date:
63
+ - 20180517T135217Z
64
+ X-Amz-Content-Sha256:
65
+ - ecd9b7f04d6c20c2cc914ea59c9a1bebc41ac0351bdb4aabcde0c43a91351fb0
66
+ Authorization:
67
+ - AWS4-HMAC-SHA256 Credential=AKIAIXLDUBIDM74CC6KQ/20180517/eu-west-1/sqs/aws4_request,
68
+ SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=7373c6fb311441b0e4aa4dc101fe48dd4d04bfe6bfbd59bb727919deb750e174
69
+ Content-Length:
70
+ - '160'
71
+ Accept:
72
+ - "*/*"
73
+ response:
74
+ status:
75
+ code: 200
76
+ message: OK
77
+ headers:
78
+ Server:
79
+ - Server
80
+ Date:
81
+ - Thu, 17 May 2018 13:52:18 GMT
82
+ Content-Type:
83
+ - text/xml
84
+ Content-Length:
85
+ - '240'
86
+ Connection:
87
+ - keep-alive
88
+ X-Amzn-Requestid:
89
+ - 68b37c3f-2c33-5d0b-ab2f-2f48a762e555
90
+ body:
91
+ encoding: UTF-8
92
+ string: <?xml version="1.0"?><ReceiveMessageResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><ReceiveMessageResult/><ResponseMetadata><RequestId>68b37c3f-2c33-5d0b-ab2f-2f48a762e555</RequestId></ResponseMetadata></ReceiveMessageResponse>
93
+ http_version:
94
+ recorded_at: Thu, 17 May 2018 13:52:18 GMT
95
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,95 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://sqs.eu-west-1.amazonaws.com/
6
+ body:
7
+ encoding: UTF-8
8
+ string: Action=GetQueueUrl&QueueName=stage_usage&Version=2012-11-05
9
+ headers:
10
+ Content-Type:
11
+ - application/x-www-form-urlencoded; charset=utf-8
12
+ Accept-Encoding:
13
+ - ''
14
+ User-Agent:
15
+ - aws-sdk-ruby3/3.20.2 ruby/2.3.3 x86_64-darwin15 aws-sdk-sqs/1.3.0
16
+ X-Amz-Date:
17
+ - 20180517T135218Z
18
+ X-Amz-Content-Sha256:
19
+ - 5034a1b0b889e68da64b7a052e782d357595681cff3bfea21cac68581dec9836
20
+ Authorization:
21
+ - AWS4-HMAC-SHA256 Credential=AKIAIXLDUBIDM74CC6KQ/20180517/eu-west-1/sqs/aws4_request,
22
+ SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=b760ab42761ddfbb54725b5a719734027aa4568f4cf0077fd2a700299f363068
23
+ Content-Length:
24
+ - '59'
25
+ Accept:
26
+ - "*/*"
27
+ response:
28
+ status:
29
+ code: 200
30
+ message: OK
31
+ headers:
32
+ Server:
33
+ - Server
34
+ Date:
35
+ - Thu, 17 May 2018 13:52:18 GMT
36
+ Content-Type:
37
+ - text/xml
38
+ Content-Length:
39
+ - '331'
40
+ Connection:
41
+ - keep-alive
42
+ X-Amzn-Requestid:
43
+ - 1b9027aa-e1a1-5d38-9937-74dd6af33e01
44
+ body:
45
+ encoding: UTF-8
46
+ string: <?xml version="1.0"?><GetQueueUrlResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><GetQueueUrlResult><QueueUrl>https://sqs.eu-west-1.amazonaws.com/404017989009/stage_usage</QueueUrl></GetQueueUrlResult><ResponseMetadata><RequestId>1b9027aa-e1a1-5d38-9937-74dd6af33e01</RequestId></ResponseMetadata></GetQueueUrlResponse>
47
+ http_version:
48
+ recorded_at: Thu, 17 May 2018 13:52:18 GMT
49
+ - request:
50
+ method: post
51
+ uri: https://sqs.eu-west-1.amazonaws.com/404017989009/stage_usage
52
+ body:
53
+ encoding: UTF-8
54
+ string: Action=ReceiveMessage&MaxNumberOfMessages=1&QueueUrl=https%3A%2F%2Fsqs.eu-west-1.amazonaws.com%2F404017989009%2Fstage_usage&Version=2012-11-05&WaitTimeSeconds=1
55
+ headers:
56
+ Content-Type:
57
+ - application/x-www-form-urlencoded; charset=utf-8
58
+ Accept-Encoding:
59
+ - ''
60
+ User-Agent:
61
+ - aws-sdk-ruby3/3.20.2 ruby/2.3.3 x86_64-darwin15 aws-sdk-sqs/1.3.0
62
+ X-Amz-Date:
63
+ - 20180517T135218Z
64
+ X-Amz-Content-Sha256:
65
+ - ecd9b7f04d6c20c2cc914ea59c9a1bebc41ac0351bdb4aabcde0c43a91351fb0
66
+ Authorization:
67
+ - AWS4-HMAC-SHA256 Credential=AKIAIXLDUBIDM74CC6KQ/20180517/eu-west-1/sqs/aws4_request,
68
+ SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=16a0f51c75a855f25ee6b61e35e1eb501e38a000991e102afcf7baf9aa13c89f
69
+ Content-Length:
70
+ - '160'
71
+ Accept:
72
+ - "*/*"
73
+ response:
74
+ status:
75
+ code: 200
76
+ message: OK
77
+ headers:
78
+ Server:
79
+ - Server
80
+ Date:
81
+ - Thu, 17 May 2018 13:52:20 GMT
82
+ Content-Type:
83
+ - text/xml
84
+ Content-Length:
85
+ - '240'
86
+ Connection:
87
+ - keep-alive
88
+ X-Amzn-Requestid:
89
+ - e76eb1a9-d3b3-5de9-abca-e2de58e13db3
90
+ body:
91
+ encoding: UTF-8
92
+ string: <?xml version="1.0"?><ReceiveMessageResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><ReceiveMessageResult/><ResponseMetadata><RequestId>e76eb1a9-d3b3-5de9-abca-e2de58e13db3</RequestId></ResponseMetadata></ReceiveMessageResponse>
93
+ http_version:
94
+ recorded_at: Thu, 17 May 2018 13:52:20 GMT
95
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,187 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://sqs.eu-west-1.amazonaws.com/
6
+ body:
7
+ encoding: UTF-8
8
+ string: Action=GetQueueUrl&QueueName=stage_usage&Version=2012-11-05
9
+ headers:
10
+ Content-Type:
11
+ - application/x-www-form-urlencoded; charset=utf-8
12
+ Accept-Encoding:
13
+ - ''
14
+ User-Agent:
15
+ - aws-sdk-ruby3/3.20.2 ruby/2.3.3 x86_64-darwin15 aws-sdk-sqs/1.3.0
16
+ X-Amz-Date:
17
+ - 20180517T135220Z
18
+ X-Amz-Content-Sha256:
19
+ - 5034a1b0b889e68da64b7a052e782d357595681cff3bfea21cac68581dec9836
20
+ Authorization:
21
+ - AWS4-HMAC-SHA256 Credential=AKIAIXLDUBIDM74CC6KQ/20180517/eu-west-1/sqs/aws4_request,
22
+ SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=53c832e348ee6b898f9749e14152b8ba815b69503256addbe25417603d4480f3
23
+ Content-Length:
24
+ - '59'
25
+ Accept:
26
+ - "*/*"
27
+ response:
28
+ status:
29
+ code: 200
30
+ message: OK
31
+ headers:
32
+ Server:
33
+ - Server
34
+ Date:
35
+ - Thu, 17 May 2018 13:52:20 GMT
36
+ Content-Type:
37
+ - text/xml
38
+ Content-Length:
39
+ - '331'
40
+ Connection:
41
+ - keep-alive
42
+ X-Amzn-Requestid:
43
+ - e829c128-451a-51ea-8fa0-925fce4eec96
44
+ body:
45
+ encoding: UTF-8
46
+ string: <?xml version="1.0"?><GetQueueUrlResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><GetQueueUrlResult><QueueUrl>https://sqs.eu-west-1.amazonaws.com/404017989009/stage_usage</QueueUrl></GetQueueUrlResult><ResponseMetadata><RequestId>e829c128-451a-51ea-8fa0-925fce4eec96</RequestId></ResponseMetadata></GetQueueUrlResponse>
47
+ http_version:
48
+ recorded_at: Thu, 17 May 2018 13:52:20 GMT
49
+ - request:
50
+ method: post
51
+ uri: https://sqs.eu-west-1.amazonaws.com/404017989009/stage_usage
52
+ body:
53
+ encoding: UTF-8
54
+ string: Action=GetQueueAttributes&AttributeName.1=ApproximateNumberOfMessages&AttributeName.2=ApproximateNumberOfMessagesNotVisible&QueueUrl=https%3A%2F%2Fsqs.eu-west-1.amazonaws.com%2F404017989009%2Fstage_usage&Version=2012-11-05
55
+ headers:
56
+ Content-Type:
57
+ - application/x-www-form-urlencoded; charset=utf-8
58
+ Accept-Encoding:
59
+ - ''
60
+ User-Agent:
61
+ - aws-sdk-ruby3/3.20.2 ruby/2.3.3 x86_64-darwin15 aws-sdk-sqs/1.3.0
62
+ X-Amz-Date:
63
+ - 20180517T135220Z
64
+ X-Amz-Content-Sha256:
65
+ - 96a6d2cb54f526d279e954a56182b68f10b0ee5e7a64bc951623176e816b2435
66
+ Authorization:
67
+ - AWS4-HMAC-SHA256 Credential=AKIAIXLDUBIDM74CC6KQ/20180517/eu-west-1/sqs/aws4_request,
68
+ SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=01a0e808b53e75cac7724de2bd4383f82732eadd556d7d501c3e4b85ee14c5c5
69
+ Content-Length:
70
+ - '222'
71
+ Accept:
72
+ - "*/*"
73
+ response:
74
+ status:
75
+ code: 200
76
+ message: OK
77
+ headers:
78
+ Server:
79
+ - Server
80
+ Date:
81
+ - Thu, 17 May 2018 13:52:20 GMT
82
+ Content-Type:
83
+ - text/xml
84
+ Content-Length:
85
+ - '446'
86
+ Connection:
87
+ - keep-alive
88
+ X-Amzn-Requestid:
89
+ - fd273556-a753-5eb3-99bc-66212c070f0b
90
+ body:
91
+ encoding: UTF-8
92
+ string: <?xml version="1.0"?><GetQueueAttributesResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><GetQueueAttributesResult><Attribute><Name>ApproximateNumberOfMessages</Name><Value>0</Value></Attribute><Attribute><Name>ApproximateNumberOfMessagesNotVisible</Name><Value>0</Value></Attribute></GetQueueAttributesResult><ResponseMetadata><RequestId>fd273556-a753-5eb3-99bc-66212c070f0b</RequestId></ResponseMetadata></GetQueueAttributesResponse>
93
+ http_version:
94
+ recorded_at: Thu, 17 May 2018 13:52:20 GMT
95
+ - request:
96
+ method: post
97
+ uri: https://sqs.eu-west-1.amazonaws.com/
98
+ body:
99
+ encoding: UTF-8
100
+ string: Action=GetQueueUrl&QueueName=stage_usage&Version=2012-11-05
101
+ headers:
102
+ Content-Type:
103
+ - application/x-www-form-urlencoded; charset=utf-8
104
+ Accept-Encoding:
105
+ - ''
106
+ User-Agent:
107
+ - aws-sdk-ruby3/3.20.2 ruby/2.3.3 x86_64-darwin15 aws-sdk-sqs/1.3.0
108
+ X-Amz-Date:
109
+ - 20180517T135220Z
110
+ X-Amz-Content-Sha256:
111
+ - 5034a1b0b889e68da64b7a052e782d357595681cff3bfea21cac68581dec9836
112
+ Authorization:
113
+ - AWS4-HMAC-SHA256 Credential=AKIAIXLDUBIDM74CC6KQ/20180517/eu-west-1/sqs/aws4_request,
114
+ SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=53c832e348ee6b898f9749e14152b8ba815b69503256addbe25417603d4480f3
115
+ Content-Length:
116
+ - '59'
117
+ Accept:
118
+ - "*/*"
119
+ response:
120
+ status:
121
+ code: 200
122
+ message: OK
123
+ headers:
124
+ Server:
125
+ - Server
126
+ Date:
127
+ - Thu, 17 May 2018 13:52:20 GMT
128
+ Content-Type:
129
+ - text/xml
130
+ Content-Length:
131
+ - '331'
132
+ Connection:
133
+ - keep-alive
134
+ X-Amzn-Requestid:
135
+ - 2ba161a3-25d0-53b3-ad3d-32d4ae84220f
136
+ body:
137
+ encoding: UTF-8
138
+ string: <?xml version="1.0"?><GetQueueUrlResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><GetQueueUrlResult><QueueUrl>https://sqs.eu-west-1.amazonaws.com/404017989009/stage_usage</QueueUrl></GetQueueUrlResult><ResponseMetadata><RequestId>2ba161a3-25d0-53b3-ad3d-32d4ae84220f</RequestId></ResponseMetadata></GetQueueUrlResponse>
139
+ http_version:
140
+ recorded_at: Thu, 17 May 2018 13:52:20 GMT
141
+ - request:
142
+ method: post
143
+ uri: https://sqs.eu-west-1.amazonaws.com/404017989009/stage_usage
144
+ body:
145
+ encoding: UTF-8
146
+ string: Action=GetQueueAttributes&AttributeName.1=ApproximateNumberOfMessages&AttributeName.2=ApproximateNumberOfMessagesNotVisible&QueueUrl=https%3A%2F%2Fsqs.eu-west-1.amazonaws.com%2F404017989009%2Fstage_usage&Version=2012-11-05
147
+ headers:
148
+ Content-Type:
149
+ - application/x-www-form-urlencoded; charset=utf-8
150
+ Accept-Encoding:
151
+ - ''
152
+ User-Agent:
153
+ - aws-sdk-ruby3/3.20.2 ruby/2.3.3 x86_64-darwin15 aws-sdk-sqs/1.3.0
154
+ X-Amz-Date:
155
+ - 20180517T135220Z
156
+ X-Amz-Content-Sha256:
157
+ - 96a6d2cb54f526d279e954a56182b68f10b0ee5e7a64bc951623176e816b2435
158
+ Authorization:
159
+ - AWS4-HMAC-SHA256 Credential=AKIAIXLDUBIDM74CC6KQ/20180517/eu-west-1/sqs/aws4_request,
160
+ SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=01a0e808b53e75cac7724de2bd4383f82732eadd556d7d501c3e4b85ee14c5c5
161
+ Content-Length:
162
+ - '222'
163
+ Accept:
164
+ - "*/*"
165
+ response:
166
+ status:
167
+ code: 200
168
+ message: OK
169
+ headers:
170
+ Server:
171
+ - Server
172
+ Date:
173
+ - Thu, 17 May 2018 13:52:20 GMT
174
+ Content-Type:
175
+ - text/xml
176
+ Content-Length:
177
+ - '446'
178
+ Connection:
179
+ - keep-alive
180
+ X-Amzn-Requestid:
181
+ - 12b931c1-0194-5f79-bc95-62b68ac0062f
182
+ body:
183
+ encoding: UTF-8
184
+ string: <?xml version="1.0"?><GetQueueAttributesResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><GetQueueAttributesResult><Attribute><Name>ApproximateNumberOfMessages</Name><Value>0</Value></Attribute><Attribute><Name>ApproximateNumberOfMessagesNotVisible</Name><Value>0</Value></Attribute></GetQueueAttributesResult><ResponseMetadata><RequestId>12b931c1-0194-5f79-bc95-62b68ac0062f</RequestId></ResponseMetadata></GetQueueAttributesResponse>
185
+ http_version:
186
+ recorded_at: Thu, 17 May 2018 13:52:20 GMT
187
+ recorded_with: VCR 3.0.3
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  http_interactions:
3
3
  - request:
4
- method: post
5
- uri: https://api.test.datacite.org/events
4
+ method: put
5
+ uri: https://api.test.datacite.org/events/a17e783b-8214-451e-9b0d-077213c2acae
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"data":{"id":"a17e783b-8214-451e-9b0d-077213c2acae","type":"events","attributes":{"message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":3,"obj-id":"https://doi.org/10.7291/d1q94r","relation-type-id":"total-dataset-investigations-regular","source-id":"datacite","source-token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred-at":"2128-04-09","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
8
+ string: '{"data":{"id":"a17e783b-8214-451e-9b0d-077213c2acae","type":"events","attributes":{"uuid":"a17e783b-8214-451e-9b0d-077213c2acae","message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":3,"obj-id":"https://doi.org/10.7291/d1q94r","relation-type-id":"total-dataset-investigations-regular","source-id":"datacite","source-token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred-at":"2128-04-09","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
9
9
  headers:
10
10
  User-Agent:
11
11
  - Maremma - https://github.com/datacite/maremma
@@ -17,44 +17,280 @@ http_interactions:
17
17
  - Bearer <LAGOTTO_TOKEN>
18
18
  response:
19
19
  status:
20
- code: 201
20
+ code: 500
21
21
  message: ''
22
22
  headers:
23
23
  Date:
24
- - Mon, 07 May 2018 15:07:44 GMT
24
+ - Thu, 17 May 2018 13:47:05 GMT
25
25
  Content-Type:
26
- - application/json; charset=utf-8
26
+ - application/json; charset=UTF-8
27
+ Content-Length:
28
+ - '30794'
27
29
  Connection:
28
30
  - keep-alive
29
31
  Status:
30
- - 201 Created
31
- Cache-Control:
32
- - max-age=0, private, must-revalidate
32
+ - 500 Internal Server Error
33
33
  Vary:
34
- - Accept-Encoding, Origin
35
- Etag:
36
- - W/"205daac1156d285daeb903afc6bcd156"
34
+ - Origin
37
35
  X-Runtime:
38
- - '0.011591'
39
- X-Credential-Username:
40
- - 0000-0001-5489-3594
36
+ - '0.094216'
41
37
  X-Request-Id:
42
- - b6a796cd-81ab-4abd-93ad-bea3ff71ae66
38
+ - c752d13a-fe4b-420f-a7a4-c9256fc0821c
43
39
  X-Powered-By:
44
- - Phusion Passenger 5.2.3
40
+ - Phusion Passenger 5.3.1
45
41
  Server:
46
- - nginx/1.12.2 + Phusion Passenger 5.2.3
42
+ - nginx/1.14.0 + Phusion Passenger 5.3.1
47
43
  body:
48
44
  encoding: UTF-8
49
- string: '{"data":{"id":"e7c02cf2-848b-4f19-bb58-80777dc74cef","type":"events","attributes":{"subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","obj-id":"https://doi.org/10.7291/d1q94r","message-action":"add","source-token":"28276d12-b320-41ba-9272-bb0adc3466ff","relation-type-id":"total-dataset-investigations-regular","source-id":"datacite","total":3,"license":"https://creativecommons.org/publicdomain/zero/1.0/","occurred-at":"2128-04-09T00:00:00.000Z","timestamp":"2018-05-07T15:07:44Z","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"obj":{}}}}'
45
+ string: '{"status":500,"error":"Internal Server Error","exception":"#\u003cActiveRecord::RecordNotUnique:
46
+ Mysql2::Error: Duplicate entry ''https://metrics.test.datacite.org/reports/2018-3-Dash-https://do''
47
+ for key ''index_events_on_multiple_columns'': UPDATE `events` SET `subj_id`
48
+ = ''https://metrics.test.datacite.org/reports/2018-3-Dash'', `updated_at`
49
+ = ''2018-05-17 13:47:05'', `subj` = ''{\\\"pid\\\":\\\"https://metrics.test.datacite.org/reports/2018-3-Dash\\\",\\\"issued\\\":\\\"2128-04-09\\\"}''
50
+ WHERE `events`.`id` = 337\u003e","traces":{"Application Trace":[{"id":58,"trace":"app/controllers/events_controller.rb:30:in
51
+ `update''"}],"Framework Trace":[{"id":0,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
52
+ `_query''"},{"id":1,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
53
+ `block in query''"},{"id":2,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
54
+ `handle_interrupt''"},{"id":3,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
55
+ `query''"},{"id":4,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:187:in
56
+ `block (2 levels) in execute''"},{"id":5,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:48:in
57
+ `block in permit_concurrent_loads''"},{"id":6,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/concurrency/share_lock.rb:187:in
58
+ `yield_shares''"},{"id":7,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:47:in
59
+ `permit_concurrent_loads''"},{"id":8,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:186:in
60
+ `block in execute''"},{"id":9,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:579:in
61
+ `block (2 levels) in log''"},{"id":10,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
62
+ `mon_synchronize''"},{"id":11,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:578:in
63
+ `block in log''"},{"id":12,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
64
+ `instrument''"},{"id":13,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:569:in
65
+ `log''"},{"id":14,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:185:in
66
+ `execute''"},{"id":15,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:28:in
67
+ `execute''"},{"id":16,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:196:in
68
+ `execute_and_free''"},{"id":17,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:45:in
69
+ `exec_delete''"},{"id":18,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:157:in
70
+ `update''"},{"id":19,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:21:in
71
+ `update''"},{"id":20,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:197:in
72
+ `_update_record''"},{"id":21,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:695:in
73
+ `_update_row''"},{"id":22,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/locking/optimistic.rb:80:in
74
+ `_update_row''"},{"id":23,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:718:in
75
+ `_update_record''"},{"id":24,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/attribute_methods/dirty.rb:133:in
76
+ `_update_record''"},{"id":25,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:346:in
77
+ `block in _update_record''"},{"id":26,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
78
+ `run_callbacks''"},{"id":27,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
79
+ `run_callbacks''"},{"id":28,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
80
+ `_run_update_callbacks''"},{"id":29,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:346:in
81
+ `_update_record''"},{"id":30,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/timestamp.rb:107:in
82
+ `_update_record''"},{"id":31,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:704:in
83
+ `create_or_update''"},{"id":32,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
84
+ `block in create_or_update''"},{"id":33,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
85
+ `run_callbacks''"},{"id":34,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
86
+ `run_callbacks''"},{"id":35,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
87
+ `_run_save_callbacks''"},{"id":36,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
88
+ `create_or_update''"},{"id":37,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:275:in
89
+ `save''"},{"id":38,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/validations.rb:46:in
90
+ `save''"},{"id":39,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
91
+ `block (2 levels) in save''"},{"id":40,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
92
+ `block in with_transaction_returning_status''"},{"id":41,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:252:in
93
+ `transaction''"},{"id":42,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
94
+ `transaction''"},{"id":43,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
95
+ `with_transaction_returning_status''"},{"id":44,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
96
+ `block in save''"},{"id":45,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:325:in
97
+ `rollback_active_record_state!''"},{"id":46,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:309:in
98
+ `save''"},{"id":47,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/suppressor.rb:44:in
99
+ `save''"},{"id":48,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:428:in
100
+ `block in update''"},{"id":49,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
101
+ `block in with_transaction_returning_status''"},{"id":50,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
102
+ `block in transaction''"},{"id":51,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:230:in
103
+ `block in within_new_transaction''"},{"id":52,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
104
+ `mon_synchronize''"},{"id":53,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:227:in
105
+ `within_new_transaction''"},{"id":54,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
106
+ `transaction''"},{"id":55,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
107
+ `transaction''"},{"id":56,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
108
+ `with_transaction_returning_status''"},{"id":57,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:426:in
109
+ `update''"},{"id":59,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/basic_implicit_render.rb:6:in
110
+ `send_action''"},{"id":60,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:194:in
111
+ `process_action''"},{"id":61,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rendering.rb:30:in
112
+ `process_action''"},{"id":62,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:42:in
113
+ `block in process_action''"},{"id":63,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
114
+ `run_callbacks''"},{"id":64,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:41:in
115
+ `process_action''"},{"id":65,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rescue.rb:22:in
116
+ `process_action''"},{"id":66,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:34:in
117
+ `block in process_action''"},{"id":67,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
118
+ `block in instrument''"},{"id":68,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
119
+ `instrument''"},{"id":69,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
120
+ `instrument''"},{"id":70,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:32:in
121
+ `process_action''"},{"id":71,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/params_wrapper.rb:256:in
122
+ `process_action''"},{"id":72,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/railties/controller_runtime.rb:24:in
123
+ `process_action''"},{"id":73,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:134:in
124
+ `process''"},{"id":74,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:191:in
125
+ `dispatch''"},{"id":75,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:252:in
126
+ `dispatch''"},{"id":76,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:52:in
127
+ `dispatch''"},{"id":77,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:34:in
128
+ `serve''"},{"id":78,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:52:in
129
+ `block in serve''"},{"id":79,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
130
+ `each''"},{"id":80,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
131
+ `serve''"},{"id":81,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:840:in
132
+ `call''"},{"id":82,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/deflater.rb:34:in
133
+ `call''"},{"id":83,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/etag.rb:25:in
134
+ `call''"},{"id":84,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/conditional_get.rb:38:in
135
+ `call''"},{"id":85,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/head.rb:12:in
136
+ `call''"},{"id":86,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:559:in
137
+ `call''"},{"id":87,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:28:in
138
+ `block in call''"},{"id":88,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
139
+ `run_callbacks''"},{"id":89,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:26:in
140
+ `call''"},{"id":90,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
141
+ `call''"},{"id":91,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rack.rb:46:in
142
+ `call''"},{"id":92,"trace":"vendor/bundle/ruby/2.4.0/gems/better_errors-2.4.0/lib/better_errors/middleware.rb:59:in
143
+ `call''"},{"id":93,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/debug_exceptions.rb:61:in
144
+ `call''"},{"id":94,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/show_exceptions.rb:33:in
145
+ `call''"},{"id":95,"trace":"vendor/bundle/ruby/2.4.0/gems/lograge-0.10.0/lib/lograge/rails_ext/rack/logger.rb:15:in
146
+ `call_app''"},{"id":96,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
147
+ `block in call''"},{"id":97,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
148
+ `block in tagged''"},{"id":98,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:28:in
149
+ `tagged''"},{"id":99,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
150
+ `tagged''"},{"id":100,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
151
+ `call''"},{"id":101,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/remote_ip.rb:81:in
152
+ `call''"},{"id":102,"trace":"vendor/bundle/ruby/2.4.0/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:in
153
+ `call''"},{"id":103,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/request_id.rb:27:in
154
+ `call''"},{"id":104,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/runtime.rb:22:in
155
+ `call''"},{"id":105,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in
156
+ `call''"},{"id":106,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
157
+ `call''"},{"id":107,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/static.rb:127:in
158
+ `call''"},{"id":108,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/sendfile.rb:111:in
159
+ `call''"},{"id":109,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:111:in
160
+ `process_request''"},{"id":110,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:81:in
161
+ `call''"},{"id":111,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-cors-1.0.2/lib/rack/cors.rb:97:in
162
+ `call''"},{"id":112,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/engine.rb:524:in
163
+ `call''"},{"id":113,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in
164
+ `process_request''"},{"id":114,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:157:in
165
+ `accept_and_process_next_request''"},{"id":115,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in
166
+ `main_loop''"},{"id":116,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in
167
+ `block (3 levels) in start_threads''"},{"id":117,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in
168
+ `block in create_thread_and_abort_on_exception''"}],"Full Trace":[{"id":0,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
169
+ `_query''"},{"id":1,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
170
+ `block in query''"},{"id":2,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
171
+ `handle_interrupt''"},{"id":3,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
172
+ `query''"},{"id":4,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:187:in
173
+ `block (2 levels) in execute''"},{"id":5,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:48:in
174
+ `block in permit_concurrent_loads''"},{"id":6,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/concurrency/share_lock.rb:187:in
175
+ `yield_shares''"},{"id":7,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:47:in
176
+ `permit_concurrent_loads''"},{"id":8,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:186:in
177
+ `block in execute''"},{"id":9,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:579:in
178
+ `block (2 levels) in log''"},{"id":10,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
179
+ `mon_synchronize''"},{"id":11,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:578:in
180
+ `block in log''"},{"id":12,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
181
+ `instrument''"},{"id":13,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:569:in
182
+ `log''"},{"id":14,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:185:in
183
+ `execute''"},{"id":15,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:28:in
184
+ `execute''"},{"id":16,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:196:in
185
+ `execute_and_free''"},{"id":17,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:45:in
186
+ `exec_delete''"},{"id":18,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:157:in
187
+ `update''"},{"id":19,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:21:in
188
+ `update''"},{"id":20,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:197:in
189
+ `_update_record''"},{"id":21,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:695:in
190
+ `_update_row''"},{"id":22,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/locking/optimistic.rb:80:in
191
+ `_update_row''"},{"id":23,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:718:in
192
+ `_update_record''"},{"id":24,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/attribute_methods/dirty.rb:133:in
193
+ `_update_record''"},{"id":25,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:346:in
194
+ `block in _update_record''"},{"id":26,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
195
+ `run_callbacks''"},{"id":27,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
196
+ `run_callbacks''"},{"id":28,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
197
+ `_run_update_callbacks''"},{"id":29,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:346:in
198
+ `_update_record''"},{"id":30,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/timestamp.rb:107:in
199
+ `_update_record''"},{"id":31,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:704:in
200
+ `create_or_update''"},{"id":32,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
201
+ `block in create_or_update''"},{"id":33,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
202
+ `run_callbacks''"},{"id":34,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
203
+ `run_callbacks''"},{"id":35,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
204
+ `_run_save_callbacks''"},{"id":36,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
205
+ `create_or_update''"},{"id":37,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:275:in
206
+ `save''"},{"id":38,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/validations.rb:46:in
207
+ `save''"},{"id":39,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
208
+ `block (2 levels) in save''"},{"id":40,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
209
+ `block in with_transaction_returning_status''"},{"id":41,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:252:in
210
+ `transaction''"},{"id":42,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
211
+ `transaction''"},{"id":43,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
212
+ `with_transaction_returning_status''"},{"id":44,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
213
+ `block in save''"},{"id":45,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:325:in
214
+ `rollback_active_record_state!''"},{"id":46,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:309:in
215
+ `save''"},{"id":47,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/suppressor.rb:44:in
216
+ `save''"},{"id":48,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:428:in
217
+ `block in update''"},{"id":49,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
218
+ `block in with_transaction_returning_status''"},{"id":50,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
219
+ `block in transaction''"},{"id":51,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:230:in
220
+ `block in within_new_transaction''"},{"id":52,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
221
+ `mon_synchronize''"},{"id":53,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:227:in
222
+ `within_new_transaction''"},{"id":54,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
223
+ `transaction''"},{"id":55,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
224
+ `transaction''"},{"id":56,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
225
+ `with_transaction_returning_status''"},{"id":57,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:426:in
226
+ `update''"},{"id":58,"trace":"app/controllers/events_controller.rb:30:in `update''"},{"id":59,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/basic_implicit_render.rb:6:in
227
+ `send_action''"},{"id":60,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:194:in
228
+ `process_action''"},{"id":61,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rendering.rb:30:in
229
+ `process_action''"},{"id":62,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:42:in
230
+ `block in process_action''"},{"id":63,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
231
+ `run_callbacks''"},{"id":64,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:41:in
232
+ `process_action''"},{"id":65,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rescue.rb:22:in
233
+ `process_action''"},{"id":66,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:34:in
234
+ `block in process_action''"},{"id":67,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
235
+ `block in instrument''"},{"id":68,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
236
+ `instrument''"},{"id":69,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
237
+ `instrument''"},{"id":70,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:32:in
238
+ `process_action''"},{"id":71,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/params_wrapper.rb:256:in
239
+ `process_action''"},{"id":72,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/railties/controller_runtime.rb:24:in
240
+ `process_action''"},{"id":73,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:134:in
241
+ `process''"},{"id":74,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:191:in
242
+ `dispatch''"},{"id":75,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:252:in
243
+ `dispatch''"},{"id":76,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:52:in
244
+ `dispatch''"},{"id":77,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:34:in
245
+ `serve''"},{"id":78,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:52:in
246
+ `block in serve''"},{"id":79,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
247
+ `each''"},{"id":80,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
248
+ `serve''"},{"id":81,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:840:in
249
+ `call''"},{"id":82,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/deflater.rb:34:in
250
+ `call''"},{"id":83,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/etag.rb:25:in
251
+ `call''"},{"id":84,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/conditional_get.rb:38:in
252
+ `call''"},{"id":85,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/head.rb:12:in
253
+ `call''"},{"id":86,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:559:in
254
+ `call''"},{"id":87,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:28:in
255
+ `block in call''"},{"id":88,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
256
+ `run_callbacks''"},{"id":89,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:26:in
257
+ `call''"},{"id":90,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
258
+ `call''"},{"id":91,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rack.rb:46:in
259
+ `call''"},{"id":92,"trace":"vendor/bundle/ruby/2.4.0/gems/better_errors-2.4.0/lib/better_errors/middleware.rb:59:in
260
+ `call''"},{"id":93,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/debug_exceptions.rb:61:in
261
+ `call''"},{"id":94,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/show_exceptions.rb:33:in
262
+ `call''"},{"id":95,"trace":"vendor/bundle/ruby/2.4.0/gems/lograge-0.10.0/lib/lograge/rails_ext/rack/logger.rb:15:in
263
+ `call_app''"},{"id":96,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
264
+ `block in call''"},{"id":97,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
265
+ `block in tagged''"},{"id":98,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:28:in
266
+ `tagged''"},{"id":99,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
267
+ `tagged''"},{"id":100,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
268
+ `call''"},{"id":101,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/remote_ip.rb:81:in
269
+ `call''"},{"id":102,"trace":"vendor/bundle/ruby/2.4.0/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:in
270
+ `call''"},{"id":103,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/request_id.rb:27:in
271
+ `call''"},{"id":104,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/runtime.rb:22:in
272
+ `call''"},{"id":105,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in
273
+ `call''"},{"id":106,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
274
+ `call''"},{"id":107,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/static.rb:127:in
275
+ `call''"},{"id":108,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/sendfile.rb:111:in
276
+ `call''"},{"id":109,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:111:in
277
+ `process_request''"},{"id":110,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:81:in
278
+ `call''"},{"id":111,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-cors-1.0.2/lib/rack/cors.rb:97:in
279
+ `call''"},{"id":112,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/engine.rb:524:in
280
+ `call''"},{"id":113,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in
281
+ `process_request''"},{"id":114,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:157:in
282
+ `accept_and_process_next_request''"},{"id":115,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in
283
+ `main_loop''"},{"id":116,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in
284
+ `block (3 levels) in start_threads''"},{"id":117,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in
285
+ `block in create_thread_and_abort_on_exception''"}]}}'
50
286
  http_version:
51
- recorded_at: Mon, 07 May 2018 15:07:44 GMT
287
+ recorded_at: Thu, 17 May 2018 13:47:05 GMT
52
288
  - request:
53
- method: post
54
- uri: https://api.test.datacite.org/events
289
+ method: put
290
+ uri: https://api.test.datacite.org/events/fc6860b8-4230-41bc-8b8e-21d60e9a7d9a
55
291
  body:
56
292
  encoding: UTF-8
57
- string: '{"data":{"id":"fc6860b8-4230-41bc-8b8e-21d60e9a7d9a","type":"events","attributes":{"message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":3,"obj-id":"https://doi.org/10.7291/d1q94r","relation-type-id":"unique-dataset-investigations-regular","source-id":"datacite","source-token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred-at":"2128-04-09","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
293
+ string: '{"data":{"id":"fc6860b8-4230-41bc-8b8e-21d60e9a7d9a","type":"events","attributes":{"uuid":"fc6860b8-4230-41bc-8b8e-21d60e9a7d9a","message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":3,"obj-id":"https://doi.org/10.7291/d1q94r","relation-type-id":"unique-dataset-investigations-regular","source-id":"datacite","source-token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred-at":"2128-04-09","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
58
294
  headers:
59
295
  User-Agent:
60
296
  - Maremma - https://github.com/datacite/maremma
@@ -66,44 +302,287 @@ http_interactions:
66
302
  - Bearer <LAGOTTO_TOKEN>
67
303
  response:
68
304
  status:
69
- code: 201
305
+ code: 500
70
306
  message: ''
71
307
  headers:
72
308
  Date:
73
- - Mon, 07 May 2018 15:07:44 GMT
309
+ - Thu, 17 May 2018 13:47:06 GMT
74
310
  Content-Type:
75
- - application/json; charset=utf-8
311
+ - application/json; charset=UTF-8
312
+ Content-Length:
313
+ - '31534'
76
314
  Connection:
77
315
  - keep-alive
78
316
  Status:
79
- - 201 Created
80
- Cache-Control:
81
- - max-age=0, private, must-revalidate
317
+ - 500 Internal Server Error
82
318
  Vary:
83
- - Accept-Encoding, Origin
84
- Etag:
85
- - W/"a158314678963c3092f8a6d088a8f231"
319
+ - Origin
86
320
  X-Runtime:
87
- - '0.010919'
88
- X-Credential-Username:
89
- - 0000-0001-5489-3594
321
+ - '0.094007'
90
322
  X-Request-Id:
91
- - 85781082-877f-4118-9308-ee5ba2f635ae
323
+ - 17479414-98ae-47e8-bfde-d9f2478dfd3c
92
324
  X-Powered-By:
93
- - Phusion Passenger 5.2.3
325
+ - Phusion Passenger 5.3.1
94
326
  Server:
95
- - nginx/1.12.2 + Phusion Passenger 5.2.3
327
+ - nginx/1.14.0 + Phusion Passenger 5.3.1
96
328
  body:
97
329
  encoding: UTF-8
98
- string: '{"data":{"id":"cd62bd0a-fce4-4de6-9470-d8948b944519","type":"events","attributes":{"subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","obj-id":"https://doi.org/10.7291/d1q94r","message-action":"add","source-token":"28276d12-b320-41ba-9272-bb0adc3466ff","relation-type-id":"unique-dataset-investigations-regular","source-id":"datacite","total":3,"license":"https://creativecommons.org/publicdomain/zero/1.0/","occurred-at":"2128-04-09T00:00:00.000Z","timestamp":"2018-05-07T15:07:44Z","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"obj":{}}}}'
330
+ string: '{"status":500,"error":"Internal Server Error","exception":"#\u003cActiveRecord::RecordNotUnique:
331
+ Mysql2::Error: Duplicate entry ''https://metrics.test.datacite.org/reports/2018-3-Dash-https://do''
332
+ for key ''index_events_on_multiple_columns'': INSERT INTO `events` (`uuid`,
333
+ `subj_id`, `obj_id`, `source_id`, `aasm_state`, `source_token`, `created_at`,
334
+ `updated_at`, `occurred_at`, `relation_type_id`, `subj`, `obj`, `total`, `license`)
335
+ VALUES (''fc6860b8-4230-41bc-8b8e-21d60e9a7d9a'', ''https://metrics.test.datacite.org/reports/2018-3-Dash'',
336
+ ''https://doi.org/10.7291/d1q94r'', ''datacite'', ''waiting'', ''28276d12-b320-41ba-9272-bb0adc3466ff'',
337
+ ''2018-05-17 13:47:06'', ''2018-05-17 13:47:06'', ''2128-04-09 00:00:00'',
338
+ ''unique-dataset-investigations-regular'', ''{\\\"pid\\\":\\\"https://metrics.test.datacite.org/reports/2018-3-Dash\\\",\\\"issued\\\":\\\"2128-04-09\\\"}'',
339
+ ''{}'', 3, ''https://creativecommons.org/publicdomain/zero/1.0/'')\u003e","traces":{"Application
340
+ Trace":[{"id":59,"trace":"app/controllers/events_controller.rb:30:in `update''"}],"Framework
341
+ Trace":[{"id":0,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
342
+ `_query''"},{"id":1,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
343
+ `block in query''"},{"id":2,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
344
+ `handle_interrupt''"},{"id":3,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
345
+ `query''"},{"id":4,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:187:in
346
+ `block (2 levels) in execute''"},{"id":5,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:48:in
347
+ `block in permit_concurrent_loads''"},{"id":6,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/concurrency/share_lock.rb:187:in
348
+ `yield_shares''"},{"id":7,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:47:in
349
+ `permit_concurrent_loads''"},{"id":8,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:186:in
350
+ `block in execute''"},{"id":9,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:579:in
351
+ `block (2 levels) in log''"},{"id":10,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
352
+ `mon_synchronize''"},{"id":11,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:578:in
353
+ `block in log''"},{"id":12,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
354
+ `instrument''"},{"id":13,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:569:in
355
+ `log''"},{"id":14,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:185:in
356
+ `execute''"},{"id":15,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:28:in
357
+ `execute''"},{"id":16,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:196:in
358
+ `execute_and_free''"},{"id":17,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:33:in
359
+ `exec_query''"},{"id":18,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:117:in
360
+ `exec_insert''"},{"id":19,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:149:in
361
+ `insert''"},{"id":20,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:21:in
362
+ `insert''"},{"id":21,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:187:in
363
+ `_insert_record''"},{"id":22,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:733:in
364
+ `_create_record''"},{"id":23,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/counter_cache.rb:180:in
365
+ `_create_record''"},{"id":24,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/locking/optimistic.rb:70:in
366
+ `_create_record''"},{"id":25,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/attribute_methods/dirty.rb:137:in
367
+ `_create_record''"},{"id":26,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:342:in
368
+ `block in _create_record''"},{"id":27,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
369
+ `run_callbacks''"},{"id":28,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
370
+ `run_callbacks''"},{"id":29,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
371
+ `_run_create_callbacks''"},{"id":30,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:342:in
372
+ `_create_record''"},{"id":31,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/timestamp.rb:95:in
373
+ `_create_record''"},{"id":32,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:704:in
374
+ `create_or_update''"},{"id":33,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
375
+ `block in create_or_update''"},{"id":34,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
376
+ `run_callbacks''"},{"id":35,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
377
+ `run_callbacks''"},{"id":36,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
378
+ `_run_save_callbacks''"},{"id":37,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
379
+ `create_or_update''"},{"id":38,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:275:in
380
+ `save''"},{"id":39,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/validations.rb:46:in
381
+ `save''"},{"id":40,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
382
+ `block (2 levels) in save''"},{"id":41,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
383
+ `block in with_transaction_returning_status''"},{"id":42,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:252:in
384
+ `transaction''"},{"id":43,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
385
+ `transaction''"},{"id":44,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
386
+ `with_transaction_returning_status''"},{"id":45,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
387
+ `block in save''"},{"id":46,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:325:in
388
+ `rollback_active_record_state!''"},{"id":47,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:309:in
389
+ `save''"},{"id":48,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/suppressor.rb:44:in
390
+ `save''"},{"id":49,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:428:in
391
+ `block in update''"},{"id":50,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
392
+ `block in with_transaction_returning_status''"},{"id":51,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
393
+ `block in transaction''"},{"id":52,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:230:in
394
+ `block in within_new_transaction''"},{"id":53,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
395
+ `mon_synchronize''"},{"id":54,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:227:in
396
+ `within_new_transaction''"},{"id":55,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
397
+ `transaction''"},{"id":56,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
398
+ `transaction''"},{"id":57,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
399
+ `with_transaction_returning_status''"},{"id":58,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:426:in
400
+ `update''"},{"id":60,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/basic_implicit_render.rb:6:in
401
+ `send_action''"},{"id":61,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:194:in
402
+ `process_action''"},{"id":62,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rendering.rb:30:in
403
+ `process_action''"},{"id":63,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:42:in
404
+ `block in process_action''"},{"id":64,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
405
+ `run_callbacks''"},{"id":65,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:41:in
406
+ `process_action''"},{"id":66,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rescue.rb:22:in
407
+ `process_action''"},{"id":67,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:34:in
408
+ `block in process_action''"},{"id":68,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
409
+ `block in instrument''"},{"id":69,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
410
+ `instrument''"},{"id":70,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
411
+ `instrument''"},{"id":71,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:32:in
412
+ `process_action''"},{"id":72,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/params_wrapper.rb:256:in
413
+ `process_action''"},{"id":73,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/railties/controller_runtime.rb:24:in
414
+ `process_action''"},{"id":74,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:134:in
415
+ `process''"},{"id":75,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:191:in
416
+ `dispatch''"},{"id":76,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:252:in
417
+ `dispatch''"},{"id":77,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:52:in
418
+ `dispatch''"},{"id":78,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:34:in
419
+ `serve''"},{"id":79,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:52:in
420
+ `block in serve''"},{"id":80,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
421
+ `each''"},{"id":81,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
422
+ `serve''"},{"id":82,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:840:in
423
+ `call''"},{"id":83,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/deflater.rb:34:in
424
+ `call''"},{"id":84,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/etag.rb:25:in
425
+ `call''"},{"id":85,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/conditional_get.rb:38:in
426
+ `call''"},{"id":86,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/head.rb:12:in
427
+ `call''"},{"id":87,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:559:in
428
+ `call''"},{"id":88,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:28:in
429
+ `block in call''"},{"id":89,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
430
+ `run_callbacks''"},{"id":90,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:26:in
431
+ `call''"},{"id":91,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
432
+ `call''"},{"id":92,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rack.rb:46:in
433
+ `call''"},{"id":93,"trace":"vendor/bundle/ruby/2.4.0/gems/better_errors-2.4.0/lib/better_errors/middleware.rb:59:in
434
+ `call''"},{"id":94,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/debug_exceptions.rb:61:in
435
+ `call''"},{"id":95,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/show_exceptions.rb:33:in
436
+ `call''"},{"id":96,"trace":"vendor/bundle/ruby/2.4.0/gems/lograge-0.10.0/lib/lograge/rails_ext/rack/logger.rb:15:in
437
+ `call_app''"},{"id":97,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
438
+ `block in call''"},{"id":98,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
439
+ `block in tagged''"},{"id":99,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:28:in
440
+ `tagged''"},{"id":100,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
441
+ `tagged''"},{"id":101,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
442
+ `call''"},{"id":102,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/remote_ip.rb:81:in
443
+ `call''"},{"id":103,"trace":"vendor/bundle/ruby/2.4.0/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:in
444
+ `call''"},{"id":104,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/request_id.rb:27:in
445
+ `call''"},{"id":105,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/runtime.rb:22:in
446
+ `call''"},{"id":106,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in
447
+ `call''"},{"id":107,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
448
+ `call''"},{"id":108,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/static.rb:127:in
449
+ `call''"},{"id":109,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/sendfile.rb:111:in
450
+ `call''"},{"id":110,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:111:in
451
+ `process_request''"},{"id":111,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:81:in
452
+ `call''"},{"id":112,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-cors-1.0.2/lib/rack/cors.rb:97:in
453
+ `call''"},{"id":113,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/engine.rb:524:in
454
+ `call''"},{"id":114,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in
455
+ `process_request''"},{"id":115,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:157:in
456
+ `accept_and_process_next_request''"},{"id":116,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in
457
+ `main_loop''"},{"id":117,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in
458
+ `block (3 levels) in start_threads''"},{"id":118,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in
459
+ `block in create_thread_and_abort_on_exception''"}],"Full Trace":[{"id":0,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
460
+ `_query''"},{"id":1,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
461
+ `block in query''"},{"id":2,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
462
+ `handle_interrupt''"},{"id":3,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
463
+ `query''"},{"id":4,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:187:in
464
+ `block (2 levels) in execute''"},{"id":5,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:48:in
465
+ `block in permit_concurrent_loads''"},{"id":6,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/concurrency/share_lock.rb:187:in
466
+ `yield_shares''"},{"id":7,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:47:in
467
+ `permit_concurrent_loads''"},{"id":8,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:186:in
468
+ `block in execute''"},{"id":9,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:579:in
469
+ `block (2 levels) in log''"},{"id":10,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
470
+ `mon_synchronize''"},{"id":11,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:578:in
471
+ `block in log''"},{"id":12,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
472
+ `instrument''"},{"id":13,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:569:in
473
+ `log''"},{"id":14,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:185:in
474
+ `execute''"},{"id":15,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:28:in
475
+ `execute''"},{"id":16,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:196:in
476
+ `execute_and_free''"},{"id":17,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:33:in
477
+ `exec_query''"},{"id":18,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:117:in
478
+ `exec_insert''"},{"id":19,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:149:in
479
+ `insert''"},{"id":20,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:21:in
480
+ `insert''"},{"id":21,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:187:in
481
+ `_insert_record''"},{"id":22,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:733:in
482
+ `_create_record''"},{"id":23,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/counter_cache.rb:180:in
483
+ `_create_record''"},{"id":24,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/locking/optimistic.rb:70:in
484
+ `_create_record''"},{"id":25,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/attribute_methods/dirty.rb:137:in
485
+ `_create_record''"},{"id":26,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:342:in
486
+ `block in _create_record''"},{"id":27,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
487
+ `run_callbacks''"},{"id":28,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
488
+ `run_callbacks''"},{"id":29,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
489
+ `_run_create_callbacks''"},{"id":30,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:342:in
490
+ `_create_record''"},{"id":31,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/timestamp.rb:95:in
491
+ `_create_record''"},{"id":32,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:704:in
492
+ `create_or_update''"},{"id":33,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
493
+ `block in create_or_update''"},{"id":34,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
494
+ `run_callbacks''"},{"id":35,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
495
+ `run_callbacks''"},{"id":36,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
496
+ `_run_save_callbacks''"},{"id":37,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
497
+ `create_or_update''"},{"id":38,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:275:in
498
+ `save''"},{"id":39,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/validations.rb:46:in
499
+ `save''"},{"id":40,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
500
+ `block (2 levels) in save''"},{"id":41,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
501
+ `block in with_transaction_returning_status''"},{"id":42,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:252:in
502
+ `transaction''"},{"id":43,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
503
+ `transaction''"},{"id":44,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
504
+ `with_transaction_returning_status''"},{"id":45,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
505
+ `block in save''"},{"id":46,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:325:in
506
+ `rollback_active_record_state!''"},{"id":47,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:309:in
507
+ `save''"},{"id":48,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/suppressor.rb:44:in
508
+ `save''"},{"id":49,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:428:in
509
+ `block in update''"},{"id":50,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
510
+ `block in with_transaction_returning_status''"},{"id":51,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
511
+ `block in transaction''"},{"id":52,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:230:in
512
+ `block in within_new_transaction''"},{"id":53,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
513
+ `mon_synchronize''"},{"id":54,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:227:in
514
+ `within_new_transaction''"},{"id":55,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
515
+ `transaction''"},{"id":56,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
516
+ `transaction''"},{"id":57,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
517
+ `with_transaction_returning_status''"},{"id":58,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:426:in
518
+ `update''"},{"id":59,"trace":"app/controllers/events_controller.rb:30:in `update''"},{"id":60,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/basic_implicit_render.rb:6:in
519
+ `send_action''"},{"id":61,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:194:in
520
+ `process_action''"},{"id":62,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rendering.rb:30:in
521
+ `process_action''"},{"id":63,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:42:in
522
+ `block in process_action''"},{"id":64,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
523
+ `run_callbacks''"},{"id":65,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:41:in
524
+ `process_action''"},{"id":66,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rescue.rb:22:in
525
+ `process_action''"},{"id":67,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:34:in
526
+ `block in process_action''"},{"id":68,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
527
+ `block in instrument''"},{"id":69,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
528
+ `instrument''"},{"id":70,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
529
+ `instrument''"},{"id":71,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:32:in
530
+ `process_action''"},{"id":72,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/params_wrapper.rb:256:in
531
+ `process_action''"},{"id":73,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/railties/controller_runtime.rb:24:in
532
+ `process_action''"},{"id":74,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:134:in
533
+ `process''"},{"id":75,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:191:in
534
+ `dispatch''"},{"id":76,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:252:in
535
+ `dispatch''"},{"id":77,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:52:in
536
+ `dispatch''"},{"id":78,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:34:in
537
+ `serve''"},{"id":79,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:52:in
538
+ `block in serve''"},{"id":80,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
539
+ `each''"},{"id":81,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
540
+ `serve''"},{"id":82,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:840:in
541
+ `call''"},{"id":83,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/deflater.rb:34:in
542
+ `call''"},{"id":84,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/etag.rb:25:in
543
+ `call''"},{"id":85,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/conditional_get.rb:38:in
544
+ `call''"},{"id":86,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/head.rb:12:in
545
+ `call''"},{"id":87,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:559:in
546
+ `call''"},{"id":88,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:28:in
547
+ `block in call''"},{"id":89,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
548
+ `run_callbacks''"},{"id":90,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:26:in
549
+ `call''"},{"id":91,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
550
+ `call''"},{"id":92,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rack.rb:46:in
551
+ `call''"},{"id":93,"trace":"vendor/bundle/ruby/2.4.0/gems/better_errors-2.4.0/lib/better_errors/middleware.rb:59:in
552
+ `call''"},{"id":94,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/debug_exceptions.rb:61:in
553
+ `call''"},{"id":95,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/show_exceptions.rb:33:in
554
+ `call''"},{"id":96,"trace":"vendor/bundle/ruby/2.4.0/gems/lograge-0.10.0/lib/lograge/rails_ext/rack/logger.rb:15:in
555
+ `call_app''"},{"id":97,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
556
+ `block in call''"},{"id":98,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
557
+ `block in tagged''"},{"id":99,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:28:in
558
+ `tagged''"},{"id":100,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
559
+ `tagged''"},{"id":101,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
560
+ `call''"},{"id":102,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/remote_ip.rb:81:in
561
+ `call''"},{"id":103,"trace":"vendor/bundle/ruby/2.4.0/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:in
562
+ `call''"},{"id":104,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/request_id.rb:27:in
563
+ `call''"},{"id":105,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/runtime.rb:22:in
564
+ `call''"},{"id":106,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in
565
+ `call''"},{"id":107,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
566
+ `call''"},{"id":108,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/static.rb:127:in
567
+ `call''"},{"id":109,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/sendfile.rb:111:in
568
+ `call''"},{"id":110,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:111:in
569
+ `process_request''"},{"id":111,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:81:in
570
+ `call''"},{"id":112,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-cors-1.0.2/lib/rack/cors.rb:97:in
571
+ `call''"},{"id":113,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/engine.rb:524:in
572
+ `call''"},{"id":114,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in
573
+ `process_request''"},{"id":115,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:157:in
574
+ `accept_and_process_next_request''"},{"id":116,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in
575
+ `main_loop''"},{"id":117,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in
576
+ `block (3 levels) in start_threads''"},{"id":118,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in
577
+ `block in create_thread_and_abort_on_exception''"}]}}'
99
578
  http_version:
100
- recorded_at: Mon, 07 May 2018 15:07:44 GMT
579
+ recorded_at: Thu, 17 May 2018 13:47:06 GMT
101
580
  - request:
102
- method: post
103
- uri: https://api.test.datacite.org/events
581
+ method: put
582
+ uri: https://api.test.datacite.org/events/054da0ad-9821-492e-877e-5c3adbfd5ccf
104
583
  body:
105
584
  encoding: UTF-8
106
- string: '{"data":{"id":"054da0ad-9821-492e-877e-5c3adbfd5ccf","type":"events","attributes":{"message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":254,"obj-id":"https://doi.org/10.6071/z7wc73","relation-type-id":"Total-Dataset-Requests-Machine","source-id":"datacite","source-token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred-at":"2128-04-09","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
585
+ string: '{"data":{"id":"054da0ad-9821-492e-877e-5c3adbfd5ccf","type":"events","attributes":{"uuid":"054da0ad-9821-492e-877e-5c3adbfd5ccf","message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":254,"obj-id":"https://doi.org/10.6071/z7wc73","relation-type-id":"Total-Dataset-Requests-Machine","source-id":"datacite","source-token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred-at":"2128-04-09","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
107
586
  headers:
108
587
  User-Agent:
109
588
  - Maremma - https://github.com/datacite/maremma
@@ -115,44 +594,287 @@ http_interactions:
115
594
  - Bearer <LAGOTTO_TOKEN>
116
595
  response:
117
596
  status:
118
- code: 201
597
+ code: 500
119
598
  message: ''
120
599
  headers:
121
600
  Date:
122
- - Mon, 07 May 2018 15:07:44 GMT
601
+ - Thu, 17 May 2018 13:47:06 GMT
123
602
  Content-Type:
124
- - application/json; charset=utf-8
603
+ - application/json; charset=UTF-8
604
+ Content-Length:
605
+ - '31529'
125
606
  Connection:
126
607
  - keep-alive
127
608
  Status:
128
- - 201 Created
129
- Cache-Control:
130
- - max-age=0, private, must-revalidate
609
+ - 500 Internal Server Error
131
610
  Vary:
132
- - Accept-Encoding, Origin
133
- Etag:
134
- - W/"eaeed9bb6d073a58a924ddd3b211e489"
611
+ - Origin
135
612
  X-Runtime:
136
- - '0.010635'
137
- X-Credential-Username:
138
- - 0000-0001-5489-3594
613
+ - '0.096308'
139
614
  X-Request-Id:
140
- - 27f7c58e-16c1-4a1d-a873-2f7561eb44c6
615
+ - d3ca28ed-45a3-4351-bb3c-f743ffa4a1af
141
616
  X-Powered-By:
142
- - Phusion Passenger 5.2.3
617
+ - Phusion Passenger 5.3.1
143
618
  Server:
144
- - nginx/1.12.2 + Phusion Passenger 5.2.3
619
+ - nginx/1.14.0 + Phusion Passenger 5.3.1
145
620
  body:
146
621
  encoding: UTF-8
147
- string: '{"data":{"id":"f441aaf4-4e78-4de8-9461-98c67ffc524e","type":"events","attributes":{"subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","obj-id":"https://doi.org/10.6071/z7wc73","message-action":"add","source-token":"28276d12-b320-41ba-9272-bb0adc3466ff","relation-type-id":"Total-Dataset-Requests-Machine","source-id":"datacite","total":254,"license":"https://creativecommons.org/publicdomain/zero/1.0/","occurred-at":"2128-04-09T00:00:00.000Z","timestamp":"2018-05-07T15:07:44Z","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"obj":{}}}}'
622
+ string: '{"status":500,"error":"Internal Server Error","exception":"#\u003cActiveRecord::RecordNotUnique:
623
+ Mysql2::Error: Duplicate entry ''https://metrics.test.datacite.org/reports/2018-3-Dash-https://do''
624
+ for key ''index_events_on_multiple_columns'': INSERT INTO `events` (`uuid`,
625
+ `subj_id`, `obj_id`, `source_id`, `aasm_state`, `source_token`, `created_at`,
626
+ `updated_at`, `occurred_at`, `relation_type_id`, `subj`, `obj`, `total`, `license`)
627
+ VALUES (''054da0ad-9821-492e-877e-5c3adbfd5ccf'', ''https://metrics.test.datacite.org/reports/2018-3-Dash'',
628
+ ''https://doi.org/10.6071/z7wc73'', ''datacite'', ''waiting'', ''28276d12-b320-41ba-9272-bb0adc3466ff'',
629
+ ''2018-05-17 13:47:06'', ''2018-05-17 13:47:06'', ''2128-04-09 00:00:00'',
630
+ ''Total-Dataset-Requests-Machine'', ''{\\\"pid\\\":\\\"https://metrics.test.datacite.org/reports/2018-3-Dash\\\",\\\"issued\\\":\\\"2128-04-09\\\"}'',
631
+ ''{}'', 254, ''https://creativecommons.org/publicdomain/zero/1.0/'')\u003e","traces":{"Application
632
+ Trace":[{"id":59,"trace":"app/controllers/events_controller.rb:30:in `update''"}],"Framework
633
+ Trace":[{"id":0,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
634
+ `_query''"},{"id":1,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
635
+ `block in query''"},{"id":2,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
636
+ `handle_interrupt''"},{"id":3,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
637
+ `query''"},{"id":4,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:187:in
638
+ `block (2 levels) in execute''"},{"id":5,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:48:in
639
+ `block in permit_concurrent_loads''"},{"id":6,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/concurrency/share_lock.rb:187:in
640
+ `yield_shares''"},{"id":7,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:47:in
641
+ `permit_concurrent_loads''"},{"id":8,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:186:in
642
+ `block in execute''"},{"id":9,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:579:in
643
+ `block (2 levels) in log''"},{"id":10,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
644
+ `mon_synchronize''"},{"id":11,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:578:in
645
+ `block in log''"},{"id":12,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
646
+ `instrument''"},{"id":13,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:569:in
647
+ `log''"},{"id":14,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:185:in
648
+ `execute''"},{"id":15,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:28:in
649
+ `execute''"},{"id":16,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:196:in
650
+ `execute_and_free''"},{"id":17,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:33:in
651
+ `exec_query''"},{"id":18,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:117:in
652
+ `exec_insert''"},{"id":19,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:149:in
653
+ `insert''"},{"id":20,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:21:in
654
+ `insert''"},{"id":21,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:187:in
655
+ `_insert_record''"},{"id":22,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:733:in
656
+ `_create_record''"},{"id":23,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/counter_cache.rb:180:in
657
+ `_create_record''"},{"id":24,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/locking/optimistic.rb:70:in
658
+ `_create_record''"},{"id":25,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/attribute_methods/dirty.rb:137:in
659
+ `_create_record''"},{"id":26,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:342:in
660
+ `block in _create_record''"},{"id":27,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
661
+ `run_callbacks''"},{"id":28,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
662
+ `run_callbacks''"},{"id":29,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
663
+ `_run_create_callbacks''"},{"id":30,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:342:in
664
+ `_create_record''"},{"id":31,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/timestamp.rb:95:in
665
+ `_create_record''"},{"id":32,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:704:in
666
+ `create_or_update''"},{"id":33,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
667
+ `block in create_or_update''"},{"id":34,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
668
+ `run_callbacks''"},{"id":35,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
669
+ `run_callbacks''"},{"id":36,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
670
+ `_run_save_callbacks''"},{"id":37,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
671
+ `create_or_update''"},{"id":38,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:275:in
672
+ `save''"},{"id":39,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/validations.rb:46:in
673
+ `save''"},{"id":40,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
674
+ `block (2 levels) in save''"},{"id":41,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
675
+ `block in with_transaction_returning_status''"},{"id":42,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:252:in
676
+ `transaction''"},{"id":43,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
677
+ `transaction''"},{"id":44,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
678
+ `with_transaction_returning_status''"},{"id":45,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
679
+ `block in save''"},{"id":46,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:325:in
680
+ `rollback_active_record_state!''"},{"id":47,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:309:in
681
+ `save''"},{"id":48,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/suppressor.rb:44:in
682
+ `save''"},{"id":49,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:428:in
683
+ `block in update''"},{"id":50,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
684
+ `block in with_transaction_returning_status''"},{"id":51,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
685
+ `block in transaction''"},{"id":52,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:230:in
686
+ `block in within_new_transaction''"},{"id":53,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
687
+ `mon_synchronize''"},{"id":54,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:227:in
688
+ `within_new_transaction''"},{"id":55,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
689
+ `transaction''"},{"id":56,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
690
+ `transaction''"},{"id":57,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
691
+ `with_transaction_returning_status''"},{"id":58,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:426:in
692
+ `update''"},{"id":60,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/basic_implicit_render.rb:6:in
693
+ `send_action''"},{"id":61,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:194:in
694
+ `process_action''"},{"id":62,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rendering.rb:30:in
695
+ `process_action''"},{"id":63,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:42:in
696
+ `block in process_action''"},{"id":64,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
697
+ `run_callbacks''"},{"id":65,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:41:in
698
+ `process_action''"},{"id":66,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rescue.rb:22:in
699
+ `process_action''"},{"id":67,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:34:in
700
+ `block in process_action''"},{"id":68,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
701
+ `block in instrument''"},{"id":69,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
702
+ `instrument''"},{"id":70,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
703
+ `instrument''"},{"id":71,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:32:in
704
+ `process_action''"},{"id":72,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/params_wrapper.rb:256:in
705
+ `process_action''"},{"id":73,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/railties/controller_runtime.rb:24:in
706
+ `process_action''"},{"id":74,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:134:in
707
+ `process''"},{"id":75,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:191:in
708
+ `dispatch''"},{"id":76,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:252:in
709
+ `dispatch''"},{"id":77,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:52:in
710
+ `dispatch''"},{"id":78,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:34:in
711
+ `serve''"},{"id":79,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:52:in
712
+ `block in serve''"},{"id":80,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
713
+ `each''"},{"id":81,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
714
+ `serve''"},{"id":82,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:840:in
715
+ `call''"},{"id":83,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/deflater.rb:34:in
716
+ `call''"},{"id":84,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/etag.rb:25:in
717
+ `call''"},{"id":85,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/conditional_get.rb:38:in
718
+ `call''"},{"id":86,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/head.rb:12:in
719
+ `call''"},{"id":87,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:559:in
720
+ `call''"},{"id":88,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:28:in
721
+ `block in call''"},{"id":89,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
722
+ `run_callbacks''"},{"id":90,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:26:in
723
+ `call''"},{"id":91,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
724
+ `call''"},{"id":92,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rack.rb:46:in
725
+ `call''"},{"id":93,"trace":"vendor/bundle/ruby/2.4.0/gems/better_errors-2.4.0/lib/better_errors/middleware.rb:59:in
726
+ `call''"},{"id":94,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/debug_exceptions.rb:61:in
727
+ `call''"},{"id":95,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/show_exceptions.rb:33:in
728
+ `call''"},{"id":96,"trace":"vendor/bundle/ruby/2.4.0/gems/lograge-0.10.0/lib/lograge/rails_ext/rack/logger.rb:15:in
729
+ `call_app''"},{"id":97,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
730
+ `block in call''"},{"id":98,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
731
+ `block in tagged''"},{"id":99,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:28:in
732
+ `tagged''"},{"id":100,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
733
+ `tagged''"},{"id":101,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
734
+ `call''"},{"id":102,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/remote_ip.rb:81:in
735
+ `call''"},{"id":103,"trace":"vendor/bundle/ruby/2.4.0/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:in
736
+ `call''"},{"id":104,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/request_id.rb:27:in
737
+ `call''"},{"id":105,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/runtime.rb:22:in
738
+ `call''"},{"id":106,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in
739
+ `call''"},{"id":107,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
740
+ `call''"},{"id":108,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/static.rb:127:in
741
+ `call''"},{"id":109,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/sendfile.rb:111:in
742
+ `call''"},{"id":110,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:111:in
743
+ `process_request''"},{"id":111,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:81:in
744
+ `call''"},{"id":112,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-cors-1.0.2/lib/rack/cors.rb:97:in
745
+ `call''"},{"id":113,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/engine.rb:524:in
746
+ `call''"},{"id":114,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in
747
+ `process_request''"},{"id":115,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:157:in
748
+ `accept_and_process_next_request''"},{"id":116,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in
749
+ `main_loop''"},{"id":117,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in
750
+ `block (3 levels) in start_threads''"},{"id":118,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in
751
+ `block in create_thread_and_abort_on_exception''"}],"Full Trace":[{"id":0,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
752
+ `_query''"},{"id":1,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
753
+ `block in query''"},{"id":2,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
754
+ `handle_interrupt''"},{"id":3,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
755
+ `query''"},{"id":4,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:187:in
756
+ `block (2 levels) in execute''"},{"id":5,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:48:in
757
+ `block in permit_concurrent_loads''"},{"id":6,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/concurrency/share_lock.rb:187:in
758
+ `yield_shares''"},{"id":7,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:47:in
759
+ `permit_concurrent_loads''"},{"id":8,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:186:in
760
+ `block in execute''"},{"id":9,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:579:in
761
+ `block (2 levels) in log''"},{"id":10,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
762
+ `mon_synchronize''"},{"id":11,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:578:in
763
+ `block in log''"},{"id":12,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
764
+ `instrument''"},{"id":13,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:569:in
765
+ `log''"},{"id":14,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:185:in
766
+ `execute''"},{"id":15,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:28:in
767
+ `execute''"},{"id":16,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:196:in
768
+ `execute_and_free''"},{"id":17,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:33:in
769
+ `exec_query''"},{"id":18,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:117:in
770
+ `exec_insert''"},{"id":19,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:149:in
771
+ `insert''"},{"id":20,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:21:in
772
+ `insert''"},{"id":21,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:187:in
773
+ `_insert_record''"},{"id":22,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:733:in
774
+ `_create_record''"},{"id":23,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/counter_cache.rb:180:in
775
+ `_create_record''"},{"id":24,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/locking/optimistic.rb:70:in
776
+ `_create_record''"},{"id":25,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/attribute_methods/dirty.rb:137:in
777
+ `_create_record''"},{"id":26,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:342:in
778
+ `block in _create_record''"},{"id":27,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
779
+ `run_callbacks''"},{"id":28,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
780
+ `run_callbacks''"},{"id":29,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
781
+ `_run_create_callbacks''"},{"id":30,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:342:in
782
+ `_create_record''"},{"id":31,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/timestamp.rb:95:in
783
+ `_create_record''"},{"id":32,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:704:in
784
+ `create_or_update''"},{"id":33,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
785
+ `block in create_or_update''"},{"id":34,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
786
+ `run_callbacks''"},{"id":35,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
787
+ `run_callbacks''"},{"id":36,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
788
+ `_run_save_callbacks''"},{"id":37,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
789
+ `create_or_update''"},{"id":38,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:275:in
790
+ `save''"},{"id":39,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/validations.rb:46:in
791
+ `save''"},{"id":40,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
792
+ `block (2 levels) in save''"},{"id":41,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
793
+ `block in with_transaction_returning_status''"},{"id":42,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:252:in
794
+ `transaction''"},{"id":43,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
795
+ `transaction''"},{"id":44,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
796
+ `with_transaction_returning_status''"},{"id":45,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
797
+ `block in save''"},{"id":46,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:325:in
798
+ `rollback_active_record_state!''"},{"id":47,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:309:in
799
+ `save''"},{"id":48,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/suppressor.rb:44:in
800
+ `save''"},{"id":49,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:428:in
801
+ `block in update''"},{"id":50,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
802
+ `block in with_transaction_returning_status''"},{"id":51,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
803
+ `block in transaction''"},{"id":52,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:230:in
804
+ `block in within_new_transaction''"},{"id":53,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
805
+ `mon_synchronize''"},{"id":54,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:227:in
806
+ `within_new_transaction''"},{"id":55,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
807
+ `transaction''"},{"id":56,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
808
+ `transaction''"},{"id":57,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
809
+ `with_transaction_returning_status''"},{"id":58,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:426:in
810
+ `update''"},{"id":59,"trace":"app/controllers/events_controller.rb:30:in `update''"},{"id":60,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/basic_implicit_render.rb:6:in
811
+ `send_action''"},{"id":61,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:194:in
812
+ `process_action''"},{"id":62,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rendering.rb:30:in
813
+ `process_action''"},{"id":63,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:42:in
814
+ `block in process_action''"},{"id":64,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
815
+ `run_callbacks''"},{"id":65,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:41:in
816
+ `process_action''"},{"id":66,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rescue.rb:22:in
817
+ `process_action''"},{"id":67,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:34:in
818
+ `block in process_action''"},{"id":68,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
819
+ `block in instrument''"},{"id":69,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
820
+ `instrument''"},{"id":70,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
821
+ `instrument''"},{"id":71,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:32:in
822
+ `process_action''"},{"id":72,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/params_wrapper.rb:256:in
823
+ `process_action''"},{"id":73,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/railties/controller_runtime.rb:24:in
824
+ `process_action''"},{"id":74,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:134:in
825
+ `process''"},{"id":75,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:191:in
826
+ `dispatch''"},{"id":76,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:252:in
827
+ `dispatch''"},{"id":77,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:52:in
828
+ `dispatch''"},{"id":78,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:34:in
829
+ `serve''"},{"id":79,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:52:in
830
+ `block in serve''"},{"id":80,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
831
+ `each''"},{"id":81,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
832
+ `serve''"},{"id":82,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:840:in
833
+ `call''"},{"id":83,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/deflater.rb:34:in
834
+ `call''"},{"id":84,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/etag.rb:25:in
835
+ `call''"},{"id":85,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/conditional_get.rb:38:in
836
+ `call''"},{"id":86,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/head.rb:12:in
837
+ `call''"},{"id":87,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:559:in
838
+ `call''"},{"id":88,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:28:in
839
+ `block in call''"},{"id":89,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
840
+ `run_callbacks''"},{"id":90,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:26:in
841
+ `call''"},{"id":91,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
842
+ `call''"},{"id":92,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rack.rb:46:in
843
+ `call''"},{"id":93,"trace":"vendor/bundle/ruby/2.4.0/gems/better_errors-2.4.0/lib/better_errors/middleware.rb:59:in
844
+ `call''"},{"id":94,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/debug_exceptions.rb:61:in
845
+ `call''"},{"id":95,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/show_exceptions.rb:33:in
846
+ `call''"},{"id":96,"trace":"vendor/bundle/ruby/2.4.0/gems/lograge-0.10.0/lib/lograge/rails_ext/rack/logger.rb:15:in
847
+ `call_app''"},{"id":97,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
848
+ `block in call''"},{"id":98,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
849
+ `block in tagged''"},{"id":99,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:28:in
850
+ `tagged''"},{"id":100,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
851
+ `tagged''"},{"id":101,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
852
+ `call''"},{"id":102,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/remote_ip.rb:81:in
853
+ `call''"},{"id":103,"trace":"vendor/bundle/ruby/2.4.0/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:in
854
+ `call''"},{"id":104,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/request_id.rb:27:in
855
+ `call''"},{"id":105,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/runtime.rb:22:in
856
+ `call''"},{"id":106,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in
857
+ `call''"},{"id":107,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
858
+ `call''"},{"id":108,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/static.rb:127:in
859
+ `call''"},{"id":109,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/sendfile.rb:111:in
860
+ `call''"},{"id":110,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:111:in
861
+ `process_request''"},{"id":111,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:81:in
862
+ `call''"},{"id":112,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-cors-1.0.2/lib/rack/cors.rb:97:in
863
+ `call''"},{"id":113,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/engine.rb:524:in
864
+ `call''"},{"id":114,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in
865
+ `process_request''"},{"id":115,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:157:in
866
+ `accept_and_process_next_request''"},{"id":116,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in
867
+ `main_loop''"},{"id":117,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in
868
+ `block (3 levels) in start_threads''"},{"id":118,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in
869
+ `block in create_thread_and_abort_on_exception''"}]}}'
148
870
  http_version:
149
- recorded_at: Mon, 07 May 2018 15:07:44 GMT
871
+ recorded_at: Thu, 17 May 2018 13:47:06 GMT
150
872
  - request:
151
- method: post
152
- uri: https://api.test.datacite.org/events
873
+ method: put
874
+ uri: https://api.test.datacite.org/events/6d6fd620-2123-42da-91f3-6c02e63f3cec
153
875
  body:
154
876
  encoding: UTF-8
155
- string: '{"data":{"id":"6d6fd620-2123-42da-91f3-6c02e63f3cec","type":"events","attributes":{"message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":208,"obj-id":"https://doi.org/10.6071/z7wc73","relation-type-id":"Unique-Dataset-Requests-Machine","source-id":"datacite","source-token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred-at":"2128-04-09","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
877
+ string: '{"data":{"id":"6d6fd620-2123-42da-91f3-6c02e63f3cec","type":"events","attributes":{"uuid":"6d6fd620-2123-42da-91f3-6c02e63f3cec","message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":208,"obj-id":"https://doi.org/10.6071/z7wc73","relation-type-id":"Unique-Dataset-Requests-Machine","source-id":"datacite","source-token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred-at":"2128-04-09","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
156
878
  headers:
157
879
  User-Agent:
158
880
  - Maremma - https://github.com/datacite/maremma
@@ -164,36 +886,279 @@ http_interactions:
164
886
  - Bearer <LAGOTTO_TOKEN>
165
887
  response:
166
888
  status:
167
- code: 201
889
+ code: 500
168
890
  message: ''
169
891
  headers:
170
892
  Date:
171
- - Mon, 07 May 2018 15:07:45 GMT
893
+ - Thu, 17 May 2018 13:47:07 GMT
172
894
  Content-Type:
173
- - application/json; charset=utf-8
895
+ - application/json; charset=UTF-8
896
+ Content-Length:
897
+ - '31530'
174
898
  Connection:
175
899
  - keep-alive
176
900
  Status:
177
- - 201 Created
178
- Cache-Control:
179
- - max-age=0, private, must-revalidate
901
+ - 500 Internal Server Error
180
902
  Vary:
181
- - Accept-Encoding, Origin
182
- Etag:
183
- - W/"cb58adc778b81c34b739145921caaf48"
903
+ - Origin
184
904
  X-Runtime:
185
- - '0.011676'
186
- X-Credential-Username:
187
- - 0000-0001-5489-3594
905
+ - '0.093865'
188
906
  X-Request-Id:
189
- - c46bfedb-ce4d-45f0-8bf6-f4023659cbab
907
+ - 75b7ad78-2462-4ca9-bc95-892c670958b1
190
908
  X-Powered-By:
191
- - Phusion Passenger 5.2.3
909
+ - Phusion Passenger 5.3.1
192
910
  Server:
193
- - nginx/1.12.2 + Phusion Passenger 5.2.3
911
+ - nginx/1.14.0 + Phusion Passenger 5.3.1
194
912
  body:
195
913
  encoding: UTF-8
196
- string: '{"data":{"id":"c3c56526-2db8-4082-be25-5a7f3f1396d7","type":"events","attributes":{"subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","obj-id":"https://doi.org/10.6071/z7wc73","message-action":"add","source-token":"28276d12-b320-41ba-9272-bb0adc3466ff","relation-type-id":"Unique-Dataset-Requests-Machine","source-id":"datacite","total":208,"license":"https://creativecommons.org/publicdomain/zero/1.0/","occurred-at":"2128-04-09T00:00:00.000Z","timestamp":"2018-05-07T15:07:45Z","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"obj":{}}}}'
914
+ string: '{"status":500,"error":"Internal Server Error","exception":"#\u003cActiveRecord::RecordNotUnique:
915
+ Mysql2::Error: Duplicate entry ''https://metrics.test.datacite.org/reports/2018-3-Dash-https://do''
916
+ for key ''index_events_on_multiple_columns'': INSERT INTO `events` (`uuid`,
917
+ `subj_id`, `obj_id`, `source_id`, `aasm_state`, `source_token`, `created_at`,
918
+ `updated_at`, `occurred_at`, `relation_type_id`, `subj`, `obj`, `total`, `license`)
919
+ VALUES (''6d6fd620-2123-42da-91f3-6c02e63f3cec'', ''https://metrics.test.datacite.org/reports/2018-3-Dash'',
920
+ ''https://doi.org/10.6071/z7wc73'', ''datacite'', ''waiting'', ''28276d12-b320-41ba-9272-bb0adc3466ff'',
921
+ ''2018-05-17 13:47:07'', ''2018-05-17 13:47:07'', ''2128-04-09 00:00:00'',
922
+ ''Unique-Dataset-Requests-Machine'', ''{\\\"pid\\\":\\\"https://metrics.test.datacite.org/reports/2018-3-Dash\\\",\\\"issued\\\":\\\"2128-04-09\\\"}'',
923
+ ''{}'', 208, ''https://creativecommons.org/publicdomain/zero/1.0/'')\u003e","traces":{"Application
924
+ Trace":[{"id":59,"trace":"app/controllers/events_controller.rb:30:in `update''"}],"Framework
925
+ Trace":[{"id":0,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
926
+ `_query''"},{"id":1,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
927
+ `block in query''"},{"id":2,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
928
+ `handle_interrupt''"},{"id":3,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
929
+ `query''"},{"id":4,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:187:in
930
+ `block (2 levels) in execute''"},{"id":5,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:48:in
931
+ `block in permit_concurrent_loads''"},{"id":6,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/concurrency/share_lock.rb:187:in
932
+ `yield_shares''"},{"id":7,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:47:in
933
+ `permit_concurrent_loads''"},{"id":8,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:186:in
934
+ `block in execute''"},{"id":9,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:579:in
935
+ `block (2 levels) in log''"},{"id":10,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
936
+ `mon_synchronize''"},{"id":11,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:578:in
937
+ `block in log''"},{"id":12,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
938
+ `instrument''"},{"id":13,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:569:in
939
+ `log''"},{"id":14,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:185:in
940
+ `execute''"},{"id":15,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:28:in
941
+ `execute''"},{"id":16,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:196:in
942
+ `execute_and_free''"},{"id":17,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:33:in
943
+ `exec_query''"},{"id":18,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:117:in
944
+ `exec_insert''"},{"id":19,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:149:in
945
+ `insert''"},{"id":20,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:21:in
946
+ `insert''"},{"id":21,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:187:in
947
+ `_insert_record''"},{"id":22,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:733:in
948
+ `_create_record''"},{"id":23,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/counter_cache.rb:180:in
949
+ `_create_record''"},{"id":24,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/locking/optimistic.rb:70:in
950
+ `_create_record''"},{"id":25,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/attribute_methods/dirty.rb:137:in
951
+ `_create_record''"},{"id":26,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:342:in
952
+ `block in _create_record''"},{"id":27,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
953
+ `run_callbacks''"},{"id":28,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
954
+ `run_callbacks''"},{"id":29,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
955
+ `_run_create_callbacks''"},{"id":30,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:342:in
956
+ `_create_record''"},{"id":31,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/timestamp.rb:95:in
957
+ `_create_record''"},{"id":32,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:704:in
958
+ `create_or_update''"},{"id":33,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
959
+ `block in create_or_update''"},{"id":34,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
960
+ `run_callbacks''"},{"id":35,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
961
+ `run_callbacks''"},{"id":36,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
962
+ `_run_save_callbacks''"},{"id":37,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
963
+ `create_or_update''"},{"id":38,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:275:in
964
+ `save''"},{"id":39,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/validations.rb:46:in
965
+ `save''"},{"id":40,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
966
+ `block (2 levels) in save''"},{"id":41,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
967
+ `block in with_transaction_returning_status''"},{"id":42,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:252:in
968
+ `transaction''"},{"id":43,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
969
+ `transaction''"},{"id":44,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
970
+ `with_transaction_returning_status''"},{"id":45,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
971
+ `block in save''"},{"id":46,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:325:in
972
+ `rollback_active_record_state!''"},{"id":47,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:309:in
973
+ `save''"},{"id":48,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/suppressor.rb:44:in
974
+ `save''"},{"id":49,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:428:in
975
+ `block in update''"},{"id":50,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
976
+ `block in with_transaction_returning_status''"},{"id":51,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
977
+ `block in transaction''"},{"id":52,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:230:in
978
+ `block in within_new_transaction''"},{"id":53,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
979
+ `mon_synchronize''"},{"id":54,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:227:in
980
+ `within_new_transaction''"},{"id":55,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
981
+ `transaction''"},{"id":56,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
982
+ `transaction''"},{"id":57,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
983
+ `with_transaction_returning_status''"},{"id":58,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:426:in
984
+ `update''"},{"id":60,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/basic_implicit_render.rb:6:in
985
+ `send_action''"},{"id":61,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:194:in
986
+ `process_action''"},{"id":62,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rendering.rb:30:in
987
+ `process_action''"},{"id":63,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:42:in
988
+ `block in process_action''"},{"id":64,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
989
+ `run_callbacks''"},{"id":65,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:41:in
990
+ `process_action''"},{"id":66,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rescue.rb:22:in
991
+ `process_action''"},{"id":67,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:34:in
992
+ `block in process_action''"},{"id":68,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
993
+ `block in instrument''"},{"id":69,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
994
+ `instrument''"},{"id":70,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
995
+ `instrument''"},{"id":71,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:32:in
996
+ `process_action''"},{"id":72,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/params_wrapper.rb:256:in
997
+ `process_action''"},{"id":73,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/railties/controller_runtime.rb:24:in
998
+ `process_action''"},{"id":74,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:134:in
999
+ `process''"},{"id":75,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:191:in
1000
+ `dispatch''"},{"id":76,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:252:in
1001
+ `dispatch''"},{"id":77,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:52:in
1002
+ `dispatch''"},{"id":78,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:34:in
1003
+ `serve''"},{"id":79,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:52:in
1004
+ `block in serve''"},{"id":80,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
1005
+ `each''"},{"id":81,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
1006
+ `serve''"},{"id":82,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:840:in
1007
+ `call''"},{"id":83,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/deflater.rb:34:in
1008
+ `call''"},{"id":84,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/etag.rb:25:in
1009
+ `call''"},{"id":85,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/conditional_get.rb:38:in
1010
+ `call''"},{"id":86,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/head.rb:12:in
1011
+ `call''"},{"id":87,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:559:in
1012
+ `call''"},{"id":88,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:28:in
1013
+ `block in call''"},{"id":89,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
1014
+ `run_callbacks''"},{"id":90,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:26:in
1015
+ `call''"},{"id":91,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
1016
+ `call''"},{"id":92,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rack.rb:46:in
1017
+ `call''"},{"id":93,"trace":"vendor/bundle/ruby/2.4.0/gems/better_errors-2.4.0/lib/better_errors/middleware.rb:59:in
1018
+ `call''"},{"id":94,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/debug_exceptions.rb:61:in
1019
+ `call''"},{"id":95,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/show_exceptions.rb:33:in
1020
+ `call''"},{"id":96,"trace":"vendor/bundle/ruby/2.4.0/gems/lograge-0.10.0/lib/lograge/rails_ext/rack/logger.rb:15:in
1021
+ `call_app''"},{"id":97,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
1022
+ `block in call''"},{"id":98,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
1023
+ `block in tagged''"},{"id":99,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:28:in
1024
+ `tagged''"},{"id":100,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
1025
+ `tagged''"},{"id":101,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
1026
+ `call''"},{"id":102,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/remote_ip.rb:81:in
1027
+ `call''"},{"id":103,"trace":"vendor/bundle/ruby/2.4.0/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:in
1028
+ `call''"},{"id":104,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/request_id.rb:27:in
1029
+ `call''"},{"id":105,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/runtime.rb:22:in
1030
+ `call''"},{"id":106,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in
1031
+ `call''"},{"id":107,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
1032
+ `call''"},{"id":108,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/static.rb:127:in
1033
+ `call''"},{"id":109,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/sendfile.rb:111:in
1034
+ `call''"},{"id":110,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:111:in
1035
+ `process_request''"},{"id":111,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:81:in
1036
+ `call''"},{"id":112,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-cors-1.0.2/lib/rack/cors.rb:97:in
1037
+ `call''"},{"id":113,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/engine.rb:524:in
1038
+ `call''"},{"id":114,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in
1039
+ `process_request''"},{"id":115,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:157:in
1040
+ `accept_and_process_next_request''"},{"id":116,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in
1041
+ `main_loop''"},{"id":117,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in
1042
+ `block (3 levels) in start_threads''"},{"id":118,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in
1043
+ `block in create_thread_and_abort_on_exception''"}],"Full Trace":[{"id":0,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
1044
+ `_query''"},{"id":1,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
1045
+ `block in query''"},{"id":2,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
1046
+ `handle_interrupt''"},{"id":3,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:119:in
1047
+ `query''"},{"id":4,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:187:in
1048
+ `block (2 levels) in execute''"},{"id":5,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:48:in
1049
+ `block in permit_concurrent_loads''"},{"id":6,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/concurrency/share_lock.rb:187:in
1050
+ `yield_shares''"},{"id":7,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/dependencies/interlock.rb:47:in
1051
+ `permit_concurrent_loads''"},{"id":8,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:186:in
1052
+ `block in execute''"},{"id":9,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:579:in
1053
+ `block (2 levels) in log''"},{"id":10,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
1054
+ `mon_synchronize''"},{"id":11,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:578:in
1055
+ `block in log''"},{"id":12,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
1056
+ `instrument''"},{"id":13,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:569:in
1057
+ `log''"},{"id":14,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:185:in
1058
+ `execute''"},{"id":15,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:28:in
1059
+ `execute''"},{"id":16,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:196:in
1060
+ `execute_and_free''"},{"id":17,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/mysql/database_statements.rb:33:in
1061
+ `exec_query''"},{"id":18,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:117:in
1062
+ `exec_insert''"},{"id":19,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:149:in
1063
+ `insert''"},{"id":20,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:21:in
1064
+ `insert''"},{"id":21,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:187:in
1065
+ `_insert_record''"},{"id":22,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:733:in
1066
+ `_create_record''"},{"id":23,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/counter_cache.rb:180:in
1067
+ `_create_record''"},{"id":24,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/locking/optimistic.rb:70:in
1068
+ `_create_record''"},{"id":25,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/attribute_methods/dirty.rb:137:in
1069
+ `_create_record''"},{"id":26,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:342:in
1070
+ `block in _create_record''"},{"id":27,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
1071
+ `run_callbacks''"},{"id":28,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
1072
+ `run_callbacks''"},{"id":29,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
1073
+ `_run_create_callbacks''"},{"id":30,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:342:in
1074
+ `_create_record''"},{"id":31,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/timestamp.rb:95:in
1075
+ `_create_record''"},{"id":32,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:704:in
1076
+ `create_or_update''"},{"id":33,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
1077
+ `block in create_or_update''"},{"id":34,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
1078
+ `run_callbacks''"},{"id":35,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rails/active_record_rescue.rb:25:in
1079
+ `run_callbacks''"},{"id":36,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in
1080
+ `_run_save_callbacks''"},{"id":37,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/callbacks.rb:338:in
1081
+ `create_or_update''"},{"id":38,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:275:in
1082
+ `save''"},{"id":39,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/validations.rb:46:in
1083
+ `save''"},{"id":40,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
1084
+ `block (2 levels) in save''"},{"id":41,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
1085
+ `block in with_transaction_returning_status''"},{"id":42,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:252:in
1086
+ `transaction''"},{"id":43,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
1087
+ `transaction''"},{"id":44,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
1088
+ `with_transaction_returning_status''"},{"id":45,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in
1089
+ `block in save''"},{"id":46,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:325:in
1090
+ `rollback_active_record_state!''"},{"id":47,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:309:in
1091
+ `save''"},{"id":48,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/suppressor.rb:44:in
1092
+ `save''"},{"id":49,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:428:in
1093
+ `block in update''"},{"id":50,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in
1094
+ `block in with_transaction_returning_status''"},{"id":51,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
1095
+ `block in transaction''"},{"id":52,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:230:in
1096
+ `block in within_new_transaction''"},{"id":53,"trace":"/usr/local/rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/monitor.rb:214:in
1097
+ `mon_synchronize''"},{"id":54,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:227:in
1098
+ `within_new_transaction''"},{"id":55,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in
1099
+ `transaction''"},{"id":56,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in
1100
+ `transaction''"},{"id":57,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in
1101
+ `with_transaction_returning_status''"},{"id":58,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/persistence.rb:426:in
1102
+ `update''"},{"id":59,"trace":"app/controllers/events_controller.rb:30:in `update''"},{"id":60,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/basic_implicit_render.rb:6:in
1103
+ `send_action''"},{"id":61,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:194:in
1104
+ `process_action''"},{"id":62,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rendering.rb:30:in
1105
+ `process_action''"},{"id":63,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:42:in
1106
+ `block in process_action''"},{"id":64,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in
1107
+ `run_callbacks''"},{"id":65,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:41:in
1108
+ `process_action''"},{"id":66,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/rescue.rb:22:in
1109
+ `process_action''"},{"id":67,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:34:in
1110
+ `block in process_action''"},{"id":68,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
1111
+ `block in instrument''"},{"id":69,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in
1112
+ `instrument''"},{"id":70,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in
1113
+ `instrument''"},{"id":71,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:32:in
1114
+ `process_action''"},{"id":72,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal/params_wrapper.rb:256:in
1115
+ `process_action''"},{"id":73,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/railties/controller_runtime.rb:24:in
1116
+ `process_action''"},{"id":74,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:134:in
1117
+ `process''"},{"id":75,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:191:in
1118
+ `dispatch''"},{"id":76,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_controller/metal.rb:252:in
1119
+ `dispatch''"},{"id":77,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:52:in
1120
+ `dispatch''"},{"id":78,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:34:in
1121
+ `serve''"},{"id":79,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:52:in
1122
+ `block in serve''"},{"id":80,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
1123
+ `each''"},{"id":81,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in
1124
+ `serve''"},{"id":82,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:840:in
1125
+ `call''"},{"id":83,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/deflater.rb:34:in
1126
+ `call''"},{"id":84,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/etag.rb:25:in
1127
+ `call''"},{"id":85,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/conditional_get.rb:38:in
1128
+ `call''"},{"id":86,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/head.rb:12:in
1129
+ `call''"},{"id":87,"trace":"vendor/bundle/ruby/2.4.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:559:in
1130
+ `call''"},{"id":88,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:28:in
1131
+ `block in call''"},{"id":89,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in
1132
+ `run_callbacks''"},{"id":90,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:26:in
1133
+ `call''"},{"id":91,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
1134
+ `call''"},{"id":92,"trace":"vendor/bundle/ruby/2.4.0/gems/bugsnag-6.7.2/lib/bugsnag/integrations/rack.rb:46:in
1135
+ `call''"},{"id":93,"trace":"vendor/bundle/ruby/2.4.0/gems/better_errors-2.4.0/lib/better_errors/middleware.rb:59:in
1136
+ `call''"},{"id":94,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/debug_exceptions.rb:61:in
1137
+ `call''"},{"id":95,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/show_exceptions.rb:33:in
1138
+ `call''"},{"id":96,"trace":"vendor/bundle/ruby/2.4.0/gems/lograge-0.10.0/lib/lograge/rails_ext/rack/logger.rb:15:in
1139
+ `call_app''"},{"id":97,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
1140
+ `block in call''"},{"id":98,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
1141
+ `block in tagged''"},{"id":99,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:28:in
1142
+ `tagged''"},{"id":100,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in
1143
+ `tagged''"},{"id":101,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in
1144
+ `call''"},{"id":102,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/remote_ip.rb:81:in
1145
+ `call''"},{"id":103,"trace":"vendor/bundle/ruby/2.4.0/gems/request_store-1.4.1/lib/request_store/middleware.rb:19:in
1146
+ `call''"},{"id":104,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/request_id.rb:27:in
1147
+ `call''"},{"id":105,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/runtime.rb:22:in
1148
+ `call''"},{"id":106,"trace":"vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in
1149
+ `call''"},{"id":107,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in
1150
+ `call''"},{"id":108,"trace":"vendor/bundle/ruby/2.4.0/gems/actionpack-5.2.0/lib/action_dispatch/middleware/static.rb:127:in
1151
+ `call''"},{"id":109,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-2.0.5/lib/rack/sendfile.rb:111:in
1152
+ `call''"},{"id":110,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:111:in
1153
+ `process_request''"},{"id":111,"trace":"vendor/bundle/ruby/2.4.0/gems/librato-rack-1.1.0/lib/librato/rack.rb:81:in
1154
+ `call''"},{"id":112,"trace":"vendor/bundle/ruby/2.4.0/gems/rack-cors-1.0.2/lib/rack/cors.rb:97:in
1155
+ `call''"},{"id":113,"trace":"vendor/bundle/ruby/2.4.0/gems/railties-5.2.0/lib/rails/engine.rb:524:in
1156
+ `call''"},{"id":114,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in
1157
+ `process_request''"},{"id":115,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:157:in
1158
+ `accept_and_process_next_request''"},{"id":116,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in
1159
+ `main_loop''"},{"id":117,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in
1160
+ `block (3 levels) in start_threads''"},{"id":118,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in
1161
+ `block in create_thread_and_abort_on_exception''"}]}}'
197
1162
  http_version:
198
- recorded_at: Mon, 07 May 2018 15:07:45 GMT
1163
+ recorded_at: Thu, 17 May 2018 13:47:07 GMT
199
1164
  recorded_with: VCR 3.0.3