Skip to content

Error with the cookies #44

@ghost

Description

  1. Getting Twitch cookies!
    Error: connect ECONNREFUSED 114.231.8.152:8089
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1605:16) {
    errno: -4078,
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '114.231.8.152',
    port: 8089,
    config: {
    adapter: [Function: httpAdapter],
    transformRequest: { '0': [Function: transformRequest] },
    transformResponse: { '0': [Function: transformResponse] },
    timeout: null,
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    validateStatus: [Function: validateStatus],
    headers: {
    Accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8',
    'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; x64; rv:109.0) Gecko/20100101 Firefox/109.0',
    'Accept-Language': 'en-US,en;q=0.5',
    'Accept-Encoding': 'gzip, deflate, br',
    DNT: 1,
    Connection: 'keep-alive',
    'Upgrade-Insecure-Requests': 1,
    'Sec-Fetch-Dest': 'document',
    'Sec-Fetch-Mode': 'navigate',
    'Sec-Fetch-Site': 'none',
    'Sec-Fetch-User': '?1'
    },
    method: 'get',
    maxFreeSockets: 1,
    maxSockets: 1,
    maxTotalSockets: Infinity,
    sockets: {},
    freeSockets: {},
    requests: {},
    options: {},
    secureProxy: false,
    proxy: {
    protocol: 'http:',
    slashes: true,
    auth: null,
    host: '114.231.8.152',
    port: '8089',
    hostname: '114.231.8.152',
    hash: null,
    search: null,
    query: null,
    href: 'http://114.231.8.152:8089'
    },
    url: 'https://twitch.tv',
    data: undefined
    },
    request: <ref 1> Writable {
    _events: {
    close: undefined,
    error: [Function: handleRequestError],
    prefinish: undefined,
    finish: undefined,
    drain: undefined,
    response: [Function: handleResponse]
    },
    _writableState: WritableState {
    highWaterMark: 16384,
    length: 0,
    corked: 0,
    onwrite: [Function: bound onwrite],
    writelen: 0,
    bufferedIndex: 0,
    pendingcb: 0,
    [Symbol(kState)]: 17580812,
    [Symbol(kBufferedValue)]: null
    },
    _maxListeners: undefined,
    _options: {
    maxRedirects: 21,
    maxBodyLength: 10485760,
    protocol: 'https:',
    hostname: 'twitch.tv',
    port: null,
    path: '/',
    method: 'get',
    headers: [Object],
    agent: [HttpsProxyAgent],
    auth: undefined,
    nativeProtocols: [Object],
    pathname: '/'
    },
    _ended: true,
    _ending: true,
    _redirectCount: 0,
    _redirects: [],
    _requestBodyLength: 0,
    _requestBodyBuffers: [],
    _eventsCount: 2,
    _onNativeResponse: [Function (anonymous)],
    _currentRequest: ClientRequest {
    _events: [Object: null prototype],
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [Array],
    outputSize: 458,
    writable: true,
    destroyed: false,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: true,
    maxRequestsOnConnectionReached: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: false,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    strictContentLength: false,
    _contentLength: 0,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    _closed: false,
    socket: null,
    _header: 'GET / HTTP/1.1\r\n' +
    'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,
    /*;q=0.8\r\n' +
    'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; x64; rv:109.0) Gecko/20100101 Firefox/109.0\r\n' +
    'Accept-Language: en-US,en;q=0.5\r\n' +
    'Accept-Encoding: gzip, deflate, br\r\n' +
    'DNT: 1\r\n' +
    'Connection: keep-alive\r\n' +
    'Upgrade-Insecure-Requests: 1\r\n' +
    'Sec-Fetch-Dest: document\r\n' +
    'Sec-Fetch-Mode: navigate\r\n' +
    'Sec-Fetch-Site: none\r\n' +
    'Sec-Fetch-User: ?1\r\n' +
    'Host: twitch.tv\r\n' +
    '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: nop],
    agent: [HttpsProxyAgent],
    socketPath: undefined,
    method: 'GET',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    joinDuplicateHeaders: undefined,
    path: '/',
    _ended: false,
    res: null,
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'twitch.tv',
    protocol: 'https:',
    _redirectable: [Circular *1],
    _hadError: true,
    [Symbol(shapeMode)]: false,
    [Symbol(kCapture)]: false,
    [Symbol(kBytesWritten)]: 0,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype],
    [Symbol(errored)]: null,
    [Symbol(kHighWaterMark)]: 16384,
    [Symbol(kRejectNonStandardBodyWrites)]: false,
    [Symbol(kUniqueHeaders)]: null
    },
    _currentUrl: 'https://twitch.tv/',
    [Symbol(shapeMode)]: true,
    [Symbol(kCapture)]: false
    },
    response: undefined
    }
    Unable to get twitch cookies!

pls help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions