Guest User

Untitled

a guest
Jul 20th, 2023
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. POST api/bot/game/KODkzYNR/move/b8c6 {}
  2. Error: socket hang up
  3.     at connResetException (node:internal/errors:718:14)
  4.     at TLSSocket.socketOnEnd (node:_http_client:514:23)
  5.     at TLSSocket.emit (node:events:525:35)
  6.     at endReadableNT (node:internal/streams/readable:1359:12)
  7.     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  8.   code: 'ECONNRESET',
  9.   config: {
  10.     url: 'api/bot/game/KODkzYNR/move/b8c6',
  11.     method: 'post',
  12.     data: '{}',
  13.     headers: {
  14.       Accept: 'application/json, text/plain, */*',
  15.       'Content-Type': 'application/json',
  16.       Authorization: 'Bearer lip_4U4U6AB9KEgFtZRMBZX4',
  17.       'User-Agent': 'axios/0.21.4',
  18.       'Content-Length': 2
  19.     },
  20.     baseURL: 'https://lichess.org/',
  21.     transformRequest: [ [Function: transformRequest] ],
  22.     transformResponse: [ [Function: transformResponse] ],
  23.     timeout: 0,
  24.     adapter: [Function: httpAdapter],
  25.     xsrfCookieName: 'XSRF-TOKEN',
  26.     xsrfHeaderName: 'X-XSRF-TOKEN',
  27.     maxContentLength: -1,
  28.     maxBodyLength: -1,
  29.     validateStatus: [Function: validateStatus],
  30.     transitional: {
  31.       silentJSONParsing: true,
  32.       forcedJSONParsing: true,
  33.       clarifyTimeoutError: false
  34.     }
  35.   },
  36.   request: <ref *1> Writable {
  37.     _writableState: WritableState {
  38.       objectMode: false,
  39.       highWaterMark: 16384,
  40.       finalCalled: false,
  41.       needDrain: false,
  42.       ending: false,
  43.       ended: false,
  44.       finished: false,
  45.       destroyed: false,
  46.       decodeStrings: true,
  47.       defaultEncoding: 'utf8',
  48.       length: 0,
  49.       writing: false,
  50.       corked: 0,
  51.       sync: true,
  52.       bufferProcessing: false,
  53.       onwrite: [Function: bound onwrite],
  54.       writecb: null,
  55.       writelen: 0,
  56.       afterWriteTickInfo: null,
  57.       buffered: [],
  58.       bufferedIndex: 0,
  59.       allBuffers: true,
  60.       allNoop: true,
  61.       pendingcb: 0,
  62.       constructed: true,
  63.       prefinished: false,
  64.       errorEmitted: false,
  65.       emitClose: true,
  66.       autoDestroy: true,
  67.       errored: null,
  68.       closed: false,
  69.       closeEmitted: false,
  70.       [Symbol(kOnFinished)]: []
  71.     },
  72.     _events: [Object: null prototype] {
  73.       response: [Function: handleResponse],
  74.       error: [Function: handleRequestError]
  75.     },
  76.     _eventsCount: 2,
  77.     _maxListeners: undefined,
  78.     _options: {
  79.       maxRedirects: 21,
  80.       maxBodyLength: 10485760,
  81.       protocol: 'https:',
  82.       path: '/api/bot/game/KODkzYNR/move/b8c6',
  83.       method: 'POST',
  84.       headers: [Object],
  85.       agent: undefined,
  86.       agents: [Object],
  87.       auth: undefined,
  88.       hostname: 'lichess.org',
  89.       port: null,
  90.       nativeProtocols: [Object],
  91.       pathname: '/api/bot/game/KODkzYNR/move/b8c6'
  92.     },
  93.     _ended: true,
  94.     _ending: true,
  95.     _redirectCount: 0,
  96.     _redirects: [],
  97.     _requestBodyLength: 2,
  98.     _requestBodyBuffers: [ [Object] ],
  99.     _onNativeResponse: [Function (anonymous)],
  100.     _currentRequest: ClientRequest {
  101.       _events: [Object: null prototype],
  102.       _eventsCount: 7,
  103.       _maxListeners: undefined,
  104.       outputData: [],
  105.       outputSize: 0,
  106.       writable: true,
  107.       destroyed: false,
  108.       _last: false,
  109.       chunkedEncoding: false,
  110.       shouldKeepAlive: true,
  111.       maxRequestsOnConnectionReached: false,
  112.       _defaultKeepAlive: true,
  113.       useChunkedEncodingByDefault: true,
  114.       sendDate: false,
  115.       _removedConnection: false,
  116.       _removedContLen: false,
  117.       _removedTE: false,
  118.       strictContentLength: false,
  119.       _contentLength: 2,
  120.       _hasBody: true,
  121.       _trailer: '',
  122.       finished: true,
  123.       _headerSent: true,
  124.       _closed: false,
  125.       socket: [TLSSocket],
  126.       _header: 'POST /api/bot/game/KODkzYNR/move/b8c6 HTTP/1.1\r\n' +
  127.         'Accept: application/json, text/plain, */*\r\n' +
  128.         'Content-Type: application/json\r\n' +
  129.         'Authorization: Bearer lip_4U4U6AB9KEgFtZRMBZX4\r\n' +
  130.         'User-Agent: axios/0.21.4\r\n' +
  131.         'Content-Length: 2\r\n' +
  132.         'Host: lichess.org\r\n' +
  133.         'Connection: keep-alive\r\n' +
  134.         '\r\n',
  135.       _keepAliveTimeout: 0,
  136.       _onPendingData: [Function: nop],
  137.       agent: [Agent],
  138.       socketPath: undefined,
  139.       method: 'POST',
  140.       maxHeaderSize: undefined,
  141.       insecureHTTPParser: undefined,
  142.       path: '/api/bot/game/KODkzYNR/move/b8c6',
  143.       _ended: false,
  144.       res: null,
  145.       aborted: false,
  146.       timeoutCb: [Function: emitRequestTimeout],
  147.       upgradeOrConnect: false,
  148.       parser: null,
  149.       maxHeadersCount: null,
  150.       reusedSocket: true,
  151.       host: 'lichess.org',
  152.       protocol: 'https:',
  153.       _redirectable: [Circular *1],
  154.       [Symbol(kCapture)]: false,
  155.       [Symbol(kBytesWritten)]: 0,
  156.       [Symbol(kEndCalled)]: true,
  157.       [Symbol(kNeedDrain)]: false,
  158.       [Symbol(corked)]: 0,
  159.       [Symbol(kOutHeaders)]: [Object: null prototype],
  160.       [Symbol(errored)]: null,
  161.       [Symbol(kUniqueHeaders)]: null
  162.     },
  163.     _currentUrl: 'https://lichess.org/api/bot/game/KODkzYNR/move/b8c6',
  164.     [Symbol(kCapture)]: false
  165.   },
  166.   response: undefined,
  167.   isAxiosError: true,
  168.   toJSON: [Function: toJSON]
  169. }
Advertisement
Add Comment
Please, Sign In to add comment