Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name": "whoop.api-server",
- "hostname": "1e1fc83ddf46",
- "pid": 16474,
- "audit": true,
- "level": 30,
- "userId": 510,
- "req": {
- "method": "POST",
- "url": "/sleeps",
- "headers": {
- "host": "api.qa.whoop.com",
- "accept": "*/*",
- "accept-encoding": "gzip, deflate",
- "authorization": "Bearer rX0HOqKnAMHwB+3AtACsL330CitbKhbldgooT5G5pIGJ8E+bNyKmKyVyvXwXK5dX",
- "content-type": "application/json",
- "user-agent": "python-requests/2.5.3 CPython/2.7.6 Darwin/14.1.0",
- "x-forwarded-for": "207.180.163.171, 10.1.0.27",
- "x-forwarded-port": "80",
- "x-forwarded-proto": "http",
- "content-length": "113",
- "accept-version": "1.0.0"
- },
- "httpVersion": "1.1",
- "trailers": {},
- "version": "*",
- "body": {
- "during": {
- "upper": "2015-05-20T11:00:00.000Z",
- "lower": "2015-05-20T04:00:00.000Z"
- },
- "timezoneOffset": "-0500"
- },
- "timers": {
- "restifyCORSSimple": 7,
- "bunyan": 42,
- "parseQueryString": 73,
- "gzip": 177,
- "initialize": 8,
- "handler-5": 5,
- "authenticate": 6173,
- "readBody": 115,
- "parseBody": 22,
- "createOne": 120020575
- }
- },
- "route": {
- "methods": [
- "POST"
- ],
- "name": "postsleeps100200",
- "params": {},
- "spec": {
- "path": "/sleeps",
- "versions": [
- "1.0.0",
- "2.0.0"
- ],
- "method": "POST",
- "name": "postsleeps100200"
- }
- },
- "res": {
- "statusCode": 500,
- "headers": {
- "content-encoding": "gzip",
- "content-type": "application/json"
- },
- "trailer": false,
- "body": {}
- },
- "err": {
- "message": "updateCycle error: error: canceling statement due to statement timeout",
- "name": "Error",
- "stack": "Error: updateCycle error: error: canceling statement due to statement timeout\n at /app/lib/cycleActivities/activities.js:129:13\n at Promise.b (domain.js:183:18)\n at args.(anonymous function) (/app/node_modules/nodetime/lib/core/proxy.js:131:20)\nFrom previous event:\n at new Promise (/app/node_modules/bluebird/js/main/promise.js:82:37)\n at Object.updateOne (/app/lib/borkshelf.js:70:10)\n at SleepActivity.ActivityMiddleware.updateCycle (/app/lib/cycleActivities/activities.js:121:20)\n at /app/lib/cycleActivities/activities.js:603:30\nFrom previous event:\n at new Promise (/app/node_modules/bluebird/js/main/promise.js:82:37)\n at Object.run (/app/lib/borkshelf.js:23:10)\n at SleepActivity.ActivityMiddleware.ensureCycle (/app/lib/cycleActivities/activities.js:430:20)\n at Object.ensureCycleForSleep (/app/lib/cycleActivities/index.js:11:30)\n at createCycleAndActivity (/app/lib/middlewares/sleeps/index.js:40:33)\n at Object.<anonymous> (/app/lib/middlewares/sleeps/index.js:93:12)\nFrom previous event:\n at Promise$then [as then] (/app/node_modules/bluebird/js/main/promise.js:131:17)\n at Transaction_PG.container (/app/lib/borkshelf.js:46:19)\n at Transaction_PG.Transaction.initiateDeferred (/app/node_modules/knex/lib/transaction.js:58:21)\n at /app/node_modules/knex/lib/transaction.js:90:19\nFrom previous event:\n at Function.Promise$All [as all] (/app/node_modules/bluebird/js/main/promise.js:180:12)\n at Object.<anonymous> (/app/lib/middlewares/sleeps/index.js:158:20)\n at Promise.b (domain.js:183:18)\nFrom previous event:\n at Promise$then [as then] (/app/node_modules/bluebird/js/main/promise.js:131:17)\n at Transaction_PG.container (/app/lib/borkshelf.js:46:19)\n at Transaction_PG.Transaction.initiateDeferred (/app/node_modules/knex/lib/transaction.js:58:21)\n at /app/node_modules/knex/lib/transaction.js:90:19"
- },
- "latency": 120028,
- "_audit": true,
- "msg": "handled: 500",
- "time": "2015-05-22T15:00:33.520Z",
- "v": 0
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement