Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- api_1 | 2018-05-19T02:20:51.332Z - info: OPTIONS /user 200 4ms
- api_1 | { res: { statusCode: 200 },
- api_1 | req:
- api_1 | { url: '/user',
- api_1 | headers:
- api_1 | { host: 'localhost:9000',
- api_1 | connection: 'keep-alive',
- api_1 | 'access-control-request-method': 'POST',
- api_1 | origin: 'http://localhost:3000',
- 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',
- api_1 | 'access-control-request-headers': 'content-type',
- api_1 | accept: '*/*',
- api_1 | referer: 'http://localhost:3000/auth/sign-up',
- api_1 | 'accept-encoding': 'gzip, deflate, br',
- api_1 | 'accept-language': 'en-GB,en-US;q=0.9,en;q=0.8' },
- api_1 | method: 'OPTIONS',
- api_1 | httpVersion: '1.1',
- api_1 | originalUrl: '/user',
- api_1 | query: {} },
- api_1 | responseTime: 4 }
- api_1 | 2018-05-19T02:20:51.639Z - debug: [USER_ACCOUNT_APP] [create] Initiate verification
- api_1 | { meta: { email: 'chad@sentigence.com' } }
- verify_1 | { host: 'verify:7000',
- verify_1 | authorization: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0OWI2M2UwLWFhNGMtNDE5Mi1iYzU3LWE0OGY0MDYzOGRkYiIsImxvZ2luIjoidGVuYW50OmNoYWRAc2VudGlnZW5jZS5jb20iLCJqdGkiOiI2NDliNjNlMC1hYTRjLTQxOTItYmM1Ny1hNDhmNDA2MzhkZGIxNTI2Njk0NzM0MTAyIiwiaWF0IjoxNTI2Njk0NzM0MTAyLCJhdWQiOiJyZWFsZnVlbC5pbyIsImlzVGVuYW50Ijp0cnVlfQ.Ji1Hk4_133bKbLhzvrH3ztwXD0m41jKT8StkK1A7P4c',
- verify_1 | accept: 'application/json',
- verify_1 | 'content-type': 'application/json',
- verify_1 | 'content-length': '1197',
- verify_1 | connection: 'close' }
- auth_1 | { accept: 'application/json',
- auth_1 | host: 'auth:8000',
- auth_1 | 'content-type': 'application/json',
- auth_1 | 'content-length': '355',
- auth_1 | connection: 'close' }
- api_1 | 2018-05-19T02:20:51.671Z - info: HTTP POST /user
- api_1 | { date: 'Sat May 19 2018 02:20:51 GMT+0000 (UTC)',
- api_1 | process:
- api_1 | { pid: 147,
- api_1 | uid: 0,
- api_1 | gid: 0,
- api_1 | cwd: '/usr/src/app',
- api_1 | execPath: '/usr/bin/node',
- api_1 | version: 'v8.6.0',
- api_1 | argv: [ 'node', '/usr/src/app/src/main.ts' ],
- api_1 | memoryUsage:
- api_1 | { rss: 118927360,
- api_1 | heapTotal: 91836416,
- api_1 | heapUsed: 77496848,
- api_1 | external: 18406435 } },
- api_1 | os:
- api_1 | { loadavg: [ 0.2568359375, 0.134765625, 0.09130859375 ],
- api_1 | uptime: 11055 },
- api_1 | trace:
- api_1 | [ { column: 28,
- api_1 | file: '/usr/src/app/node_modules/web-request/index.js',
- api_1 | function: 'Request.request [as _callback]',
- api_1 | line: 58,
- api_1 | method: 'request [as _callback]',
- api_1 | native: false },
- api_1 | { column: 22,
- api_1 | file: '/usr/src/app/node_modules/request/request.js',
- api_1 | function: 'Request.self.callback',
- api_1 | line: 185,
- api_1 | method: 'callback',
- api_1 | native: false },
- api_1 | { column: 13,
- api_1 | file: 'events.js',
- api_1 | function: 'emitTwo',
- api_1 | line: 125,
- api_1 | method: null,
- api_1 | native: false },
- api_1 | { column: 7,
- api_1 | file: 'events.js',
- api_1 | function: 'Request.emit',
- api_1 | line: 213,
- api_1 | method: 'emit',
- api_1 | native: false },
- api_1 | { column: 10,
- api_1 | file: '/usr/src/app/node_modules/request/request.js',
- api_1 | function: null,
- api_1 | line: 1157,
- api_1 | method: null,
- api_1 | native: false },
- api_1 | { column: 13,
- api_1 | file: 'events.js',
- api_1 | function: 'emitOne',
- api_1 | line: 115,
- api_1 | method: null,
- api_1 | native: false },
- api_1 | { column: 7,
- api_1 | file: 'events.js',
- api_1 | function: 'Request.emit',
- api_1 | line: 210,
- api_1 | method: 'emit',
- api_1 | native: false },
- api_1 | { column: 12,
- api_1 | file: '/usr/src/app/node_modules/request/request.js',
- api_1 | function: null,
- api_1 | line: 1079,
- api_1 | method: null,
- api_1 | native: false },
- api_1 | { column: 30,
- api_1 | file: 'events.js',
- api_1 | function: 'Object.onceWrapper',
- api_1 | line: 314,
- api_1 | method: 'onceWrapper',
- api_1 | native: false },
- api_1 | { column: 20,
- api_1 | file: 'events.js',
- api_1 | function: 'emitNone',
- api_1 | line: 110,
- api_1 | method: null,
- api_1 | native: false },
- api_1 | { column: 7,
- api_1 | file: 'events.js',
- api_1 | function: 'IncomingMessage.emit',
- api_1 | line: 207,
- api_1 | method: 'emit',
- api_1 | native: false },
- api_1 | { column: 12,
- api_1 | file: '_stream_readable.js',
- api_1 | function: 'endReadableNT',
- api_1 | line: 1059,
- api_1 | method: null,
- api_1 | native: false },
- api_1 | { column: 11,
- api_1 | file: 'internal/process/next_tick.js',
- api_1 | function: '_combinedTickCallback',
- api_1 | line: 138,
- api_1 | method: null,
- api_1 | native: false },
- api_1 | { column: 9,
- api_1 | file: 'internal/process/next_tick.js',
- api_1 | function: 'process._tickDomainCallback',
- api_1 | line: 218,
- api_1 | method: '_tickDomainCallback',
- api_1 | native: false } ],
- api_1 | stack:
- api_1 | [ 'Error: Internal Server Error',
- api_1 | ' at Request.request [as _callback] (/usr/src/app/node_modules/web-request/index.js:58:28)',
- api_1 | ' at Request.self.callback (/usr/src/app/node_modules/request/request.js:185:22)',
- api_1 | ' at emitTwo (events.js:125:13)',
- api_1 | ' at Request.emit (events.js:213:7)',
- api_1 | ' at Request.<anonymous> (/usr/src/app/node_modules/request/request.js:1157:10)',
- api_1 | ' at emitOne (events.js:115:13)',
- api_1 | ' at Request.emit (events.js:210:7)',
- api_1 | ' at IncomingMessage.<anonymous> (/usr/src/app/node_modules/request/request.js:1079:12)',
- api_1 | ' at Object.onceWrapper (events.js:314:30)',
- api_1 | ' at emitNone (events.js:110:20)',
- api_1 | ' at IncomingMessage.emit (events.js:207:7)',
- api_1 | ' at endReadableNT (_stream_readable.js:1059:12)',
- api_1 | ' at _combinedTickCallback (internal/process/next_tick.js:138:11)',
- api_1 | ' at process._tickDomainCallback (internal/process/next_tick.js:218:9)' ],
- api_1 | req:
- api_1 | { url: '/user',
- api_1 | headers:
- api_1 | { host: 'localhost:9000',
- api_1 | connection: 'keep-alive',
- api_1 | 'content-length': '113',
- api_1 | accept: 'application/json',
- api_1 | origin: 'http://localhost:3000',
- 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',
- api_1 | 'content-type': 'application/json',
- api_1 | referer: 'http://localhost:3000/auth/sign-up',
- api_1 | 'accept-encoding': 'gzip, deflate, br',
- api_1 | 'accept-language': 'en-GB,en-US;q=0.9,en;q=0.8' },
- api_1 | method: 'POST',
- api_1 | httpVersion: '1.1',
- api_1 | originalUrl: '/user',
- api_1 | query: {} } }
- api_1 | 2018-05-19T02:20:51.673Z - error: [ERROR_HANDLER] 500
- api_1 | { error:
- api_1 | { response:
- api_1 | { request:
- api_1 | { domain: null,
- api_1 | _events:
- api_1 | { error: [Function: bound ],
- api_1 | complete: [Function: bound ],
- api_1 | pipe: [Function],
- api_1 | data: [Function],
- api_1 | end: [Function] },
- api_1 | _eventsCount: 5,
- api_1 | _maxListeners: undefined,
- api_1 | method: 'POST',
- 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>"}}',
- api_1 | uri:
- api_1 | { protocol: 'http:',
- api_1 | slashes: true,
- api_1 | auth: null,
- api_1 | host: 'verify:7000',
- api_1 | port: '7000',
- api_1 | hostname: 'verify',
- api_1 | hash: null,
- api_1 | search: null,
- api_1 | query: null,
- api_1 | pathname: '/methods/email/actions/initiate',
- api_1 | path: '/methods/email/actions/initiate',
- api_1 | href: 'http://verify:7000/methods/email/actions/initiate' },
- api_1 | callback: [Function],
- api_1 | readable: true,
- api_1 | writable: true,
- api_1 | explicitMethod: true,
- api_1 | _qs:
- api_1 | { request: { '$ref': '$["error"]["response"]["request"]' },
- api_1 | lib:
- api_1 | { formats:
- api_1 | { default: 'RFC3986',
- api_1 | formatters: { RFC1738: [Function: RFC1738], RFC3986: [Function: RFC3986] },
- api_1 | RFC1738: 'RFC1738',
- api_1 | RFC3986: 'RFC3986' },
- api_1 | parse: [Function],
- api_1 | stringify: [Function] },
- api_1 | useQuerystring: undefined,
- api_1 | parseOptions: {},
- api_1 | stringifyOptions: {} },
- api_1 | _auth:
- api_1 | { request: { '$ref': '$["error"]["response"]["request"]' },
- api_1 | hasAuth: true,
- api_1 | sentAuth: true,
- api_1 | bearerToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0OWI2M2UwLWFhNGMtNDE5Mi1iYzU3LWE0OGY0MDYzOGRkYiIsImxvZ2luIjoidGVuYW50OmNoYWRAc2VudGlnZW5jZS5jb20iLCJqdGkiOiI2NDliNjNlMC1hYTRjLTQxOTItYmM1Ny1hNDhmNDA2MzhkZGIxNTI2Njk0NzM0MTAyIiwiaWF0IjoxNTI2Njk0NzM0MTAyLCJhdWQiOiJyZWFsZnVlbC5pbyIsImlzVGVuYW50Ijp0cnVlfQ.Ji1Hk4_133bKbLhzvrH3ztwXD0m41jKT8StkK1A7P4c',
- api_1 | user: null,
- api_1 | pass: null },
- api_1 | _oauth:
- api_1 | { request: { '$ref': '$["error"]["response"]["request"]' },
- api_1 | params: null },
- api_1 | _multipart:
- api_1 | { request: { '$ref': '$["error"]["response"]["request"]' },
- api_1 | boundary: '2646cb11-4d1e-4818-bcde-80946169af42',
- api_1 | chunked: false,
- api_1 | body: null },
- api_1 | _redirect:
- api_1 | { request: { '$ref': '$["error"]["response"]["request"]' },
- api_1 | followRedirect: true,
- api_1 | followRedirects: true,
- api_1 | followAllRedirects: false,
- api_1 | followOriginalHttpMethod: false,
- api_1 | allowRedirect: [Function],
- api_1 | maxRedirects: 10,
- api_1 | redirects: [],
- api_1 | redirectsFollowed: 0,
- api_1 | removeRefererHeader: false },
- api_1 | _tunnel:
- api_1 | { request: { '$ref': '$["error"]["response"]["request"]' },
- api_1 | proxyHeaderWhiteList:
- api_1 | [ 'accept',
- api_1 | 'accept-charset',
- api_1 | 'accept-encoding',
- api_1 | 'accept-language',
- api_1 | 'accept-ranges',
- api_1 | 'cache-control',
- api_1 | 'content-encoding',
- api_1 | 'content-language',
- api_1 | 'content-location',
- api_1 | 'content-md5',
- api_1 | 'content-range',
- api_1 | 'content-type',
- api_1 | 'connection',
- api_1 | 'date',
- api_1 | 'expect',
- api_1 | 'max-forwards',
- api_1 | 'pragma',
- api_1 | 'referer',
- api_1 | 'te',
- api_1 | 'user-agent',
- api_1 | 'via' ],
- api_1 | proxyHeaderExclusiveList: [] },
- api_1 | headers:
- api_1 | { authorization: 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0OWI2M2UwLWFhNGMtNDE5Mi1iYzU3LWE0OGY0MDYzOGRkYiIsImxvZ2luIjoidGVuYW50OmNoYWRAc2VudGlnZW5jZS5jb20iLCJqdGkiOiI2NDliNjNlMC1hYTRjLTQxOTItYmM1Ny1hNDhmNDA2MzhkZGIxNTI2Njk0NzM0MTAyIiwiaWF0IjoxNTI2Njk0NzM0MTAyLCJhdWQiOiJyZWFsZnVlbC5pbyIsImlzVGVuYW50Ijp0cnVlfQ.Ji1Hk4_133bKbLhzvrH3ztwXD0m41jKT8StkK1A7P4c',
- api_1 | accept: 'application/json',
- api_1 | 'content-type': 'application/json',
- api_1 | 'content-length': 1197 },
- api_1 | setHeader: [Function],
- api_1 | hasHeader: [Function],
- api_1 | getHeader: [Function],
- api_1 | removeHeader: [Function],
- api_1 | localAddress: undefined,
- api_1 | pool: {},
- api_1 | dests: [],
- api_1 | __isRequestRequest: true,
- api_1 | _callback: [Function],
- api_1 | proxy: null,
- api_1 | tunnel: false,
- api_1 | setHost: true,
- api_1 | originalCookieHeader: undefined,
- api_1 | _disableCookies: true,
- api_1 | _jar: undefined,
- api_1 | port: '7000',
- api_1 | host: 'verify',
- api_1 | path: '/methods/email/actions/initiate',
- api_1 | _json: true,
- api_1 | httpModule:
- api_1 | { _connectionListener: [Function: connectionListener],
- api_1 | METHODS:
- api_1 | [ 'ACL',
- api_1 | 'BIND',
- api_1 | 'CHECKOUT',
- api_1 | 'CONNECT',
- api_1 | 'COPY',
- api_1 | 'DELETE',
- api_1 | 'GET',
- api_1 | 'HEAD',
- api_1 | 'LINK',
- api_1 | 'LOCK',
- api_1 | 'M-SEARCH',
- api_1 | 'MERGE',
- api_1 | 'MKACTIVITY',
- api_1 | 'MKCALENDAR',
- api_1 | 'MKCOL',
- api_1 | 'MOVE',
- api_1 | 'NOTIFY',
- api_1 | 'OPTIONS',
- api_1 | 'PATCH',
- api_1 | 'POST',
- api_1 | 'PROPFIND',
- api_1 | 'PROPPATCH',
- api_1 | 'PURGE',
- api_1 | 'PUT',
- api_1 | 'REBIND',
- api_1 | 'REPORT',
- api_1 | 'SEARCH',
- api_1 | 'SUBSCRIBE',
- api_1 | 'TRACE',
- api_1 | 'UNBIND',
- api_1 | 'UNLINK',
- api_1 | 'UNLOCK',
- api_1 | 'UNSUBSCRIBE' ],
- api_1 | STATUS_CODES:
- api_1 | { '100': 'Continue',
- api_1 | '101': 'Switching Protocols',
- api_1 | '102': 'Processing',
- api_1 | '200': 'OK',
- api_1 | '201': 'Created',
- api_1 | '202': 'Accepted',
- api_1 | '203': 'Non-Authoritative Information',
- api_1 | '204': 'No Content',
- api_1 | '205': 'Reset Content',
- api_1 | '206': 'Partial Content',
- api_1 | '207': 'Multi-Status',
- api_1 | '208': 'Already Reported',
- api_1 | '226': 'IM Used',
- api_1 | '300': 'Multiple Choices',
- api_1 | '301': 'Moved Permanently',
- api_1 | '302': 'Found',
- api_1 | '303': 'See Other',
- api_1 | '304': 'Not Modified',
- api_1 | '305': 'Use Proxy',
- api_1 | '307': 'Temporary Redirect',
- api_1 | '308': 'Permanent Redirect',
- api_1 | '400': 'Bad Request',
- api_1 | '401': 'Unauthorized',
- api_1 | '402': 'Payment Required',
- api_1 | '403': 'Forbidden',
- api_1 | '404': 'Not Found',
- api_1 | '405': 'Method Not Allowed',
- api_1 | '406': 'Not Acceptable',
- api_1 | '407': 'Proxy Authentication Required',
- api_1 | '408': 'Request Timeout',
- api_1 | '409': 'Conflict',
- api_1 | '410': 'Gone',
- api_1 | '411': 'Length Required',
- api_1 | '412': 'Precondition Failed',
- api_1 | '413': 'Payload Too Large',
- api_1 | '414': 'URI Too Long',
- api_1 | '415': 'Unsupported Media Type',
- api_1 | '416': 'Range Not Satisfiable',
- api_1 | '417': 'Expectation Failed',
- api_1 | '418': 'I\'m a teapot',
- api_1 | '421': 'Misdirected Request',
- api_1 | '422': 'Unprocessable Entity',
- api_1 | '423': 'Locked',
- api_1 | '424': 'Failed Dependency',
- api_1 | '425': 'Unordered Collection',
- api_1 | '426': 'Upgrade Required',
- api_1 | '428': 'Precondition Required',
- api_1 | '429': 'Too Many Requests',
- api_1 | '431': 'Request Header Fields Too Large',
- api_1 | '451': 'Unavailable For Legal Reasons',
- api_1 | '500': 'Internal Server Error',
- api_1 | '501': 'Not Implemented',
- api_1 | '502': 'Bad Gateway',
- api_1 | '503': 'Service Unavailable',
- api_1 | '504': 'Gateway Timeout',
- api_1 | '505': 'HTTP Version Not Supported',
- api_1 | '506': 'Variant Also Negotiates',
- api_1 | '507': 'Insufficient Storage',
- api_1 | '508': 'Loop Detected',
- api_1 | '509': 'Bandwidth Limit Exceeded',
- api_1 | '510': 'Not Extended',
- api_1 | '511': 'Network Authentication Required' },
- api_1 | Agent:
- api_1 | { [Function: Agent]
- api_1 | super_:
- api_1 | { [Function: EventEmitter]
- api_1 | EventEmitter: [Circular],
- api_1 | usingDomains: true,
- api_1 | defaultMaxListeners: [Getter/Setter],
- api_1 | init: [Function],
- api_1 | listenerCount: [Function] },
- api_1 | defaultMaxSockets: Infinity },
- api_1 | ClientRequest:
- api_1 | { [Function: ClientRequest]
- api_1 | super_:
- api_1 | { [Function: OutgoingMessage]
- api_1 | super_:
- api_1 | { [Function: Stream]
- api_1 | super_:
- api_1 | { [Function: EventEmitter]
- api_1 | EventEmitter: [Circular],
- api_1 | usingDomains: true,
- api_1 | defaultMaxListeners: [Getter/Setter],
- api_1 | init: [Function],
- api_1 | listenerCount: [Function] },
- api_1 | Readable:
- api_1 | { [Function: Readable]
- api_1 | ReadableState: [Function: ReadableState],
- api_1 | super_: [Circular],
- api_1 | _fromList: [Function: fromList] },
- api_1 | Writable: { [Function: Writable] WritableState: [Function: WritableState], super_: [Circular] },
- api_1 | Duplex:
- api_1 | { [Function: Duplex]
- api_1 | super_:
- api_1 | { [Function: Readable]
- api_1 | ReadableState: [Function: ReadableState],
- api_1 | super_: [Circular],
- api_1 | _fromList: [Function: fromList] } },
- api_1 | Transform:
- api_1 | { [Function: Transform]
- api_1 | super_:
- api_1 | { [Function: Duplex]
- api_1 | super_:
- api_1 | { [Function: Readable]
- api_1 | ReadableState: [Function: ReadableState],
- api_1 | super_: [Circular],
- api_1 | _fromList: [Function: fromList] } } },
- api_1 | PassThrough:
- api_1 | { [Function: PassThrough]
- api_1 | super_:
- api_1 | { [Function: Transform]
- api_1 | super_:
- api_1 | { [Function: Duplex]
- api_1 | super_:
- api_1 | { [Function: Readable]
- api_1 | ReadableState: [Function: ReadableState],
- api_1 | super_: [Circular],
- api_1 | _fromList: [Function: fromList] } } } },
- api_1 | Stream: [Circular],
- api_1 | _isUint8Array: [Function: isUint8Array],
- api_1 | _uint8ArrayToBuffer: [Function: _uint8ArrayToBuffer] } } },
- api_1 | globalAgent:
- api_1 | { domain: null,
- api_1 | _events: { free: [Function] },
- api_1 | _eventsCount: 1,
- api_1 | _maxListeners: undefined,
- api_1 | defaultPort: 80,
- api_1 | protocol: 'http:',
- api_1 | options: { path: null },
- api_1 | requests: {},
- api_1 | sockets:
- api_1 | { 'verify:7000:':
- api_1 | [ { connecting: false,
- api_1 | _hadError: false,
- api_1 | _handle: null,
- api_1 | _parent: null,
- api_1 | _host: 'verify',
- api_1 | _readableState:
- api_1 | { objectMode: false,
- api_1 | highWaterMark: 16384,
- api_1 | buffer: { head: null, tail: null, length: 0 },
- api_1 | length: 0,
- api_1 | pipes: null,
- api_1 | pipesCount: 0,
- api_1 | flowing: true,
- api_1 | ended: false,
- api_1 | endEmitted: false,
- api_1 | reading: true,
- api_1 | sync: false,
- api_1 | needReadable: true,
- api_1 | emittedReadable: false,
- api_1 | readableListening: false,
- api_1 | resumeScheduled: false,
- api_1 | destroyed: true,
- api_1 | defaultEncoding: 'utf8',
- api_1 | awaitDrain: 0,
- api_1 | readingMore: false,
- api_1 | decoder: null,
- api_1 | encoding: null },
- api_1 | readable: false,
- api_1 | domain: null,
- api_1 | _events:
- api_1 | { end: { [Function: bound onceWrapper] listener: [Function: onend] },
- api_1 | finish: [Function: onSocketFinish],
- api_1 | _socketEnd: [Function: onSocketEnd],
- api_1 | free: [Function: onFree],
- api_1 | close: [ [Function: onClose], [Function: socketCloseListener] ],
- api_1 | agentRemove: [Function: onRemove],
- api_1 | drain: [Function: ondrain],
- api_1 | error: [Function: socketErrorListener] },
- api_1 | _eventsCount: 8,
- api_1 | _maxListeners: undefined,
- api_1 | _writableState:
- api_1 | { objectMode: false,
- api_1 | highWaterMark: 16384,
- api_1 | finalCalled: false,
- api_1 | needDrain: false,
- api_1 | ending: true,
- api_1 | ended: true,
- api_1 | finished: true,
- api_1 | destroyed: true,
- api_1 | decodeStrings: false,
- api_1 | defaultEncoding: 'utf8',
- api_1 | length: 0,
- api_1 | writing: false,
- api_1 | corked: 0,
- api_1 | sync: false,
- api_1 | bufferProcessing: false,
- api_1 | onwrite: [Function: bound onwrite],
- api_1 | writecb: null,
- api_1 | writelen: 0,
- api_1 | bufferedRequest: null,
- api_1 | lastBufferedRequest: null,
- api_1 | pendingcb: 0,
- api_1 | prefinished: true,
- api_1 | errorEmitted: false,
- api_1 | bufferedRequestCount: 0,
- api_1 | corkedRequestsFree:
- api_1 | { next:
- api_1 | { next: null,
- api_1 | entry: null,
- api_1 | finish: [Function: bound onCorkedFinish] },
- api_1 | entry: null,
- api_1 | finish: [Function: bound onCorkedFinish] } },
- api_1 | writable: false,
- api_1 | allowHalfOpen: false,
- api_1 | _bytesDispatched: 1731,
- api_1 | _sockname: null,
- api_1 | _pendingData: null,
- api_1 | _pendingEncoding: '',
- api_1 | server: null,
- api_1 | _server: null,
- api_1 | parser: null,
- api_1 | _httpMessage:
- api_1 | { domain: null,
- api_1 | _events:
- api_1 | { socket: [Function],
- api_1 | response: [Function: bound ],
- api_1 | error: [Function: bound ],
- api_1 | drain: [Function],
- api_1 | prefinish: [Function: requestOnPrefinish] },
- api_1 | _eventsCount: 5,
- api_1 | _maxListeners: undefined,
- api_1 | output: [],
- api_1 | outputEncodings: [],
- api_1 | outputCallbacks: [],
- api_1 | outputSize: 0,
- api_1 | writable: true,
- api_1 | _last: true,
- api_1 | upgrading: false,
- api_1 | chunkedEncoding: false,
- api_1 | shouldKeepAlive: false,
- api_1 | useChunkedEncodingByDefault: true,
- api_1 | sendDate: false,
- api_1 | _removedConnection: false,
- api_1 | _removedContLen: false,
- api_1 | _removedTE: false,
- api_1 | _contentLength: null,
- api_1 | _hasBody: true,
- api_1 | _trailer: '',
- api_1 | finished: true,
- api_1 | _headerSent: true,
- api_1 | socket:
- api_1 | { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]' },
- api_1 | connection:
- api_1 | { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]' },
- 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',
- api_1 | _onPendingData: [Function: noopPendingOutput],
- api_1 | agent:
- api_1 | { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]' },
- api_1 | socketPath: undefined,
- api_1 | timeout: undefined,
- api_1 | method: 'POST',
- api_1 | path: '/methods/email/actions/initiate',
- api_1 | _ended: true,
- api_1 | res:
- api_1 | { _readableState:
- api_1 | { objectMode: false,
- api_1 | highWaterMark: 16384,
- api_1 | buffer: { head: null, tail: null, length: 0 },
- api_1 | length: 0,
- api_1 | pipes: null,
- api_1 | pipesCount: 0,
- api_1 | flowing: true,
- api_1 | ended: true,
- api_1 | endEmitted: true,
- api_1 | reading: false,
- api_1 | sync: true,
- api_1 | needReadable: false,
- api_1 | emittedReadable: false,
- api_1 | readableListening: false,
- api_1 | resumeScheduled: false,
- api_1 | destroyed: false,
- api_1 | defaultEncoding: 'utf8',
- api_1 | awaitDrain: 0,
- api_1 | readingMore: false,
- api_1 | decoder: null,
- api_1 | encoding: null },
- api_1 | readable: false,
- api_1 | domain: null,
- api_1 | _events:
- api_1 | { end: [ [Function: responseOnEnd], [Function] ],
- api_1 | close: [ [Function], [Function] ],
- api_1 | data: [Function],
- api_1 | error: [Function] },
- api_1 | _eventsCount: 4,
- api_1 | _maxListeners: undefined,
- api_1 | socket:
- api_1 | { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]' },
- api_1 | connection:
- api_1 | { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]' },
- api_1 | httpVersionMajor: 1,
- api_1 | httpVersionMinor: 1,
- api_1 | httpVersion: '1.1',
- api_1 | complete: true,
- api_1 | headers:
- api_1 | { 'x-content-type-options': 'nosniff',
- api_1 | 'x-frame-options': 'deny',
- api_1 | 'content-security-policy': 'default-src \'none\'',
- api_1 | 'content-type': 'application/json; charset=utf-8',
- api_1 | 'content-length': '38',
- api_1 | etag: 'W/"26-pAfc18/322axUscv+xHfvA"',
- api_1 | date: 'Sat, 19 May 2018 02:20:51 GMT',
- api_1 | connection: 'close' },
- api_1 | rawHeaders:
- api_1 | [ 'X-Content-Type-Options',
- api_1 | 'nosniff',
- api_1 | 'X-Frame-Options',
- api_1 | 'deny',
- api_1 | 'Content-Security-Policy',
- api_1 | 'default-src \'none\'',
- api_1 | 'Content-Type',
- api_1 | 'application/json; charset=utf-8',
- api_1 | 'Content-Length',
- api_1 | '38',
- api_1 | 'ETag',
- api_1 | 'W/"26-pAfc18/322axUscv+xHfvA"',
- api_1 | 'Date',
- api_1 | 'Sat, 19 May 2018 02:20:51 GMT',
- api_1 | 'Connection',
- api_1 | 'close' ],
- api_1 | trailers: {},
- api_1 | rawTrailers: [],
- api_1 | upgrade: false,
- api_1 | url: '',
- api_1 | method: null,
- api_1 | statusCode: 500,
- api_1 | statusMessage: 'Internal Server Error',
- api_1 | client:
- api_1 | { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]' },
- api_1 | _consuming: true,
- api_1 | _dumped: false,
- api_1 | req:
- api_1 | { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]["_httpMessage"]' },
- api_1 | request: { '$ref': '$["error"]["response"]["request"]' },
- api_1 | toJSON: [Function: responseToJSON],
- api_1 | caseless:
- api_1 | { dict:
- api_1 | { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]["_httpMessage"]["res"]["headers"]' } },
- api_1 | read: [Function],
- api_1 | body: { error: 'Invalid token', status: 500 } },
- api_1 | aborted: undefined,
- api_1 | timeoutCb: null,
- api_1 | upgradeOrConnect: false,
- api_1 | parser: null,
- api_1 | maxHeadersCount: null },
- api_1 | read: [Function],
- api_1 | _consuming: true,
- api_1 | _idleNext: null,
- api_1 | _idlePrev: null,
- api_1 | _idleTimeout: -1 } ] },
- api_1 | freeSockets: {},
- api_1 | keepAliveMsecs: 1000,
- api_1 | keepAlive: false,
- api_1 | maxSockets: Infinity,
- api_1 | maxFreeSockets: 256 },
- api_1 | IncomingMessage:
- api_1 | { [Function: IncomingMessage]
- api_1 | super_:
- api_1 | { [Function: Readable]
- api_1 | ReadableState: [Function: ReadableState],
- api_1 | super_:
- api_1 | { [Function: Stream]
- api_1 | super_:
- api_1 | { [Function: EventEmitter]
- api_1 | EventEmitter: [Circular],
- api_1 | usingDomains: true,
- api_1 | defaultMaxListeners: [Getter/Setter],
- api_1 | init: [Function],
- api_1 | listenerCount: [Function] },
- api_1 | Readable: [Circular],
- api_1 | Writable: { [Function: Writable] WritableState: [Function: WritableState], super_: [Circular] },
- api_1 | Duplex: { [Function: Duplex] super_: [Circular] },
- api_1 | Transform: { [Function: Transform] super_: { [Function: Duplex] super_: [Circular] } },
- api_1 | PassThrough:
- api_1 | { [Function: PassThrough]
- api_1 | super_: { [Function: Transform] super_: { [Function: Duplex] super_: [Circular] } } },
- api_1 | Stream: [Circular],
- api_1 | _isUint8Array: [Function: isUint8Array],
- api_1 | _uint8ArrayToBuffer: [Function: _uint8ArrayToBuffer] },
- api_1 | _fromList: [Function: fromList] } },
- api_1 | OutgoingMessage:
- api_1 | { [Function: OutgoingMessage]
- api_1 | super_:
- api_1 | { [Function: Stream]
- api_1 | super_:
- api_1 | { [Function: EventEmitter]
- api_1 | EventEmitter: [Circular],
- api_1 | usingDomains: true,
- api_1 | defaultMaxListeners: [Getter/Setter],
- api_1 | init: [Function],
- api_1 | listenerCount: [Function] },
- api_1 | Readable:
- api_1 | { [Function: Readable]
- api_1 | ReadableState: [Function: ReadableState],
- api_1 | super_: [Circular],
- api_1 | _fromList: [Function: fromList] },
- api_1 | Writable: { [Function: Writable] WritableState: [Function: WritableState], super_: [Circular] },
- api_1 | Duplex:
- api_1 | { [Function: Duplex]
- api_1 | super_:
- api_1 | { [Function: Readable]
- api_1 | ReadableState: [Function: ReadableState],
- api_1 | super_: [Circular],
- api_1 | _fromList: [Function: fromList] } },
- api_1 | Transform:
- api_1 | { [Function: Transform]
- api_1 | super_:
- api_1 | { [Function: Duplex]
- api_1 | super_:
- api_1 | { [Function: Readable]
- api_1 | ReadableState: [Function: ReadableState],
- api_1 | super_: [Circular],
- api_1 | _fromList: [Function: fromList] } } },
- api_1 | PassThrough:
- api_1 | { [Function: PassThrough]
- api_1 | super_:
- api_1 | { [Function: Transform]
- api_1 | super_:
- api_1 | { [Function: Duplex]
- api_1 | super_:
- api_1 | { [Function: Readable]
- api_1 | ReadableState: [Function: ReadableState],
- api_1 | super_: [Circular],
- api_1 | _fromList: [Function: fromList] } } } },
- api_1 | Stream: [Circular],
- api_1 | _isUint8Array: [Function: isUint8Array],
- api_1 | _uint8ArrayToBuffer: [Function: _uint8ArrayToBuffer] } },
- api_1 | Server:
- api_1 | { [Function: Server]
- api_1 | super_:
- api_1 | { [Function: Server]
- api_1 | super_:
- api_1 | { [Function: EventEmitter]
- api_1 | EventEmitter: [Circular],
- api_1 | usingDomains: true,
- api_1 | defaultMaxListeners: [Getter/Setter],
- api_1 | init: [Function],
- api_1 | listenerCount: [Function] } } },
- api_1 | ServerResponse:
- api_1 | { [Function: ServerResponse]
- api_1 | super_:
- api_1 | { [Function: OutgoingMessage]
- api_1 | super_:
- api_1 | { [Function: Stream]
- api_1 | super_:
- api_1 | { [Function: EventEmitter]
- api_1 | EventEmitter: [Circular],
- api_1 | usingDomains: true,
- api_1 | defaultMaxListeners: [Getter/Setter],
- api_1 | init: [Function],
- api_1 | listenerCount: [Function] },
- api_1 | Readable:
- api_1 | { [Function: Readable]
- api_1 | ReadableState: [Function: ReadableState],
- api_1 | super_: [Circular],
- api_1 | _fromList: [Function: fromList] },
- api_1 | Writable: { [Function: Writable] WritableState: [Function: WritableState], super_: [Circular] },
- api_1 | Duplex:
- api_1 | { [Function: Duplex]
- api_1 | super_:
- api_1 | { [Function: Readable]
- api_1 | ReadableState: [Function: ReadableState],
- api_1 | super_: [Circular],
- api_1 | _fromList: [Function: fromList] } },
- api_1 | Transform:
- api_1 | { [Function: Transform]
- api_1 | super_:
- api_1 | { [Function: Duplex]
- api_1 | super_:
- api_1 | { [Function: Readable]
- api_1 | ReadableState: [Function: ReadableState],
- api_1 | super_: [Circular],
- api_1 | _fromList: [Function: fromList] } } },
- api_1 | PassThrough:
- api_1 | { [Function: PassThrough]
- api_1 | super_:
- api_1 | { [Function: Transform]
- api_1 | super_:
- api_1 | { [Function: Duplex]
- api_1 | super_:
- api_1 | { [Function: Readable]
- api_1 | ReadableState: [Function: ReadableState],
- api_1 | super_: [Circular],
- api_1 | _fromList: [Function: fromList] } } } },
- api_1 | Stream: [Circular],
- api_1 | _isUint8Array: [Function: isUint8Array],
- api_1 | _uint8ArrayToBuffer: [Function: _uint8ArrayToBuffer] } } },
- api_1 | createServer: [Function: createServer],
- api_1 | get: [Function: get],
- api_1 | request: [Function: request] },
- api_1 | agentClass:
- api_1 | { [Function: Agent]
- api_1 | super_:
- api_1 | { [Function: EventEmitter]
- api_1 | EventEmitter: [Circular],
- api_1 | usingDomains: true,
- api_1 | defaultMaxListeners: [Getter/Setter],
- api_1 | init: [Function],
- api_1 | listenerCount: [Function] },
- api_1 | defaultMaxSockets: Infinity },
- api_1 | agent:
- api_1 | { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]' },
- api_1 | options:
- api_1 | { baseUrl: 'http://verify:7000',
- api_1 | auth:
- api_1 | { bearer: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0OWI2M2UwLWFhNGMtNDE5Mi1iYzU3LWE0OGY0MDYzOGRkYiIsImxvZ2luIjoidGVuYW50OmNoYWRAc2VudGlnZW5jZS5jb20iLCJqdGkiOiI2NDliNjNlMC1hYTRjLTQxOTItYmM1Ny1hNDhmNDA2MzhkZGIxNTI2Njk0NzM0MTAyIiwiaWF0IjoxNTI2Njk0NzM0MTAyLCJhdWQiOiJyZWFsZnVlbC5pbyIsImlzVGVuYW50Ijp0cnVlfQ.Ji1Hk4_133bKbLhzvrH3ztwXD0m41jKT8StkK1A7P4c' },
- api_1 | method: 'POST',
- api_1 | body:
- api_1 | { consumer: 'chad@sentigence.com',
- api_1 | policy: { expiredOn: '24:00:00' },
- api_1 | generateCode: { length: 6, symbolSet: [ 'DIGITS' ] },
- api_1 | issuer: 'Jincor',
- api_1 | template:
- api_1 | { fromEmail: 'noreply@realfuel.io',
- api_1 | subject: 'Verify your email',
- 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>' } },
- api_1 | json: true,
- api_1 | uri: '/methods/email/actions/initiate' },
- api_1 | response:
- api_1 | { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]["_httpMessage"]["res"]' },
- api_1 | _started: true,
- api_1 | href: 'http://verify:7000/methods/email/actions/initiate',
- api_1 | req:
- api_1 | { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]["_httpMessage"]' },
- api_1 | ntick: true,
- api_1 | originalHost: 'verify:7000',
- api_1 | originalHostHeaderName: 'host',
- api_1 | responseContent:
- api_1 | { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]["_httpMessage"]["res"]' },
- api_1 | _destdata: true,
- api_1 | _ended: true,
- api_1 | _callbackCalled: true },
- api_1 | message:
- api_1 | { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]["_httpMessage"]["res"]' },
- api_1 | body:
- api_1 | { '$ref': '$["error"]["response"]["request"]["httpModule"]["globalAgent"]["sockets"]["verify:7000:"][0]["_httpMessage"]["res"]["body"]' } },
- api_1 | statusCode: 500 } }
- api_1 | 2018-05-19T02:20:51.695Z - info: POST /user 500 351ms
- api_1 | { res: { statusCode: 500 },
- api_1 | req:
- api_1 | { url: '/user',
- api_1 | headers:
- api_1 | { host: 'localhost:9000',
- api_1 | connection: 'keep-alive',
- api_1 | 'content-length': '113',
- api_1 | accept: 'application/json',
- api_1 | origin: 'http://localhost:3000',
- 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',
- api_1 | 'content-type': 'application/json',
- api_1 | referer: 'http://localhost:3000/auth/sign-up',
- api_1 | 'accept-encoding': 'gzip, deflate, br',
- api_1 | 'accept-language': 'en-GB,en-US;q=0.9,en;q=0.8' },
- api_1 | method: 'POST',
- api_1 | httpVersion: '1.1',
- api_1 | originalUrl: '/user',
- api_1 | query: {} },
- api_1 | responseTime: 351 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement