Advertisement
Guest User

Untitled

a guest
Sep 18th, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Something went wrong: { [Error: [object Object]]
  2.   message:
  3.    IncomingMessage {
  4.      _readableState:
  5.       ReadableState {
  6.         objectMode: false,
  7.         highWaterMark: 16384,
  8.         buffer: [Object],
  9.         length: 0,
  10.         pipes: null,
  11.         pipesCount: 0,
  12.         flowing: true,
  13.         ended: true,
  14.         endEmitted: true,
  15.         reading: false,
  16.         sync: true,
  17.         needReadable: false,
  18.         emittedReadable: false,
  19.         readableListening: false,
  20.         resumeScheduled: false,
  21.         defaultEncoding: 'utf8',
  22.         ranOut: false,
  23.         awaitDrain: 0,
  24.         readingMore: false,
  25.         decoder: null,
  26.         encoding: null },
  27.      readable: false,
  28.      domain: null,
  29.      _events:
  30.       { end: [Object],
  31.         close: [Object],
  32.         data: [Function],
  33.         error: [Function] },
  34.      _eventsCount: 4,
  35.      _maxListeners: undefined,
  36.      socket:
  37.       TLSSocket {
  38.         _tlsOptions: [Object],
  39.         _secureEstablished: true,
  40.         _securePending: false,
  41.         _newSessionPending: false,
  42.         _controlReleased: true,
  43.         _SNICallback: null,
  44.         servername: null,
  45.         npnProtocol: undefined,
  46.         alpnProtocol: false,
  47.         authorized: true,
  48.         authorizationError: null,
  49.         encrypted: true,
  50.         _events: [Object],
  51.         _eventsCount: 9,
  52.         connecting: false,
  53.         _hadError: false,
  54.         _handle: null,
  55.         _parent: null,
  56.         _host: 'beam.pro',
  57.         _readableState: [Object],
  58.         readable: false,
  59.         domain: null,
  60.         _maxListeners: undefined,
  61.         _writableState: [Object],
  62.         writable: false,
  63.         allowHalfOpen: false,
  64.         destroyed: true,
  65.         _bytesDispatched: 206,
  66.         _sockname: null,
  67.         _pendingData: null,
  68.         _pendingEncoding: '',
  69.         server: undefined,
  70.         _server: null,
  71.         ssl: null,
  72.         _requestCert: true,
  73.         _rejectUnauthorized: true,
  74.         parser: null,
  75.         _httpMessage: [Object],
  76.         read: [Function],
  77.         _consuming: true,
  78.         _idleNext: null,
  79.         _idlePrev: null,
  80.         _idleTimeout: -1 },
  81.      connection:
  82.       TLSSocket {
  83.         _tlsOptions: [Object],
  84.         _secureEstablished: true,
  85.         _securePending: false,
  86.         _newSessionPending: false,
  87.         _controlReleased: true,
  88.         _SNICallback: null,
  89.         servername: null,
  90.         npnProtocol: undefined,
  91.         alpnProtocol: false,
  92.         authorized: true,
  93.         authorizationError: null,
  94.         encrypted: true,
  95.         _events: [Object],
  96.         _eventsCount: 9,
  97.         connecting: false,
  98.         _hadError: false,
  99.         _handle: null,
  100.         _parent: null,
  101.         _host: 'beam.pro',
  102.         _readableState: [Object],
  103.         readable: false,
  104.         domain: null,
  105.         _maxListeners: undefined,
  106.         _writableState: [Object],
  107.         writable: false,
  108.         allowHalfOpen: false,
  109.         destroyed: true,
  110.         _bytesDispatched: 206,
  111.         _sockname: null,
  112.         _pendingData: null,
  113.         _pendingEncoding: '',
  114.         server: undefined,
  115.         _server: null,
  116.         ssl: null,
  117.         _requestCert: true,
  118.         _rejectUnauthorized: true,
  119.         parser: null,
  120.         _httpMessage: [Object],
  121.         read: [Function],
  122.         _consuming: true,
  123.         _idleNext: null,
  124.         _idlePrev: null,
  125.         _idleTimeout: -1 },
  126.      httpVersionMajor: 1,
  127.      httpVersionMinor: 1,
  128.      httpVersion: '1.1',
  129.      complete: true,
  130.      headers:
  131.       { server: 'nginx/1.8.1',
  132.         'content-type': 'application/json; charset=utf-8',
  133.         'x-rate-limit': '2000',
  134.         'x-ratelimit-remaining': '1999',
  135.         'x-ratelimit-reset': '1474244135540',
  136.         'cache-control': 'no-cache',
  137.         'strict-transport-security': 'max-age=31536000',
  138.         'accept-ranges': 'bytes, bytes',
  139.         via: '1.1 varnish, 1.1 varnish',
  140.         'fastly-debug-digest': '1f99b81f5b780d96fa3b8ab2568a45f8ffce8a42db13a7a4b972480c5356613a',
  141.         'content-length': '82',
  142.         date: 'Mon, 19 Sep 2016 00:14:35 GMT',
  143.         connection: 'close',
  144.         'x-served-by': 'cache-dfw1829-DFW, cache-lhr6342-LHR',
  145.         'x-cache': 'MISS, MISS',
  146.         'x-cache-hits': '0, 0',
  147.         'x-timer': 'S1474244075.469048,VS0,VE119',
  148.         vary: 'origin',
  149.         'x-csrf-token': '425b78397f3298f3da2cb55d7fc15aebce13b0ad',
  150.         'set-cookie': [Object],
  151.         'access-control-allow-origin': '*',
  152.         'access-control-expose-headers': 'x-total-count, x-rate-limit, x-ratelimit-remaining, x-ratelimit-reset, link, x-cache, x-cache-hits, content-length, content-type, content-range, range',
  153.         'access-control-allow-methods': 'GET, HEAD, POST, PUT, DELETE, OPTIONS',
  154.         'access-control-allow-headers': 'content-length, content-type, authorization' },
  155.      rawHeaders:
  156.       [ 'Server',
  157.         'nginx/1.8.1',
  158.         'Content-Type',
  159.         'application/json; charset=utf-8',
  160.         'X-Rate-Limit',
  161.         '2000',
  162.         'X-RateLimit-Remaining',
  163.         '1999',
  164.         'X-RateLimit-Reset',
  165.         '1474244135540',
  166.         'cache-control',
  167.         'no-cache',
  168.         'Strict-Transport-Security',
  169.         'max-age=31536000',
  170.         'Accept-Ranges',
  171.         'bytes',
  172.         'Via',
  173.         '1.1 varnish',
  174.         'Fastly-Debug-Digest',
  175.         '1f99b81f5b780d96fa3b8ab2568a45f8ffce8a42db13a7a4b972480c5356613a',
  176.         'Content-Length',
  177.         '82',
  178.         'Accept-Ranges',
  179.         'bytes',
  180.         'Date',
  181.         'Mon, 19 Sep 2016 00:14:35 GMT',
  182.         'Via',
  183.         '1.1 varnish',
  184.         'Connection',
  185.         'close',
  186.         'X-Served-By',
  187.         'cache-dfw1829-DFW, cache-lhr6342-LHR',
  188.         'X-Cache',
  189.         'MISS, MISS',
  190.         'X-Cache-Hits',
  191.         '0, 0',
  192.         'X-Timer',
  193.         'S1474244075.469048,VS0,VE119',
  194.         'Vary',
  195.         'origin',
  196.         'X-CSRF-Token',
  197.         '425b78397f3298f3da2cb55d7fc15aebce13b0ad',
  198.         'Set-Cookie',
  199.         '__bcsrf=425b78397f3298f3da2cb55d7fc15aebce13b0ad; HttpOnly; secure; path=/; Expires=Wed, 19 Oct 2016 00:14:35 GMT;',
  200.         'Access-Control-Allow-Origin',
  201.         '*',
  202.         'Access-Control-Expose-Headers',
  203.         'x-total-count, x-rate-limit, x-ratelimit-remaining, x-ratelimit-reset, link, x-cache, x-cache-hits, content-length, content-type, content-range, range',
  204.         'Access-Control-Allow-Methods',
  205.         'GET, HEAD, POST, PUT, DELETE, OPTIONS',
  206.         'Access-Control-Allow-Headers',
  207.         'content-length, content-type, authorization' ],
  208.      trailers: {},
  209.      rawTrailers: [],
  210.      upgrade: false,
  211.      url: '',
  212.      method: null,
  213.      statusCode: 401,
  214.      statusMessage: 'Unauthorized',
  215.      client:
  216.       TLSSocket {
  217.         _tlsOptions: [Object],
  218.         _secureEstablished: true,
  219.         _securePending: false,
  220.         _newSessionPending: false,
  221.         _controlReleased: true,
  222.         _SNICallback: null,
  223.         servername: null,
  224.         npnProtocol: undefined,
  225.         alpnProtocol: false,
  226.         authorized: true,
  227.         authorizationError: null,
  228.         encrypted: true,
  229.         _events: [Object],
  230.         _eventsCount: 9,
  231.         connecting: false,
  232.         _hadError: false,
  233.         _handle: null,
  234.         _parent: null,
  235.         _host: 'beam.pro',
  236.         _readableState: [Object],
  237.         readable: false,
  238.         domain: null,
  239.         _maxListeners: undefined,
  240.         _writableState: [Object],
  241.         writable: false,
  242.         allowHalfOpen: false,
  243.         destroyed: true,
  244.         _bytesDispatched: 206,
  245.         _sockname: null,
  246.         _pendingData: null,
  247.         _pendingEncoding: '',
  248.         server: undefined,
  249.         _server: null,
  250.         ssl: null,
  251.         _requestCert: true,
  252.         _rejectUnauthorized: true,
  253.         parser: null,
  254.         _httpMessage: [Object],
  255.         read: [Function],
  256.         _consuming: true,
  257.         _idleNext: null,
  258.         _idlePrev: null,
  259.         _idleTimeout: -1 },
  260.      _consuming: true,
  261.      _dumped: false,
  262.      req:
  263.       ClientRequest {
  264.         domain: null,
  265.         _events: [Object],
  266.         _eventsCount: 5,
  267.         _maxListeners: undefined,
  268.         output: [],
  269.         outputEncodings: [],
  270.         outputCallbacks: [],
  271.         outputSize: 0,
  272.         writable: true,
  273.         _last: true,
  274.         chunkedEncoding: false,
  275.         shouldKeepAlive: false,
  276.         useChunkedEncodingByDefault: true,
  277.         sendDate: false,
  278.         _removedHeader: [Object],
  279.         _contentLength: null,
  280.         _hasBody: true,
  281.         _trailer: '',
  282.         finished: true,
  283.         _headerSent: true,
  284.         socket: [Object],
  285.         connection: [Object],
  286.         _header: 'POST /api/v1/users/login HTTP/1.1\r\nx-csrf-token: null\r\nhost: beam.pro\r\ncontent-type: application/x-www-form-urlencoded\r\naccept: application/json\r\ncontent-length: 19\r\nConnection: close\r\n\r\n',
  287.         _headers: [Object],
  288.         _headerNames: [Object],
  289.         _onPendingData: null,
  290.         agent: [Object],
  291.         socketPath: undefined,
  292.         method: 'POST',
  293.         path: '/api/v1/users/login',
  294.         _ended: true,
  295.         parser: null,
  296.         res: [Circular] },
  297.      request:
  298.       Request {
  299.         domain: null,
  300.         _events: [Object],
  301.         _eventsCount: 5,
  302.         _maxListeners: undefined,
  303.         method: 'post',
  304.         headers: [Object],
  305.         callback: [Function],
  306.         readable: true,
  307.         writable: true,
  308.         explicitMethod: true,
  309.         _qs: [Object],
  310.         _auth: [Object],
  311.         _oauth: [Object],
  312.         _multipart: [Object],
  313.         _redirect: [Object],
  314.         _tunnel: [Object],
  315.         setHeader: [Function],
  316.         hasHeader: [Function],
  317.         getHeader: [Function],
  318.         removeHeader: [Function],
  319.         localAddress: undefined,
  320.         pool: {},
  321.         dests: [],
  322.         __isRequestRequest: true,
  323.         _callback: [Function],
  324.         uri: [Object],
  325.         proxy: null,
  326.         tunnel: true,
  327.         setHost: true,
  328.         originalCookieHeader: undefined,
  329.         _jar: [Object],
  330.         port: 443,
  331.         host: 'beam.pro',
  332.         body: 'username=&password=',
  333.         path: '/api/v1/users/login',
  334.         _json: true,
  335.         httpModule: [Object],
  336.         agentClass: [Object],
  337.         agent: [Object],
  338.         _started: true,
  339.         href: 'https://beam.pro/api/v1/users/login',
  340.         req: [Object],
  341.         ntick: true,
  342.         response: [Circular],
  343.         originalHost: 'beam.pro',
  344.         originalHostHeaderName: 'host',
  345.         responseContent: [Circular],
  346.         _destdata: true,
  347.         _ended: true,
  348.         _callbackCalled: true },
  349.      toJSON: [Function: responseToJSON],
  350.      caseless: Caseless { dict: [Object] },
  351.      read: [Function],
  352.      body:
  353.       { message: 'Invalid username or password',
  354.         statusCode: 401,
  355.         error: 'Unauthorized' } } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement