Advertisement
Guest User

singup error

a guest
May 18th, 2018
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. api_1     | 2018-05-19T02:20:51.332Z - info: OPTIONS /user 200 4ms
  2. api_1     | { res: { statusCode: 200 },
  3. api_1     |   req:
  4. api_1     |    { url: '/user',
  5. api_1     |      headers:
  6. api_1     |       { host: 'localhost:9000',
  7. api_1     |         connection: 'keep-alive',
  8. api_1     |         'access-control-request-method': 'POST',
  9. api_1     |         origin: 'http://localhost:3000',
  10. api_1     |         'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36',
  11. api_1     |         'access-control-request-headers': 'content-type',
  12. api_1     |         accept: '*/*',
  13. api_1     |         referer: 'http://localhost:3000/auth/sign-up',
  14. api_1     |         'accept-encoding': 'gzip, deflate, br',
  15. api_1     |         'accept-language': 'en-GB,en-US;q=0.9,en;q=0.8' },
  16. api_1     |      method: 'OPTIONS',
  17. api_1     |      httpVersion: '1.1',
  18. api_1     |      originalUrl: '/user',
  19. api_1     |      query: {} },
  20. api_1     |   responseTime: 4 }
  21. api_1     | 2018-05-19T02:20:51.639Z - debug: [USER_ACCOUNT_APP] [create] Initiate verification
  22. api_1     | { meta: { email: 'chad@sentigence.com' } }
  23. verify_1  | { host: 'verify:7000',
  24. verify_1  |   authorization: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0OWI2M2UwLWFhNGMtNDE5Mi1iYzU3LWE0OGY0MDYzOGRkYiIsImxvZ2luIjoidGVuYW50OmNoYWRAc2VudGlnZW5jZS5jb20iLCJqdGkiOiI2NDliNjNlMC1hYTRjLTQxOTItYmM1Ny1hNDhmNDA2MzhkZGIxNTI2Njk0NzM0MTAyIiwiaWF0IjoxNTI2Njk0NzM0MTAyLCJhdWQiOiJyZWFsZnVlbC5pbyIsImlzVGVuYW50Ijp0cnVlfQ.Ji1Hk4_133bKbLhzvrH3ztwXD0m41jKT8StkK1A7P4c',
  25. verify_1  |   accept: 'application/json',
  26. verify_1  |   'content-type': 'application/json',
  27. verify_1  |   'content-length': '1197',
  28. verify_1  |   connection: 'close' }
  29. auth_1    | { accept: 'application/json',
  30. auth_1    |   host: 'auth:8000',
  31. auth_1    |   'content-type': 'application/json',
  32. auth_1    |   'content-length': '355',
  33. auth_1    |   connection: 'close' }
  34. api_1     | 2018-05-19T02:20:51.671Z - info: HTTP POST /user
  35. api_1     | { date: 'Sat May 19 2018 02:20:51 GMT+0000 (UTC)',
  36. api_1     |   process:
  37. api_1     |    { pid: 147,
  38. api_1     |      uid: 0,
  39. api_1     |      gid: 0,
  40. api_1     |      cwd: '/usr/src/app',
  41. api_1     |      execPath: '/usr/bin/node',
  42. api_1     |      version: 'v8.6.0',
  43. api_1     |      argv: [ 'node', '/usr/src/app/src/main.ts' ],
  44. api_1     |      memoryUsage:
  45. api_1     |       { rss: 118927360,
  46. api_1     |         heapTotal: 91836416,
  47. api_1     |         heapUsed: 77496848,
  48. api_1     |         external: 18406435 } },
  49. api_1     |   os:
  50. api_1     |    { loadavg: [ 0.2568359375, 0.134765625, 0.09130859375 ],
  51. api_1     |      uptime: 11055 },
  52. api_1     |   trace:
  53. api_1     |    [ { column: 28,
  54. api_1     |        file: '/usr/src/app/node_modules/web-request/index.js',
  55. api_1     |        function: 'Request.request [as _callback]',
  56. api_1     |        line: 58,
  57. api_1     |        method: 'request [as _callback]',
  58. api_1     |        native: false },
  59. api_1     |      { column: 22,
  60. api_1     |        file: '/usr/src/app/node_modules/request/request.js',
  61. api_1     |        function: 'Request.self.callback',
  62. api_1     |        line: 185,
  63. api_1     |        method: 'callback',
  64. api_1     |        native: false },
  65. api_1     |      { column: 13,
  66. api_1     |        file: 'events.js',
  67. api_1     |        function: 'emitTwo',
  68. api_1     |        line: 125,
  69. api_1     |        method: null,
  70. api_1     |        native: false },
  71. api_1     |      { column: 7,
  72. api_1     |        file: 'events.js',
  73. api_1     |        function: 'Request.emit',
  74. api_1     |        line: 213,
  75. api_1     |        method: 'emit',
  76. api_1     |        native: false },
  77. api_1     |      { column: 10,
  78. api_1     |        file: '/usr/src/app/node_modules/request/request.js',
  79. api_1     |        function: null,
  80. api_1     |        line: 1157,
  81. api_1     |        method: null,
  82. api_1     |        native: false },
  83. api_1     |      { column: 13,
  84. api_1     |        file: 'events.js',
  85. api_1     |        function: 'emitOne',
  86. api_1     |        line: 115,
  87. api_1     |        method: null,
  88. api_1     |        native: false },
  89. api_1     |      { column: 7,
  90. api_1     |        file: 'events.js',
  91. api_1     |        function: 'Request.emit',
  92. api_1     |        line: 210,
  93. api_1     |        method: 'emit',
  94. api_1     |        native: false },
  95. api_1     |      { column: 12,
  96. api_1     |        file: '/usr/src/app/node_modules/request/request.js',
  97. api_1     |        function: null,
  98. api_1     |        line: 1079,
  99. api_1     |        method: null,
  100. api_1     |        native: false },
  101. api_1     |      { column: 30,
  102. api_1     |        file: 'events.js',
  103. api_1     |        function: 'Object.onceWrapper',
  104. api_1     |        line: 314,
  105. api_1     |        method: 'onceWrapper',
  106. api_1     |        native: false },
  107. api_1     |      { column: 20,
  108. api_1     |        file: 'events.js',
  109. api_1     |        function: 'emitNone',
  110. api_1     |        line: 110,
  111. api_1     |        method: null,
  112. api_1     |        native: false },
  113. api_1     |      { column: 7,
  114. api_1     |        file: 'events.js',
  115. api_1     |        function: 'IncomingMessage.emit',
  116. api_1     |        line: 207,
  117. api_1     |        method: 'emit',
  118. api_1     |        native: false },
  119. api_1     |      { column: 12,
  120. api_1     |        file: '_stream_readable.js',
  121. api_1     |        function: 'endReadableNT',
  122. api_1     |        line: 1059,
  123. api_1     |        method: null,
  124. api_1     |        native: false },
  125. api_1     |      { column: 11,
  126. api_1     |        file: 'internal/process/next_tick.js',
  127. api_1     |        function: '_combinedTickCallback',
  128. api_1     |        line: 138,
  129. api_1     |        method: null,
  130. api_1     |        native: false },
  131. api_1     |      { column: 9,
  132. api_1     |        file: 'internal/process/next_tick.js',
  133. api_1     |        function: 'process._tickDomainCallback',
  134. api_1     |        line: 218,
  135. api_1     |        method: '_tickDomainCallback',
  136. api_1     |        native: false } ],
  137. api_1     |   stack:
  138. api_1     |    [ 'Error: Internal Server Error',
  139. api_1     |      '    at Request.request [as _callback] (/usr/src/app/node_modules/web-request/index.js:58:28)',
  140. api_1     |      '    at Request.self.callback (/usr/src/app/node_modules/request/request.js:185:22)',
  141. api_1     |      '    at emitTwo (events.js:125:13)',
  142. api_1     |      '    at Request.emit (events.js:213:7)',
  143. api_1     |      '    at Request.<anonymous> (/usr/src/app/node_modules/request/request.js:1157:10)',
  144. api_1     |      '    at emitOne (events.js:115:13)',
  145. api_1     |      '    at Request.emit (events.js:210:7)',
  146. api_1     |      '    at IncomingMessage.<anonymous> (/usr/src/app/node_modules/request/request.js:1079:12)',
  147. api_1     |      '    at Object.onceWrapper (events.js:314:30)',
  148. api_1     |      '    at emitNone (events.js:110:20)',
  149. api_1     |      '    at IncomingMessage.emit (events.js:207:7)',
  150. api_1     |      '    at endReadableNT (_stream_readable.js:1059:12)',
  151. api_1     |      '    at _combinedTickCallback (internal/process/next_tick.js:138:11)',
  152. api_1     |      '    at process._tickDomainCallback (internal/process/next_tick.js:218:9)' ],
  153. api_1     |   req:
  154. api_1     |    { url: '/user',
  155. api_1     |      headers:
  156. api_1     |       { host: 'localhost:9000',
  157. api_1     |         connection: 'keep-alive',
  158. api_1     |         'content-length': '113',
  159. api_1     |         accept: 'application/json',
  160. api_1     |         origin: 'http://localhost:3000',
  161. api_1     |         'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36',
  162. api_1     |         'content-type': 'application/json',
  163. api_1     |         referer: 'http://localhost:3000/auth/sign-up',
  164. api_1     |         'accept-encoding': 'gzip, deflate, br',
  165. api_1     |         'accept-language': 'en-GB,en-US;q=0.9,en;q=0.8' },
  166. api_1     |      method: 'POST',
  167. api_1     |      httpVersion: '1.1',
  168. api_1     |      originalUrl: '/user',
  169. api_1     |      query: {} } }
  170. api_1     | 2018-05-19T02:20:51.673Z - error: [ERROR_HANDLER] 500
  171. api_1     | { error:
  172. api_1     |    { response:
  173. api_1     |       { request:
  174. api_1     |          { domain: null,
  175. api_1     |            _events:
  176. api_1     |             { error: [Function: bound ],
  177. api_1     |               complete: [Function: bound ],
  178. api_1     |               pipe: [Function],
  179. api_1     |               data: [Function],
  180. api_1     |               end: [Function] },
  181. api_1     |            _eventsCount: 5,
  182. api_1     |            _maxListeners: undefined,
  183. api_1     |            method: 'POST',
  184. api_1     |            body: '{"consumer":"chad@sentigence.com","policy":{"expiredOn":"24:00:00"},"generateCode":{"length":6,"symbolSet":["DIGITS"]},"issuer":"Jincor","template":{"fromEmail":"noreply@realfuel.io","subject":"Verify your email","body":"<!DOCTYPE html>\\n<html lang=\\"en\\" xmlns=\\"http://www.w3.org/1999/xhtml\\" xmlns:v=\\"urn:schemas-microsoft-com:vml\\" xmlns:o=\\"urn:schemas-microsoft-com:office:office\\">\\n<head>\\n    <meta charset=\\"utf-8\\"> <!-- utf-8 works for most cases -->\\n    <meta name=\\"viewport\\" content=\\"width=device-width\\"> <!-- Forcing initial-scale shouldn\'t be necessary -->\\n    <meta http-equiv=\\"X-UA-Compatible\\" content=\\"IE=edge\\"> <!-- Use the latest (edge) version of IE rendering engine -->\\n    <meta name=\\"x-apple-disable-message-reformatting\\">  <!-- Disable auto-scale in iOS 10 Mail entirely -->\\n    <title></title> <!-- The title tag shows in email notifications, like Android 4.4. -->\\n</head>\\n<body width=\\"100%\\" bgcolor=\\"#fbfbfb\\" style=\\"margin: 0; padding: 0 0 0 0; mso-line-height-rule: exactly;\\">\\n    <p>\\n        Please confirm your email address to get access to the wallets by\\n        putting verification code: <b>{{{CODE}}}</b>\\n    </p>\\n</body>\\n</html>"}}',
  185. api_1     |            uri:
  186. api_1     |             { protocol: 'http:',
  187. api_1     |               slashes: true,
  188. api_1     |               auth: null,
  189. api_1     |               host: 'verify:7000',
  190. api_1     |               port: '7000',
  191. api_1     |               hostname: 'verify',
  192. api_1     |               hash: null,
  193. api_1     |               search: null,
  194. api_1     |               query: null,
  195. api_1     |               pathname: '/methods/email/actions/initiate',
  196. api_1     |               path: '/methods/email/actions/initiate',
  197. api_1     |               href: 'http://verify:7000/methods/email/actions/initiate' },
  198. api_1     |            callback: [Function],
  199. api_1     |            readable: true,
  200. api_1     |            writable: true,
  201. api_1     |            explicitMethod: true,
  202. api_1     |            _qs:
  203. api_1     |             { request: { '$ref': '$["error"]["response"]["request"]' },
  204. api_1     |               lib:
  205. api_1     |                { formats:
  206. api_1     |                   { default: 'RFC3986',
  207. api_1     |                     formatters: { RFC1738: [Function: RFC1738], RFC3986: [Function: RFC3986] },
  208. api_1     |                     RFC1738: 'RFC1738',
  209. api_1     |                     RFC3986: 'RFC3986' },
  210. api_1     |                  parse: [Function],
  211. api_1     |                  stringify: [Function] },
  212. api_1     |               useQuerystring: undefined,
  213. api_1     |               parseOptions: {},
  214. api_1     |               stringifyOptions: {} },
  215. api_1     |            _auth:
  216. api_1     |             { request: { '$ref': '$["error"]["response"]["request"]' },
  217. api_1     |               hasAuth: true,
  218. api_1     |               sentAuth: true,
  219. api_1     |               bearerToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0OWI2M2UwLWFhNGMtNDE5Mi1iYzU3LWE0OGY0MDYzOGRkYiIsImxvZ2luIjoidGVuYW50OmNoYWRAc2VudGlnZW5jZS5jb20iLCJqdGkiOiI2NDliNjNlMC1hYTRjLTQxOTItYmM1Ny1hNDhmNDA2MzhkZGIxNTI2Njk0NzM0MTAyIiwiaWF0IjoxNTI2Njk0NzM0MTAyLCJhdWQiOiJyZWFsZnVlbC5pbyIsImlzVGVuYW50Ijp0cnVlfQ.Ji1Hk4_133bKbLhzvrH3ztwXD0m41jKT8StkK1A7P4c',
  220. api_1     |               user: null,
  221. api_1     |               pass: null },
  222. api_1     |            _oauth:
  223. api_1     |             { request: { '$ref': '$["error"]["response"]["request"]' },
  224. api_1     |               params: null },
  225. api_1     |            _multipart:
  226. api_1     |             { request: { '$ref': '$["error"]["response"]["request"]' },
  227. api_1     |               boundary: '2646cb11-4d1e-4818-bcde-80946169af42',
  228. api_1     |               chunked: false,
  229. api_1     |               body: null },
  230. api_1     |            _redirect:
  231. api_1     |             { request: { '$ref': '$["error"]["response"]["request"]' },
  232. api_1     |               followRedirect: true,
  233. api_1     |               followRedirects: true,
  234. api_1     |               followAllRedirects: false,
  235. api_1     |               followOriginalHttpMethod: false,
  236. api_1     |               allowRedirect: [Function],
  237. api_1     |               maxRedirects: 10,
  238. api_1     |               redirects: [],
  239. api_1     |               redirectsFollowed: 0,
  240. api_1     |               removeRefererHeader: false },
  241. api_1     |            _tunnel:
  242. api_1     |             { request: { '$ref': '$["error"]["response"]["request"]' },
  243. api_1     |               proxyHeaderWhiteList:
  244. api_1     |                [ 'accept',
  245. api_1     |                  'accept-charset',
  246. api_1     |                  'accept-encoding',
  247. api_1     |                  'accept-language',
  248. api_1     |                  'accept-ranges',
  249. api_1     |                  'cache-control',
  250. api_1     |                  'content-encoding',
  251. api_1     |                  'content-language',
  252. api_1     |                  'content-location',
  253. api_1     |                  'content-md5',
  254. api_1     |                  'content-range',
  255. api_1     |                  'content-type',
  256. api_1     |                  'connection',
  257. api_1     |                  'date',
  258. api_1     |                  'expect',
  259. api_1     |                  'max-forwards',
  260. api_1     |                  'pragma',
  261. api_1     |                  'referer',
  262. api_1     |                  'te',
  263. api_1     |                  'user-agent',
  264. api_1     |                  'via' ],
  265. api_1     |               proxyHeaderExclusiveList: [] },
  266. api_1     |            headers:
  267. api_1     |             { authorization: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0OWI2M2UwLWFhNGMtNDE5Mi1iYzU3LWE0OGY0MDYzOGRkYiIsImxvZ2luIjoidGVuYW50OmNoYWRAc2VudGlnZW5jZS5jb20iLCJqdGkiOiI2NDliNjNlMC1hYTRjLTQxOTItYmM1Ny1hNDhmNDA2MzhkZGIxNTI2Njk0NzM0MTAyIiwiaWF0IjoxNTI2Njk0NzM0MTAyLCJhdWQiOiJyZWFsZnVlbC5pbyIsImlzVGVuYW50Ijp0cnVlfQ.Ji1Hk4_133bKbLhzvrH3ztwXD0m41jKT8StkK1A7P4c',
  268. api_1     |               accept: 'application/json',
  269. api_1     |               'content-type': 'application/json',
  270. api_1     |               'content-length': 1197 },
  271. api_1     |            setHeader: [Function],
  272. api_1     |            hasHeader: [Function],
  273. api_1     |            getHeader: [Function],
  274. api_1     |            removeHeader: [Function],
  275. api_1     |            localAddress: undefined,
  276. api_1     |            pool: {},
  277. api_1     |            dests: [],
  278. api_1     |            __isRequestRequest: true,
  279. api_1     |            _callback: [Function],
  280. api_1     |            proxy: null,
  281. api_1     |            tunnel: false,
  282. api_1     |            setHost: true,
  283. api_1     |            originalCookieHeader: undefined,
  284. api_1     |            _disableCookies: true,
  285. api_1     |            _jar: undefined,
  286. api_1     |            port: '7000',
  287. api_1     |            host: 'verify',
  288. api_1     |            path: '/methods/email/actions/initiate',
  289. api_1     |            _json: true,
  290. api_1     |            httpModule:
  291. api_1     |             { _connectionListener: [Function: connectionListener],
  292. api_1     |               METHODS:
  293. api_1     |                [ 'ACL',
  294. api_1     |                  'BIND',
  295. api_1     |                  'CHECKOUT',
  296. api_1     |                  'CONNECT',
  297. api_1     |                  'COPY',
  298. api_1     |                  'DELETE',
  299. api_1     |                  'GET',
  300. api_1     |                  'HEAD',
  301. api_1     |                  'LINK',
  302. api_1     |                  'LOCK',
  303. api_1     |                  'M-SEARCH',
  304. api_1     |                  'MERGE',
  305. api_1     |                  'MKACTIVITY',
  306. api_1     |                  'MKCALENDAR',
  307. api_1     |                  'MKCOL',
  308. api_1     |                  'MOVE',
  309. api_1     |                  'NOTIFY',
  310. api_1     |                  'OPTIONS',
  311. api_1     |                  'PATCH',
  312. api_1     |                  'POST',
  313. api_1     |                  'PROPFIND',
  314. api_1     |                  'PROPPATCH',
  315. api_1     |                  'PURGE',
  316. api_1     |                  'PUT',
  317. api_1     |                  'REBIND',
  318. api_1     |                  'REPORT',
  319. api_1     |                  'SEARCH',
  320. api_1     |                  'SUBSCRIBE',
  321. api_1     |                  'TRACE',
  322. api_1     |                  'UNBIND',
  323. api_1     |                  'UNLINK',
  324. api_1     |                  'UNLOCK',
  325. api_1     |                  'UNSUBSCRIBE' ],
  326. api_1     |               STATUS_CODES:
  327. api_1     |                { '100': 'Continue',
  328. api_1     |                  '101': 'Switching Protocols',
  329. api_1     |                  '102': 'Processing',
  330. api_1     |                  '200': 'OK',
  331. api_1     |                  '201': 'Created',
  332. api_1     |                  '202': 'Accepted',
  333. api_1     |                  '203': 'Non-Authoritative Information',
  334. api_1     |                  '204': 'No Content',
  335. api_1     |                  '205': 'Reset Content',
  336. api_1     |                  '206': 'Partial Content',
  337. api_1     |                  '207': 'Multi-Status',
  338. api_1     |                  '208': 'Already Reported',
  339. api_1     |                  '226': 'IM Used',
  340. api_1     |                  '300': 'Multiple Choices',
  341. api_1     |                  '301': 'Moved Permanently',
  342. api_1     |                  '302': 'Found',
  343. api_1     |                  '303': 'See Other',
  344. api_1     |                  '304': 'Not Modified',
  345. api_1     |                  '305': 'Use Proxy',
  346. api_1     |                  '307': 'Temporary Redirect',
  347. api_1     |                  '308': 'Permanent Redirect',
  348. api_1     |                  '400': 'Bad Request',
  349. api_1     |                  '401': 'Unauthorized',
  350. api_1     |                  '402': 'Payment Required',
  351. api_1     |                  '403': 'Forbidden',
  352. api_1     |                  '404': 'Not Found',
  353. api_1     |                  '405': 'Method Not Allowed',
  354. api_1     |                  '406': 'Not Acceptable',
  355. api_1     |                  '407': 'Proxy Authentication Required',
  356. api_1     |                  '408': 'Request Timeout',
  357. api_1     |                  '409': 'Conflict',
  358. api_1     |                  '410': 'Gone',
  359. api_1     |                  '411': 'Length Required',
  360. api_1     |                  '412': 'Precondition Failed',
  361. api_1     |                  '413': 'Payload Too Large',
  362. api_1     |                  '414': 'URI Too Long',
  363. api_1     |                  '415': 'Unsupported Media Type',
  364. api_1     |                  '416': 'Range Not Satisfiable',
  365. api_1     |                  '417': 'Expectation Failed',
  366. api_1     |                  '418': 'I\'m a teapot',
  367. api_1     |                  '421': 'Misdirected Request',
  368. api_1     |                  '422': 'Unprocessable Entity',
  369. api_1     |                  '423': 'Locked',
  370. api_1     |                  '424': 'Failed Dependency',
  371. api_1     |                  '425': 'Unordered Collection',
  372. api_1     |                  '426': 'Upgrade Required',
  373. api_1     |                  '428': 'Precondition Required',
  374. api_1     |                  '429': 'Too Many Requests',
  375. api_1     |                  '431': 'Request Header Fields Too Large',
  376. api_1     |                  '451': 'Unavailable For Legal Reasons',
  377. api_1     |                  '500': 'Internal Server Error',
  378. api_1     |                  '501': 'Not Implemented',
  379. api_1     |                  '502': 'Bad Gateway',
  380. api_1     |                  '503': 'Service Unavailable',
  381. api_1     |                  '504': 'Gateway Timeout',
  382. api_1     |                  '505': 'HTTP Version Not Supported',
  383. api_1     |                  '506': 'Variant Also Negotiates',
  384. api_1     |                  '507': 'Insufficient Storage',
  385. api_1     |                  '508': 'Loop Detected',
  386. api_1     |                  '509': 'Bandwidth Limit Exceeded',
  387. api_1     |                  '510': 'Not Extended',
  388. api_1     |                  '511': 'Network Authentication Required' },
  389. api_1     |               Agent:
  390. api_1     |                { [Function: Agent]
  391. api_1     |                  super_:
  392. api_1     |                   { [Function: EventEmitter]
  393. api_1     |                     EventEmitter: [Circular],
  394. api_1     |                     usingDomains: true,
  395. api_1     |                     defaultMaxListeners: [Getter/Setter],
  396. api_1     |                     init: [Function],
  397. api_1     |                     listenerCount: [Function] },
  398. api_1     |                  defaultMaxSockets: Infinity },
  399. api_1     |               ClientRequest:
  400. api_1     |                { [Function: ClientRequest]
  401. api_1     |                  super_:
  402. api_1     |                   { [Function: OutgoingMessage]
  403. api_1     |                     super_:
  404. api_1     |                      { [Function: Stream]
  405. api_1     |                        super_:
  406. api_1     |                         { [Function: EventEmitter]
  407. api_1     |                           EventEmitter: [Circular],
  408. api_1     |                           usingDomains: true,
  409. api_1     |                           defaultMaxListeners: [Getter/Setter],
  410. api_1     |                           init: [Function],
  411. api_1     |                           listenerCount: [Function] },
  412. api_1     |                        Readable:
  413. api_1     |                         { [Function: Readable]
  414. api_1     |                           ReadableState: [Function: ReadableState],
  415. api_1     |                           super_: [Circular],
  416. api_1     |                           _fromList: [Function: fromList] },
  417. api_1     |                        Writable: { [Function: Writable] WritableState: [Function: WritableState], super_: [Circular] },
  418. api_1     |                        Duplex:
  419. api_1     |                         { [Function: Duplex]
  420. api_1     |                           super_:
  421. api_1     |                            { [Function: Readable]
  422. api_1     |                              ReadableState: [Function: ReadableState],
  423. api_1     |                              super_: [Circular],
  424. api_1     |                              _fromList: [Function: fromList] } },
  425. api_1     |                        Transform:
  426. api_1     |                         { [Function: Transform]
  427. api_1     |                           super_:
  428. api_1     |                            { [Function: Duplex]
  429. api_1     |                              super_:
  430. api_1     |                               { [Function: Readable]
  431. api_1     |                                 ReadableState: [Function: ReadableState],
  432. api_1     |                                 super_: [Circular],
  433. api_1     |                                 _fromList: [Function: fromList] } } },
  434. api_1     |                        PassThrough:
  435. api_1     |                         { [Function: PassThrough]
  436. api_1     |                           super_:
  437. api_1     |                            { [Function: Transform]
  438. api_1     |                              super_:
  439. api_1     |                               { [Function: Duplex]
  440. api_1     |                                 super_:
  441. api_1     |                                  { [Function: Readable]
  442. api_1     |                                    ReadableState: [Function: ReadableState],
  443. api_1     |                                    super_: [Circular],
  444. api_1     |                                    _fromList: [Function: fromList] } } } },
  445. api_1     |                        Stream: [Circular],
  446. api_1     |                        _isUint8Array: [Function: isUint8Array],
  447. api_1     |                        _uint8ArrayToBuffer: [Function: _uint8ArrayToBuffer] } } },
  448. api_1     |               globalAgent:
  449. api_1     |                { domain: null,
  450. api_1     |                  _events: { free: [Function] },
  451. api_1     |                  _eventsCount: 1,
  452. api_1     |                  _maxListeners: undefined,
  453. api_1     |                  defaultPort: 80,
  454. api_1     |                  protocol: 'http:',
  455. api_1     |                  options: { path: null },
  456. api_1     |                  requests: {},
  457. api_1     |                  sockets:
  458. api_1     |                   { 'verify:7000:':
  459. api_1     |                      [ { connecting: false,
  460. api_1     |                          _hadError: false,
  461. api_1     |                          _handle: null,
  462. api_1     |                          _parent: null,
  463. api_1     |                          _host: 'verify',
  464. api_1     |                          _readableState:
  465. api_1     |                           { objectMode: false,
  466. api_1     |                             highWaterMark: 16384,
  467. api_1     |                             buffer: { head: null, tail: null, length: 0 },
  468. api_1     |                             length: 0,
  469. api_1     |                             pipes: null,
  470. api_1     |                             pipesCount: 0,
  471. api_1     |                             flowing: true,
  472. api_1     |                             ended: false,
  473. api_1     |                             endEmitted: false,
  474. api_1     |                             reading: true,
  475. api_1     |                             sync: false,
  476. api_1     |                             needReadable: true,
  477. api_1     |                             emittedReadable: false,
  478. api_1     |                             readableListening: false,
  479. api_1     |                             resumeScheduled: false,
  480. api_1     |                             destroyed: true,
  481. api_1     |                             defaultEncoding: 'utf8',
  482. api_1     |                             awaitDrain: 0,
  483. api_1     |                             readingMore: false,
  484. api_1     |                             decoder: null,
  485. api_1     |                             encoding: null },
  486. api_1     |                          readable: false,
  487. api_1     |                          domain: null,
  488. api_1     |                          _events:
  489. api_1     |                           { end: { [Function: bound onceWrapper] listener: [Function: onend] },
  490. api_1     |                             finish: [Function: onSocketFinish],
  491. api_1     |                             _socketEnd: [Function: onSocketEnd],
  492. api_1     |                             free: [Function: onFree],
  493. api_1     |                             close: [ [Function: onClose], [Function: socketCloseListener] ],
  494. api_1     |                             agentRemove: [Function: onRemove],
  495. api_1     |                             drain: [Function: ondrain],
  496. api_1     |                             error: [Function: socketErrorListener] },
  497. api_1     |                          _eventsCount: 8,
  498. api_1     |                          _maxListeners: undefined,
  499. api_1     |                          _writableState:
  500. api_1     |                           { objectMode: false,
  501. api_1     |                             highWaterMark: 16384,
  502. api_1     |                             finalCalled: false,
  503. api_1     |                             needDrain: false,
  504. api_1     |                             ending: true,
  505. api_1     |                             ended: true,
  506. api_1     |                             finished: true,
  507. api_1     |                             destroyed: true,
  508. api_1     |                             decodeStrings: false,
  509. api_1     |                             defaultEncoding: 'utf8',
  510. api_1     |                             length: 0,
  511. api_1     |                             writing: false,
  512. api_1     |                             corked: 0,
  513. api_1     |                             sync: false,
  514. api_1     |                             bufferProcessing: false,
  515. api_1     |                             onwrite: [Function: bound onwrite],
  516. api_1     |                             writecb: null,
  517. api_1     |                             writelen: 0,
  518. api_1     |                             bufferedRequest: null,
  519. api_1     |                             lastBufferedRequest: null,
  520. api_1     |                             pendingcb: 0,
  521. api_1     |                             prefinished: true,
  522. api_1     |                             errorEmitted: false,
  523. api_1     |                             bufferedRequestCount: 0,
  524. api_1     |                             corkedRequestsFree:
  525. api_1     |                              { next:
  526. api_1     |                                 { next: null,
  527. api_1     |                                   entry: null,
  528. api_1     |                                   finish: [Function: bound onCorkedFinish] },
  529. api_1     |                                entry: null,
  530. api_1     |                                finish: [Function: bound onCorkedFinish] } },
  531. api_1     |                          writable: false,
  532. api_1     |                          allowHalfOpen: false,
  533. api_1     |                          _bytesDispatched: 1731,
  534. api_1     |                          _sockname: null,
  535. api_1     |                          _pendingData: null,
  536. api_1     |                          _pendingEncoding: '',
  537. api_1     |                          server: null,
  538. api_1     |                          _server: null,
  539. api_1     |                          parser: null,
  540. api_1     |                          _httpMessage:
  541. api_1     |                           { domain: null,
  542. api_1     |                             _events:
  543. api_1     |                              { socket: [Function],
  544. api_1     |                                response: [Function: bound ],
  545. api_1     |                                error: [Function: bound ],
  546. api_1     |                                drain: [Function],
  547. api_1     |                                prefinish: [Function: requestOnPrefinish] },
  548. api_1     |                             _eventsCount: 5,
  549. api_1     |                             _maxListeners: undefined,
  550. api_1     |                             output: [],
  551. api_1     |                             outputEncodings: [],
  552. api_1     |                             outputCallbacks: [],
  553. api_1     |                             outputSize: 0,
  554. api_1     |                             writable: true,
  555. api_1     |                             _last: true,
  556. api_1     |                             upgrading: false,
  557. api_1     |                             chunkedEncoding: false,
  558. api_1     |                             shouldKeepAlive: false,
  559. api_1     |                             useChunkedEncodingByDefault: true,
  560. api_1     |                             sendDate: false,
  561. api_1     |                             _removedConnection: false,
  562. api_1     |                             _removedContLen: false,
  563. api_1     |                             _removedTE: false,
  564. api_1     |                             _contentLength: null,
  565. api_1     |                             _hasBody: true,
  566. api_1     |                             _trailer: '',
  567. api_1     |                             finished: true,
  568. api_1     |                             _headerSent: true,
  569. api_1     |                             socket:
  570. api_1     |                              { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]' },
  571. api_1     |                             connection:
  572. api_1     |                              { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]' },
  573. api_1     |                             _header: 'POST /methods/email/actions/initiate HTTP/1.1\r\nhost: verify:7000\r\nauthorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0OWI2M2UwLWFhNGMtNDE5Mi1iYzU3LWE0OGY0MDYzOGRkYiIsImxvZ2luIjoidGVuYW50OmNoYWRAc2VudGlnZW5jZS5jb20iLCJqdGkiOiI2NDliNjNlMC1hYTRjLTQxOTItYmM1Ny1hNDhmNDA2MzhkZGIxNTI2Njk0NzM0MTAyIiwiaWF0IjoxNTI2Njk0NzM0MTAyLCJhdWQiOiJyZWFsZnVlbC5pbyIsImlzVGVuYW50Ijp0cnVlfQ.Ji1Hk4_133bKbLhzvrH3ztwXD0m41jKT8StkK1A7P4c\r\naccept: application/json\r\ncontent-type: application/json\r\ncontent-length: 1197\r\nConnection: close\r\n\r\n',
  574. api_1     |                             _onPendingData: [Function: noopPendingOutput],
  575. api_1     |                             agent:
  576. api_1     |                              { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]' },
  577. api_1     |                             socketPath: undefined,
  578. api_1     |                             timeout: undefined,
  579. api_1     |                             method: 'POST',
  580. api_1     |                             path: '/methods/email/actions/initiate',
  581. api_1     |                             _ended: true,
  582. api_1     |                             res:
  583. api_1     |                              { _readableState:
  584. api_1     |                                 { objectMode: false,
  585. api_1     |                                   highWaterMark: 16384,
  586. api_1     |                                   buffer: { head: null, tail: null, length: 0 },
  587. api_1     |                                   length: 0,
  588. api_1     |                                   pipes: null,
  589. api_1     |                                   pipesCount: 0,
  590. api_1     |                                   flowing: true,
  591. api_1     |                                   ended: true,
  592. api_1     |                                   endEmitted: true,
  593. api_1     |                                   reading: false,
  594. api_1     |                                   sync: true,
  595. api_1     |                                   needReadable: false,
  596. api_1     |                                   emittedReadable: false,
  597. api_1     |                                   readableListening: false,
  598. api_1     |                                   resumeScheduled: false,
  599. api_1     |                                   destroyed: false,
  600. api_1     |                                   defaultEncoding: 'utf8',
  601. api_1     |                                   awaitDrain: 0,
  602. api_1     |                                   readingMore: false,
  603. api_1     |                                   decoder: null,
  604. api_1     |                                   encoding: null },
  605. api_1     |                                readable: false,
  606. api_1     |                                domain: null,
  607. api_1     |                                _events:
  608. api_1     |                                 { end: [ [Function: responseOnEnd], [Function] ],
  609. api_1     |                                   close: [ [Function], [Function] ],
  610. api_1     |                                   data: [Function],
  611. api_1     |                                   error: [Function] },
  612. api_1     |                                _eventsCount: 4,
  613. api_1     |                                _maxListeners: undefined,
  614. api_1     |                                socket:
  615. api_1     |                                 { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]' },
  616. api_1     |                                connection:
  617. api_1     |                                 { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]' },
  618. api_1     |                                httpVersionMajor: 1,
  619. api_1     |                                httpVersionMinor: 1,
  620. api_1     |                                httpVersion: '1.1',
  621. api_1     |                                complete: true,
  622. api_1     |                                headers:
  623. api_1     |                                 { 'x-content-type-options': 'nosniff',
  624. api_1     |                                   'x-frame-options': 'deny',
  625. api_1     |                                   'content-security-policy': 'default-src \'none\'',
  626. api_1     |                                   'content-type': 'application/json; charset=utf-8',
  627. api_1     |                                   'content-length': '38',
  628. api_1     |                                   etag: 'W/"26-pAfc18/322axUscv+xHfvA"',
  629. api_1     |                                   date: 'Sat, 19 May 2018 02:20:51 GMT',
  630. api_1     |                                   connection: 'close' },
  631. api_1     |                                rawHeaders:
  632. api_1     |                                 [ 'X-Content-Type-Options',
  633. api_1     |                                   'nosniff',
  634. api_1     |                                   'X-Frame-Options',
  635. api_1     |                                   'deny',
  636. api_1     |                                   'Content-Security-Policy',
  637. api_1     |                                   'default-src \'none\'',
  638. api_1     |                                   'Content-Type',
  639. api_1     |                                   'application/json; charset=utf-8',
  640. api_1     |                                   'Content-Length',
  641. api_1     |                                   '38',
  642. api_1     |                                   'ETag',
  643. api_1     |                                   'W/"26-pAfc18/322axUscv+xHfvA"',
  644. api_1     |                                   'Date',
  645. api_1     |                                   'Sat, 19 May 2018 02:20:51 GMT',
  646. api_1     |                                   'Connection',
  647. api_1     |                                   'close' ],
  648. api_1     |                                trailers: {},
  649. api_1     |                                rawTrailers: [],
  650. api_1     |                                upgrade: false,
  651. api_1     |                                url: '',
  652. api_1     |                                method: null,
  653. api_1     |                                statusCode: 500,
  654. api_1     |                                statusMessage: 'Internal Server Error',
  655. api_1     |                                client:
  656. api_1     |                                 { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]' },
  657. api_1     |                                _consuming: true,
  658. api_1     |                                _dumped: false,
  659. api_1     |                                req:
  660. api_1     |                                 { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]["_httpMessage"]' },
  661. api_1     |                                request: { '$ref': '$["error"]["response"]["request"]' },
  662. api_1     |                                toJSON: [Function: responseToJSON],
  663. api_1     |                                caseless:
  664. api_1     |                                 { dict:
  665. api_1     |                                    { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]["_httpMessage"]["res"]["headers"]' } },
  666. api_1     |                                read: [Function],
  667. api_1     |                                body: { error: 'Invalid token', status: 500 } },
  668. api_1     |                             aborted: undefined,
  669. api_1     |                             timeoutCb: null,
  670. api_1     |                             upgradeOrConnect: false,
  671. api_1     |                             parser: null,
  672. api_1     |                             maxHeadersCount: null },
  673. api_1     |                          read: [Function],
  674. api_1     |                          _consuming: true,
  675. api_1     |                          _idleNext: null,
  676. api_1     |                          _idlePrev: null,
  677. api_1     |                          _idleTimeout: -1 } ] },
  678. api_1     |                  freeSockets: {},
  679. api_1     |                  keepAliveMsecs: 1000,
  680. api_1     |                  keepAlive: false,
  681. api_1     |                  maxSockets: Infinity,
  682. api_1     |                  maxFreeSockets: 256 },
  683. api_1     |               IncomingMessage:
  684. api_1     |                { [Function: IncomingMessage]
  685. api_1     |                  super_:
  686. api_1     |                   { [Function: Readable]
  687. api_1     |                     ReadableState: [Function: ReadableState],
  688. api_1     |                     super_:
  689. api_1     |                      { [Function: Stream]
  690. api_1     |                        super_:
  691. api_1     |                         { [Function: EventEmitter]
  692. api_1     |                           EventEmitter: [Circular],
  693. api_1     |                           usingDomains: true,
  694. api_1     |                           defaultMaxListeners: [Getter/Setter],
  695. api_1     |                           init: [Function],
  696. api_1     |                           listenerCount: [Function] },
  697. api_1     |                        Readable: [Circular],
  698. api_1     |                        Writable: { [Function: Writable] WritableState: [Function: WritableState], super_: [Circular] },
  699. api_1     |                        Duplex: { [Function: Duplex] super_: [Circular] },
  700. api_1     |                        Transform: { [Function: Transform] super_: { [Function: Duplex] super_: [Circular] } },
  701. api_1     |                        PassThrough:
  702. api_1     |                         { [Function: PassThrough]
  703. api_1     |                           super_: { [Function: Transform] super_: { [Function: Duplex] super_: [Circular] } } },
  704. api_1     |                        Stream: [Circular],
  705. api_1     |                        _isUint8Array: [Function: isUint8Array],
  706. api_1     |                        _uint8ArrayToBuffer: [Function: _uint8ArrayToBuffer] },
  707. api_1     |                     _fromList: [Function: fromList] } },
  708. api_1     |               OutgoingMessage:
  709. api_1     |                { [Function: OutgoingMessage]
  710. api_1     |                  super_:
  711. api_1     |                   { [Function: Stream]
  712. api_1     |                     super_:
  713. api_1     |                      { [Function: EventEmitter]
  714. api_1     |                        EventEmitter: [Circular],
  715. api_1     |                        usingDomains: true,
  716. api_1     |                        defaultMaxListeners: [Getter/Setter],
  717. api_1     |                        init: [Function],
  718. api_1     |                        listenerCount: [Function] },
  719. api_1     |                     Readable:
  720. api_1     |                      { [Function: Readable]
  721. api_1     |                        ReadableState: [Function: ReadableState],
  722. api_1     |                        super_: [Circular],
  723. api_1     |                        _fromList: [Function: fromList] },
  724. api_1     |                     Writable: { [Function: Writable] WritableState: [Function: WritableState], super_: [Circular] },
  725. api_1     |                     Duplex:
  726. api_1     |                      { [Function: Duplex]
  727. api_1     |                        super_:
  728. api_1     |                         { [Function: Readable]
  729. api_1     |                           ReadableState: [Function: ReadableState],
  730. api_1     |                           super_: [Circular],
  731. api_1     |                           _fromList: [Function: fromList] } },
  732. api_1     |                     Transform:
  733. api_1     |                      { [Function: Transform]
  734. api_1     |                        super_:
  735. api_1     |                         { [Function: Duplex]
  736. api_1     |                           super_:
  737. api_1     |                            { [Function: Readable]
  738. api_1     |                              ReadableState: [Function: ReadableState],
  739. api_1     |                              super_: [Circular],
  740. api_1     |                              _fromList: [Function: fromList] } } },
  741. api_1     |                     PassThrough:
  742. api_1     |                      { [Function: PassThrough]
  743. api_1     |                        super_:
  744. api_1     |                         { [Function: Transform]
  745. api_1     |                           super_:
  746. api_1     |                            { [Function: Duplex]
  747. api_1     |                              super_:
  748. api_1     |                               { [Function: Readable]
  749. api_1     |                                 ReadableState: [Function: ReadableState],
  750. api_1     |                                 super_: [Circular],
  751. api_1     |                                 _fromList: [Function: fromList] } } } },
  752. api_1     |                     Stream: [Circular],
  753. api_1     |                     _isUint8Array: [Function: isUint8Array],
  754. api_1     |                     _uint8ArrayToBuffer: [Function: _uint8ArrayToBuffer] } },
  755. api_1     |               Server:
  756. api_1     |                { [Function: Server]
  757. api_1     |                  super_:
  758. api_1     |                   { [Function: Server]
  759. api_1     |                     super_:
  760. api_1     |                      { [Function: EventEmitter]
  761. api_1     |                        EventEmitter: [Circular],
  762. api_1     |                        usingDomains: true,
  763. api_1     |                        defaultMaxListeners: [Getter/Setter],
  764. api_1     |                        init: [Function],
  765. api_1     |                        listenerCount: [Function] } } },
  766. api_1     |               ServerResponse:
  767. api_1     |                { [Function: ServerResponse]
  768. api_1     |                  super_:
  769. api_1     |                   { [Function: OutgoingMessage]
  770. api_1     |                     super_:
  771. api_1     |                      { [Function: Stream]
  772. api_1     |                        super_:
  773. api_1     |                         { [Function: EventEmitter]
  774. api_1     |                           EventEmitter: [Circular],
  775. api_1     |                           usingDomains: true,
  776. api_1     |                           defaultMaxListeners: [Getter/Setter],
  777. api_1     |                           init: [Function],
  778. api_1     |                           listenerCount: [Function] },
  779. api_1     |                        Readable:
  780. api_1     |                         { [Function: Readable]
  781. api_1     |                           ReadableState: [Function: ReadableState],
  782. api_1     |                           super_: [Circular],
  783. api_1     |                           _fromList: [Function: fromList] },
  784. api_1     |                        Writable: { [Function: Writable] WritableState: [Function: WritableState], super_: [Circular] },
  785. api_1     |                        Duplex:
  786. api_1     |                         { [Function: Duplex]
  787. api_1     |                           super_:
  788. api_1     |                            { [Function: Readable]
  789. api_1     |                              ReadableState: [Function: ReadableState],
  790. api_1     |                              super_: [Circular],
  791. api_1     |                              _fromList: [Function: fromList] } },
  792. api_1     |                        Transform:
  793. api_1     |                         { [Function: Transform]
  794. api_1     |                           super_:
  795. api_1     |                            { [Function: Duplex]
  796. api_1     |                              super_:
  797. api_1     |                               { [Function: Readable]
  798. api_1     |                                 ReadableState: [Function: ReadableState],
  799. api_1     |                                 super_: [Circular],
  800. api_1     |                                 _fromList: [Function: fromList] } } },
  801. api_1     |                        PassThrough:
  802. api_1     |                         { [Function: PassThrough]
  803. api_1     |                           super_:
  804. api_1     |                            { [Function: Transform]
  805. api_1     |                              super_:
  806. api_1     |                               { [Function: Duplex]
  807. api_1     |                                 super_:
  808. api_1     |                                  { [Function: Readable]
  809. api_1     |                                    ReadableState: [Function: ReadableState],
  810. api_1     |                                    super_: [Circular],
  811. api_1     |                                    _fromList: [Function: fromList] } } } },
  812. api_1     |                        Stream: [Circular],
  813. api_1     |                        _isUint8Array: [Function: isUint8Array],
  814. api_1     |                        _uint8ArrayToBuffer: [Function: _uint8ArrayToBuffer] } } },
  815. api_1     |               createServer: [Function: createServer],
  816. api_1     |               get: [Function: get],
  817. api_1     |               request: [Function: request] },
  818. api_1     |            agentClass:
  819. api_1     |             { [Function: Agent]
  820. api_1     |               super_:
  821. api_1     |                { [Function: EventEmitter]
  822. api_1     |                  EventEmitter: [Circular],
  823. api_1     |                  usingDomains: true,
  824. api_1     |                  defaultMaxListeners: [Getter/Setter],
  825. api_1     |                  init: [Function],
  826. api_1     |                  listenerCount: [Function] },
  827. api_1     |               defaultMaxSockets: Infinity },
  828. api_1     |            agent:
  829. api_1     |             { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]' },
  830. api_1     |            options:
  831. api_1     |             { baseUrl: 'http://verify:7000',
  832. api_1     |               auth:
  833. api_1     |                { bearer: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0OWI2M2UwLWFhNGMtNDE5Mi1iYzU3LWE0OGY0MDYzOGRkYiIsImxvZ2luIjoidGVuYW50OmNoYWRAc2VudGlnZW5jZS5jb20iLCJqdGkiOiI2NDliNjNlMC1hYTRjLTQxOTItYmM1Ny1hNDhmNDA2MzhkZGIxNTI2Njk0NzM0MTAyIiwiaWF0IjoxNTI2Njk0NzM0MTAyLCJhdWQiOiJyZWFsZnVlbC5pbyIsImlzVGVuYW50Ijp0cnVlfQ.Ji1Hk4_133bKbLhzvrH3ztwXD0m41jKT8StkK1A7P4c' },
  834. api_1     |               method: 'POST',
  835. api_1     |               body:
  836. api_1     |                { consumer: 'chad@sentigence.com',
  837. api_1     |                  policy: { expiredOn: '24:00:00' },
  838. api_1     |                  generateCode: { length: 6, symbolSet: [ 'DIGITS' ] },
  839. api_1     |                  issuer: 'Jincor',
  840. api_1     |                  template:
  841. api_1     |                   { fromEmail: 'noreply@realfuel.io',
  842. api_1     |                     subject: 'Verify your email',
  843. api_1     |                     body: '<!DOCTYPE html>\n<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">\n<head>\n    <meta charset="utf-8"> <!-- utf-8 works for most cases -->\n    <meta name="viewport" content="width=device-width"> <!-- Forcing initial-scale shouldn\'t be necessary -->\n    <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Use the latest (edge) version of IE rendering engine -->\n    <meta name="x-apple-disable-message-reformatting">  <!-- Disable auto-scale in iOS 10 Mail entirely -->\n    <title></title> <!-- The title tag shows in email notifications, like Android 4.4. -->\n</head>\n<body width="100%" bgcolor="#fbfbfb" style="margin: 0; padding: 0 0 0 0; mso-line-height-rule: exactly;">\n    <p>\n        Please confirm your email address to get access to the wallets by\n        putting verification code: <b>{{{CODE}}}</b>\n    </p>\n</body>\n</html>' } },
  844. api_1     |               json: true,
  845. api_1     |               uri: '/methods/email/actions/initiate' },
  846. api_1     |            response:
  847. api_1     |             { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]["_httpMessage"]["res"]' },
  848. api_1     |            _started: true,
  849. api_1     |            href: 'http://verify:7000/methods/email/actions/initiate',
  850. api_1     |            req:
  851. api_1     |             { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]["_httpMessage"]' },
  852. api_1     |            ntick: true,
  853. api_1     |            originalHost: 'verify:7000',
  854. api_1     |            originalHostHeaderName: 'host',
  855. api_1     |            responseContent:
  856. api_1     |             { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]["_httpMessage"]["res"]' },
  857. api_1     |            _destdata: true,
  858. api_1     |            _ended: true,
  859. api_1     |            _callbackCalled: true },
  860. api_1     |         message:
  861. api_1     |          { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]["_httpMessage"]["res"]' },
  862. api_1     |         body:
  863. api_1     |          { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]["_httpMessage"]["res"]["body"]' } },
  864. api_1     |      statusCode: 500 } }
  865. api_1     | 2018-05-19T02:20:51.695Z - info: POST /user 500 351ms
  866. api_1     | { res: { statusCode: 500 },
  867. api_1     |   req:
  868. api_1     |    { url: '/user',
  869. api_1     |      headers:
  870. api_1     |       { host: 'localhost:9000',
  871. api_1     |         connection: 'keep-alive',
  872. api_1     |         'content-length': '113',
  873. api_1     |         accept: 'application/json',
  874. api_1     |         origin: 'http://localhost:3000',
  875. api_1     |         'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36',
  876. api_1     |         'content-type': 'application/json',
  877. api_1     |         referer: 'http://localhost:3000/auth/sign-up',
  878. api_1     |         'accept-encoding': 'gzip, deflate, br',
  879. api_1     |         'accept-language': 'en-GB,en-US;q=0.9,en;q=0.8' },
  880. api_1     |      method: 'POST',
  881. api_1     |      httpVersion: '1.1',
  882. api_1     |      originalUrl: '/user',
  883. api_1     |      query: {} },
  884. api_1     |   responseTime: 351 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement