Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- POST api/bot/game/KODkzYNR/move/b8c6 {}
- Error: socket hang up
- at connResetException (node:internal/errors:718:14)
- at TLSSocket.socketOnEnd (node:_http_client:514:23)
- at TLSSocket.emit (node:events:525:35)
- at endReadableNT (node:internal/streams/readable:1359:12)
- at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
- code: 'ECONNRESET',
- config: {
- url: 'api/bot/game/KODkzYNR/move/b8c6',
- method: 'post',
- data: '{}',
- headers: {
- Accept: 'application/json, text/plain, */*',
- 'Content-Type': 'application/json',
- Authorization: 'Bearer lip_4U4U6AB9KEgFtZRMBZX4',
- 'User-Agent': 'axios/0.21.4',
- 'Content-Length': 2
- },
- baseURL: 'https://lichess.org/',
- transformRequest: [ [Function: transformRequest] ],
- transformResponse: [ [Function: transformResponse] ],
- timeout: 0,
- adapter: [Function: httpAdapter],
- xsrfCookieName: 'XSRF-TOKEN',
- xsrfHeaderName: 'X-XSRF-TOKEN',
- maxContentLength: -1,
- maxBodyLength: -1,
- validateStatus: [Function: validateStatus],
- transitional: {
- silentJSONParsing: true,
- forcedJSONParsing: true,
- clarifyTimeoutError: false
- }
- },
- request: <ref *1> Writable {
- _writableState: WritableState {
- objectMode: false,
- highWaterMark: 16384,
- finalCalled: false,
- needDrain: false,
- ending: false,
- ended: false,
- finished: false,
- destroyed: false,
- decodeStrings: true,
- defaultEncoding: 'utf8',
- length: 0,
- writing: false,
- corked: 0,
- sync: true,
- bufferProcessing: false,
- onwrite: [Function: bound onwrite],
- writecb: null,
- writelen: 0,
- afterWriteTickInfo: null,
- buffered: [],
- bufferedIndex: 0,
- allBuffers: true,
- allNoop: true,
- pendingcb: 0,
- constructed: true,
- prefinished: false,
- errorEmitted: false,
- emitClose: true,
- autoDestroy: true,
- errored: null,
- closed: false,
- closeEmitted: false,
- [Symbol(kOnFinished)]: []
- },
- _events: [Object: null prototype] {
- response: [Function: handleResponse],
- error: [Function: handleRequestError]
- },
- _eventsCount: 2,
- _maxListeners: undefined,
- _options: {
- maxRedirects: 21,
- maxBodyLength: 10485760,
- protocol: 'https:',
- path: '/api/bot/game/KODkzYNR/move/b8c6',
- method: 'POST',
- headers: [Object],
- agent: undefined,
- agents: [Object],
- auth: undefined,
- hostname: 'lichess.org',
- port: null,
- nativeProtocols: [Object],
- pathname: '/api/bot/game/KODkzYNR/move/b8c6'
- },
- _ended: true,
- _ending: true,
- _redirectCount: 0,
- _redirects: [],
- _requestBodyLength: 2,
- _requestBodyBuffers: [ [Object] ],
- _onNativeResponse: [Function (anonymous)],
- _currentRequest: ClientRequest {
- _events: [Object: null prototype],
- _eventsCount: 7,
- _maxListeners: undefined,
- outputData: [],
- outputSize: 0,
- writable: true,
- destroyed: false,
- _last: false,
- chunkedEncoding: false,
- shouldKeepAlive: true,
- maxRequestsOnConnectionReached: false,
- _defaultKeepAlive: true,
- useChunkedEncodingByDefault: true,
- sendDate: false,
- _removedConnection: false,
- _removedContLen: false,
- _removedTE: false,
- strictContentLength: false,
- _contentLength: 2,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- _closed: false,
- socket: [TLSSocket],
- _header: 'POST /api/bot/game/KODkzYNR/move/b8c6 HTTP/1.1\r\n' +
- 'Accept: application/json, text/plain, */*\r\n' +
- 'Content-Type: application/json\r\n' +
- 'Authorization: Bearer lip_4U4U6AB9KEgFtZRMBZX4\r\n' +
- 'User-Agent: axios/0.21.4\r\n' +
- 'Content-Length: 2\r\n' +
- 'Host: lichess.org\r\n' +
- 'Connection: keep-alive\r\n' +
- '\r\n',
- _keepAliveTimeout: 0,
- _onPendingData: [Function: nop],
- agent: [Agent],
- socketPath: undefined,
- method: 'POST',
- maxHeaderSize: undefined,
- insecureHTTPParser: undefined,
- path: '/api/bot/game/KODkzYNR/move/b8c6',
- _ended: false,
- res: null,
- aborted: false,
- timeoutCb: [Function: emitRequestTimeout],
- upgradeOrConnect: false,
- parser: null,
- maxHeadersCount: null,
- reusedSocket: true,
- host: 'lichess.org',
- protocol: 'https:',
- _redirectable: [Circular *1],
- [Symbol(kCapture)]: false,
- [Symbol(kBytesWritten)]: 0,
- [Symbol(kEndCalled)]: true,
- [Symbol(kNeedDrain)]: false,
- [Symbol(corked)]: 0,
- [Symbol(kOutHeaders)]: [Object: null prototype],
- [Symbol(errored)]: null,
- [Symbol(kUniqueHeaders)]: null
- },
- _currentUrl: 'https://lichess.org/api/bot/game/KODkzYNR/move/b8c6',
- [Symbol(kCapture)]: false
- },
- response: undefined,
- isAxiosError: true,
- toJSON: [Function: toJSON]
- }
Advertisement
Add Comment
Please, Sign In to add comment