Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.71 KB | None | 0 0
  1. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":20,"level":30,"msg":"Connecting to AMI_HOST: 172.17.0.1","time":"2017-01-22T03:06:59.631Z","src":{"file":"/app/lib/ami.js","line":16},"v":0}
  2. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":20,"level":30,"msg":"Network Interface Address: [object Object] -> 127.0.0.1","time":"2017-01-22T03:06:59.915Z","src":{"file":"/app/lib/os.js","line":12},"v":0}
  3. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":20,"level":30,"msg":"Network Interface Address: [object Object],[object Object] -> 172.17.0.5","time":"2017-01-22T03:06:59.918Z","src":{"file":"/app/lib/os.js","line":12},"v":0}
  4. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":20,"level":30,"msg":"server listening on http://*:3000/","time":"2017-01-22T03:07:01.028Z","src":{"file":"/app/index.js","line":88},"v":0}
  5. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":20,"level":30,"msg":"server listening on https://*:3443/","time":"2017-01-22T03:07:01.029Z","src":{"file":"/app/index.js","line":89},"v":0}
  6. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":20,"level":20,"msg":"Socket Server listening on port: 5000","time":"2017-01-22T03:07:01.044Z","src":{"file":"/app/lib/socket.js","line":201},"v":0}
  7. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":20,"level":20,"msg":"AMI Connection is open!","time":"2017-01-22T03:07:01.059Z","src":{"file":"/app/lib/ami.js","line":42},"v":0}
  8. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":20,"level":20,"msg":"Looking for {\"collection\":\"auth\",\"_id\":\"token\"}","time":"2017-01-22T03:07:01.115Z","src":{"file":"/app/lib/mongo.js","line":156},"v":0}
  9. [ 'This API is using a deprecated version of Swagger! Please see http://github.com/wordnik/swagger-core/wiki for more info' ]
  10. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":20,"level":20,"msg":"My UUID: {\"_id\":\"token\",\"uuid\":\"8d25238a-9899-4983-98dc-1dfd32240a3f\"}","time":"2017-01-22T03:07:01.217Z","src":{"file":"/app/lib/os.js","line":56},"v":0}
  11. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":20,"level":20,"msg":"Looking for {\"collection\":\"auth\",\"_id\":\"token\"}","time":"2017-01-22T03:07:01.226Z","src":{"file":"/app/lib/mongo.js","line":156},"v":0}
  12. /app/lib/index.js:137
  13. if(res.body.scope.indexOf(service) > -1){
  14. ^
  15.  
  16. TypeError: Cannot read property 'indexOf' of undefined
  17. at Request._callback (/app/lib/index.js:137:22)
  18. at Request.self.callback (/app/node_modules/request/request.js:186:22)
  19. at emitTwo (events.js:87:13)
  20. at Request.emit (events.js:172:7)
  21. at Request.<anonymous> (/app/node_modules/request/request.js:1081:10)
  22. at emitOne (events.js:77:13)
  23. at Request.emit (events.js:169:7)
  24. at IncomingMessage.<anonymous> (/app/node_modules/request/request.js:1001:12)
  25. at IncomingMessage.g (events.js:260:16)
  26. at emitNone (events.js:72:20)
  27. at IncomingMessage.emit (events.js:166:7)
  28. at endReadableNT (_stream_readable.js:905:12)
  29. at nextTickCallbackWith2Args (node.js:441:9)
  30. at process._tickCallback (node.js:355:17)
  31.  
  32. npm ERR! Linux 3.16.0-4-amd64
  33. npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
  34. npm ERR! node v4.3.0
  35. npm ERR! npm v2.14.12
  36. npm ERR! code ELIFECYCLE
  37. npm ERR! itc-connector@0.0.1 start: `node index.js`
  38. npm ERR! Exit status 1
  39. npm ERR!
  40. npm ERR! Failed at the itc-connector@0.0.1 start script 'node index.js'.
  41. npm ERR! This is most likely a problem with the itc-connector package,
  42. npm ERR! not with npm itself.
  43. npm ERR! Tell the author that this fails on your system:
  44. npm ERR! node index.js
  45. npm ERR! You can get their info via:
  46. npm ERR! npm owner ls itc-connector
  47. npm ERR! There is likely additional logging output above.
  48.  
  49. npm ERR! Please include the following file with any support request:
  50. npm ERR! /app/npm-debug.log
  51.  
  52. > itc-connector@0.0.1 start /app
  53. > node index.js
  54.  
  55. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":14,"level":30,"msg":"Connecting to AMI_HOST: 172.17.0.1","time":"2017-01-22T17:40:57.816Z","src":{"file":"/app/lib/ami.js","line":16},"v":0}
  56. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":14,"level":30,"msg":"Network Interface Address: [object Object] -> 127.0.0.1","time":"2017-01-22T17:40:58.100Z","src":{"file":"/app/lib/os.js","line":12},"v":0}
  57. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":14,"level":30,"msg":"Network Interface Address: [object Object],[object Object] -> 172.17.0.5","time":"2017-01-22T17:40:58.102Z","src":{"file":"/app/lib/os.js","line":12},"v":0}
  58. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":14,"level":30,"msg":"server listening on http://*:3000/","time":"2017-01-22T17:40:59.224Z","src":{"file":"/app/index.js","line":88},"v":0}
  59. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":14,"level":30,"msg":"server listening on https://*:3443/","time":"2017-01-22T17:40:59.225Z","src":{"file":"/app/index.js","line":89},"v":0}
  60. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":14,"level":20,"msg":"Socket Server listening on port: 5000","time":"2017-01-22T17:40:59.240Z","src":{"file":"/app/lib/socket.js","line":201},"v":0}
  61. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":14,"level":20,"msg":"AMI Connection is open!","time":"2017-01-22T17:40:59.255Z","src":{"file":"/app/lib/ami.js","line":42},"v":0}
  62. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":14,"level":20,"msg":"Looking for {\"collection\":\"auth\",\"_id\":\"token\"}","time":"2017-01-22T17:40:59.312Z","src":{"file":"/app/lib/mongo.js","line":156},"v":0}
  63. [ 'This API is using a deprecated version of Swagger! Please see http://github.com/wordnik/swagger-core/wiki for more info' ]
  64. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":14,"level":20,"msg":"My UUID: {\"_id\":\"token\",\"uuid\":\"8d25238a-9899-4983-98dc-1dfd32240a3f\"}","time":"2017-01-22T17:40:59.411Z","src":{"file":"/app/lib/os.js","line":56},"v":0}
  65. {"name":"itc-conector","hostname":"b140fd23f0f2","pid":14,"level":20,"msg":"Looking for {\"collection\":\"auth\",\"_id\":\"token\"}","time":"2017-01-22T17:40:59.421Z","src":{"file":"/app/lib/mongo.js","line":156},"v":0}
  66. /app/lib/index.js:137
  67. if(res.body.scope.indexOf(service) > -1){
  68. ^
  69.  
  70. TypeError: Cannot read property 'indexOf' of undefined
  71. at Request._callback (/app/lib/index.js:137:22)
  72. at Request.self.callback (/app/node_modules/request/request.js:186:22)
  73. at emitTwo (events.js:87:13)
  74. at Request.emit (events.js:172:7)
  75. at Request.<anonymous> (/app/node_modules/request/request.js:1081:10)
  76. at emitOne (events.js:77:13)
  77. at Request.emit (events.js:169:7)
  78. at IncomingMessage.<anonymous> (/app/node_modules/request/request.js:1001:12)
  79. at IncomingMessage.g (events.js:260:16)
  80. at emitNone (events.js:72:20)
  81. at IncomingMessage.emit (events.js:166:7)
  82. at endReadableNT (_stream_readable.js:905:12)
  83. at nextTickCallbackWith2Args (node.js:441:9)
  84. at process._tickCallback (node.js:355:17)
  85.  
  86. npm ERR! Linux 3.16.0-4-amd64
  87. npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
  88. npm ERR! node v4.3.0
  89. npm ERR! npm v2.14.12
  90. npm ERR! code ELIFECYCLE
  91. npm ERR! itc-connector@0.0.1 start: `node index.js`
  92. npm ERR! Exit status 1
  93. npm ERR!
  94. npm ERR! Failed at the itc-connector@0.0.1 start script 'node index.js'.
  95. npm ERR! This is most likely a problem with the itc-connector package,
  96. npm ERR! not with npm itself.
  97. npm ERR! Tell the author that this fails on your system:
  98. npm ERR! node index.js
  99. npm ERR! You can get their info via:
  100. npm ERR! npm owner ls itc-connector
  101. npm ERR! There is likely additional logging output above.
  102.  
  103. npm ERR! Please include the following file with any support request:
  104. npm ERR! /app/npm-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement