Advertisement
Guest User

Untitled

a guest
May 22nd, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 KB | None | 0 0
  1. {
  2. "name": "whoop.api-server",
  3. "hostname": "1e1fc83ddf46",
  4. "pid": 16474,
  5. "audit": true,
  6. "level": 30,
  7. "userId": 510,
  8. "req": {
  9. "method": "POST",
  10. "url": "/sleeps",
  11. "headers": {
  12. "host": "api.qa.whoop.com",
  13. "accept": "*/*",
  14. "accept-encoding": "gzip, deflate",
  15. "authorization": "Bearer rX0HOqKnAMHwB+3AtACsL330CitbKhbldgooT5G5pIGJ8E+bNyKmKyVyvXwXK5dX",
  16. "content-type": "application/json",
  17. "user-agent": "python-requests/2.5.3 CPython/2.7.6 Darwin/14.1.0",
  18. "x-forwarded-for": "207.180.163.171, 10.1.0.27",
  19. "x-forwarded-port": "80",
  20. "x-forwarded-proto": "http",
  21. "content-length": "113",
  22. "accept-version": "1.0.0"
  23. },
  24. "httpVersion": "1.1",
  25. "trailers": {},
  26. "version": "*",
  27. "body": {
  28. "during": {
  29. "upper": "2015-05-20T11:00:00.000Z",
  30. "lower": "2015-05-20T04:00:00.000Z"
  31. },
  32. "timezoneOffset": "-0500"
  33. },
  34. "timers": {
  35. "restifyCORSSimple": 7,
  36. "bunyan": 42,
  37. "parseQueryString": 73,
  38. "gzip": 177,
  39. "initialize": 8,
  40. "handler-5": 5,
  41. "authenticate": 6173,
  42. "readBody": 115,
  43. "parseBody": 22,
  44. "createOne": 120020575
  45. }
  46. },
  47. "route": {
  48. "methods": [
  49. "POST"
  50. ],
  51. "name": "postsleeps100200",
  52. "params": {},
  53. "spec": {
  54. "path": "/sleeps",
  55. "versions": [
  56. "1.0.0",
  57. "2.0.0"
  58. ],
  59. "method": "POST",
  60. "name": "postsleeps100200"
  61. }
  62. },
  63. "res": {
  64. "statusCode": 500,
  65. "headers": {
  66. "content-encoding": "gzip",
  67. "content-type": "application/json"
  68. },
  69. "trailer": false,
  70. "body": {}
  71. },
  72. "err": {
  73. "message": "updateCycle error: error: canceling statement due to statement timeout",
  74. "name": "Error",
  75. "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"
  76. },
  77. "latency": 120028,
  78. "_audit": true,
  79. "msg": "handled: 500",
  80. "time": "2015-05-22T15:00:33.520Z",
  81. "v": 0
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement