Advertisement
Guest User

Untitled

a guest
Apr 16th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.40 KB | None | 0 0
  1. { [Error: [object Object]]
  2. message:
  3. IncomingMessage {
  4. _readableState:
  5. ReadableState {
  6. objectMode: false,
  7. highWaterMark: 16384,
  8. buffer: [],
  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: 0,
  61. _writableState: [Object],
  62. writable: false,
  63. allowHalfOpen: false,
  64. destroyed: true,
  65. bytesRead: 630,
  66. _bytesDispatched: 239,
  67. _sockname: null,
  68. _pendingData: null,
  69. _pendingEncoding: '',
  70. server: undefined,
  71. _server: null,
  72. ssl: null,
  73. _requestCert: true,
  74. _rejectUnauthorized: true,
  75. parser: null,
  76. _httpMessage: [Object],
  77. read: [Function],
  78. _consuming: true,
  79. _idleNext: null,
  80. _idlePrev: null,
  81. _idleTimeout: -1 },
  82. connection:
  83. TLSSocket {
  84. _tlsOptions: [Object],
  85. _secureEstablished: true,
  86. _securePending: false,
  87. _newSessionPending: false,
  88. _controlReleased: true,
  89. _SNICallback: null,
  90. servername: null,
  91. npnProtocol: undefined,
  92. alpnProtocol: false,
  93. authorized: true,
  94. authorizationError: null,
  95. encrypted: true,
  96. _events: [Object],
  97. _eventsCount: 9,
  98. _connecting: false,
  99. _hadError: false,
  100. _handle: null,
  101. _parent: null,
  102. _host: 'beam.pro',
  103. _readableState: [Object],
  104. readable: false,
  105. domain: null,
  106. _maxListeners: 0,
  107. _writableState: [Object],
  108. writable: false,
  109. allowHalfOpen: false,
  110. destroyed: true,
  111. bytesRead: 630,
  112. _bytesDispatched: 239,
  113. _sockname: null,
  114. _pendingData: null,
  115. _pendingEncoding: '',
  116. server: undefined,
  117. _server: null,
  118. ssl: null,
  119. _requestCert: true,
  120. _rejectUnauthorized: true,
  121. parser: null,
  122. _httpMessage: [Object],
  123. read: [Function],
  124. _consuming: true,
  125. _idleNext: null,
  126. _idlePrev: null,
  127. _idleTimeout: -1 },
  128. httpVersionMajor: 1,
  129. httpVersionMinor: 1,
  130. httpVersion: '1.1',
  131. complete: true,
  132. headers:
  133. { server: 'nginx/1.8.1',
  134. 'content-type': 'application/json; charset=utf-8',
  135. 'cache-control': 'no-cache, private',
  136. 'x-is-prerender': 'no',
  137. 'strict-transport-security': 'max-age=31536000',
  138. 'accept-ranges': 'bytes, bytes',
  139. via: '1.1 varnish, 1.1 varnish',
  140. 'fastly-debug-digest': '33c224136831630dc89117e1d7e56d75a8d79726fb3891ece6b11a4d550b36ea',
  141. 'content-length': '52',
  142. date: 'Sun, 17 Apr 2016 01:32:08 GMT',
  143. connection: 'close',
  144. 'x-served-by': 'cache-dfw1823-DFW, cache-sea1924-SEA',
  145. 'x-cache': 'MISS, MISS',
  146. 'x-cache-hits': '0, 0',
  147. 'x-timer': 'S1460856728.044525,VS0,VE87',
  148. vary: 'origin' },
  149. rawHeaders:
  150. [ 'Server',
  151. 'nginx/1.8.1',
  152. 'Content-Type',
  153. 'application/json; charset=utf-8',
  154. 'cache-control',
  155. 'no-cache, private',
  156. 'X-Is-Prerender',
  157. 'no',
  158. 'Strict-Transport-Security',
  159. 'max-age=31536000',
  160. 'Accept-Ranges',
  161. 'bytes',
  162. 'Via',
  163. '1.1 varnish',
  164. 'Fastly-Debug-Digest',
  165. '33c224136831630dc89117e1d7e56d75a8d79726fb3891ece6b11a4d550b36ea',
  166. 'Content-Length',
  167. '52',
  168. 'Accept-Ranges',
  169. 'bytes',
  170. 'Date',
  171. 'Sun, 17 Apr 2016 01:32:08 GMT',
  172. 'Via',
  173. '1.1 varnish',
  174. 'Connection',
  175. 'close',
  176. 'X-Served-By',
  177. 'cache-dfw1823-DFW, cache-sea1924-SEA',
  178. 'X-Cache',
  179. 'MISS, MISS',
  180. 'X-Cache-Hits',
  181. '0, 0',
  182. 'X-Timer',
  183. 'S1460856728.044525,VS0,VE87',
  184. 'Vary',
  185. 'origin' ],
  186. trailers: {},
  187. rawTrailers: [],
  188. upgrade: false,
  189. url: '',
  190. method: null,
  191. statusCode: 499,
  192. statusMessage: 'unknown',
  193. client:
  194. TLSSocket {
  195. _tlsOptions: [Object],
  196. _secureEstablished: true,
  197. _securePending: false,
  198. _newSessionPending: false,
  199. _controlReleased: true,
  200. _SNICallback: null,
  201. servername: null,
  202. npnProtocol: undefined,
  203. alpnProtocol: false,
  204. authorized: true,
  205. authorizationError: null,
  206. encrypted: true,
  207. _events: [Object],
  208. _eventsCount: 9,
  209. _connecting: false,
  210. _hadError: false,
  211. _handle: null,
  212. _parent: null,
  213. _host: 'beam.pro',
  214. _readableState: [Object],
  215. readable: false,
  216. domain: null,
  217. _maxListeners: 0,
  218. _writableState: [Object],
  219. writable: false,
  220. allowHalfOpen: false,
  221. destroyed: true,
  222. bytesRead: 630,
  223. _bytesDispatched: 239,
  224. _sockname: null,
  225. _pendingData: null,
  226. _pendingEncoding: '',
  227. server: undefined,
  228. _server: null,
  229. ssl: null,
  230. _requestCert: true,
  231. _rejectUnauthorized: true,
  232. parser: null,
  233. _httpMessage: [Object],
  234. read: [Function],
  235. _consuming: true,
  236. _idleNext: null,
  237. _idlePrev: null,
  238. _idleTimeout: -1 },
  239. _consuming: true,
  240. _dumped: false,
  241. req:
  242. ClientRequest {
  243. domain: null,
  244. _events: [Object],
  245. _eventsCount: 4,
  246. _maxListeners: undefined,
  247. output: [],
  248. outputEncodings: [],
  249. outputCallbacks: [],
  250. outputSize: 0,
  251. writable: true,
  252. _last: true,
  253. chunkedEncoding: false,
  254. shouldKeepAlive: false,
  255. useChunkedEncodingByDefault: true,
  256. sendDate: false,
  257. _removedHeader: [Object],
  258. _contentLength: null,
  259. _hasBody: true,
  260. _trailer: '',
  261. finished: true,
  262. _headerSent: true,
  263. socket: [Object],
  264. connection: [Object],
  265. _header: 'POST /api/v1/users/login HTTP/1.1\r\nUser-Agent: BeamClient/0.3.0 (JavaScript; Node.js v5.10.1)\r\nhost: beam.pro\r\ncontent-type: application/x-www-form-urlencoded\r\ncontent-length: 38\r\nConnection: close\r\n\r\n',
  266. _headers: [Object],
  267. _headerNames: [Object],
  268. _onPendingData: null,
  269. agent: [Object],
  270. socketPath: undefined,
  271. method: 'POST',
  272. path: '/api/v1/users/login',
  273. parser: null,
  274. res: [Circular] },
  275. request:
  276. Request {
  277. domain: null,
  278. _events: [Object],
  279. _eventsCount: 5,
  280. _maxListeners: undefined,
  281. method: 'post',
  282. headers: [Object],
  283. callback: [Function],
  284. readable: true,
  285. writable: true,
  286. explicitMethod: true,
  287. _qs: [Object],
  288. _auth: [Object],
  289. _oauth: [Object],
  290. _multipart: [Object],
  291. _redirect: [Object],
  292. _tunnel: [Object],
  293. setHeader: [Function],
  294. hasHeader: [Function],
  295. getHeader: [Function],
  296. removeHeader: [Function],
  297. localAddress: undefined,
  298. pool: {},
  299. dests: [],
  300. __isRequestRequest: true,
  301. _callback: [Function],
  302. uri: [Object],
  303. proxy: null,
  304. tunnel: true,
  305. setHost: true,
  306. originalCookieHeader: undefined,
  307. _jar: [Object],
  308. port: 443,
  309. host: 'beam.pro',
  310. body: 'username=acpixel&password=acptiger1%21',
  311. path: '/api/v1/users/login',
  312. httpModule: [Object],
  313. agentClass: [Object],
  314. agent: [Object],
  315. _started: true,
  316. href: 'https://beam.pro/api/v1/users/login',
  317. req: [Object],
  318. ntick: true,
  319. response: [Circular],
  320. originalHost: 'beam.pro',
  321. originalHostHeaderName: 'host',
  322. responseContent: [Circular],
  323. _destdata: true,
  324. _ended: true,
  325. _callbackCalled: true },
  326. toJSON: [Function: responseToJSON],
  327. caseless: Caseless { dict: [Object] },
  328. read: [Function],
  329. body: { message: 'Invalid two-factor code.', error: '2fa' } } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement