torikushiii / hoyolab-auto

Auto check-in and others for any Hoyoverse games
https://ko-fi.com/torikushiii
GNU Affero General Public License v3.0
98 stars 23 forks source link

error: RequestError: Timeout awaiting 'request' for 30000ms #61

Closed Capoouo closed 2 months ago

Capoouo commented 2 months ago

It seems that this error message occasionally appears. Is this a major issue, or can this message be ignored? I would like to either hide this message or have it display only one line

2024-08-29 14:30:30 hoyolab-auto | 2024-08-29 14:30:30 { 2024-08-29 14:30:30 hoyolab-auto | error: RequestError: Timeout awaiting 'request' for 30000ms 2024-08-29 14:30:30 hoyolab-auto | at ClientRequest. (file:///app/node_modules/got/dist/source/core/index.js:670:61) 2024-08-29 14:30:30 hoyolab-auto | at Object.onceWrapper (node:events:634:26) 2024-08-29 14:30:30 hoyolab-auto | at ClientRequest.emit (node:events:531:35) 2024-08-29 14:30:30 hoyolab-auto | at emitErrorNT (node:internal/streams/destroy:169:8) 2024-08-29 14:30:30 hoyolab-auto | at emitErrorCloseNT (node:internal/streams/destroy:128:3) 2024-08-29 14:30:30 hoyolab-auto | at processTicksAndRejections (node:internal/process/task_queues:82:21) 2024-08-29 14:30:30 hoyolab-auto | at runNextTicks (node:internal/process/task_queues:64:3) 2024-08-29 14:30:30 hoyolab-auto | at listOnTimeout (node:internal/timers:545:9) 2024-08-29 14:30:30 hoyolab-auto | at Timeout.timeoutHandler [as _onTimeout] (file:///app/node_modules/got/dist/source/core/timed-out.js:33:25) 2024-08-29 14:30:30 hoyolab-auto | at listOnTimeout (node:internal/timers:583:11) 2024-08-29 14:30:30 hoyolab-auto | at process.processTimers (node:internal/timers:519:7) { 2024-08-29 14:30:30 hoyolab-auto | input: undefined, 2024-08-29 14:30:30 hoyolab-auto | code: 'ETIMEDOUT', 2024-08-29 14:30:30 hoyolab-auto | timings: { 2024-08-29 14:30:30 hoyolab-auto | start: 1724913000017, 2024-08-29 14:30:30 hoyolab-auto | socket: 1724913000545, 2024-08-29 14:30:30 hoyolab-auto | lookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | connect: undefined, 2024-08-29 14:30:30 hoyolab-auto | secureConnect: undefined, 2024-08-29 14:30:30 hoyolab-auto | upload: 1724913000545, 2024-08-29 14:30:30 hoyolab-auto | response: undefined, 2024-08-29 14:30:30 hoyolab-auto | end: undefined, 2024-08-29 14:30:30 hoyolab-auto | error: 1724913030026, 2024-08-29 14:30:30 hoyolab-auto | abort: undefined, 2024-08-29 14:30:30 hoyolab-auto | phases: [Object] 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | name: 'TimeoutError', 2024-08-29 14:30:30 hoyolab-auto | options: { 2024-08-29 14:30:30 hoyolab-auto | request: undefined, 2024-08-29 14:30:30 hoyolab-auto | agent: { http: undefined, https: undefined, http2: undefined }, 2024-08-29 14:30:30 hoyolab-auto | h2session: undefined, 2024-08-29 14:30:30 hoyolab-auto | decompress: true, 2024-08-29 14:30:30 hoyolab-auto | timeout: { 2024-08-29 14:30:30 hoyolab-auto | connect: undefined, 2024-08-29 14:30:30 hoyolab-auto | lookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | read: undefined, 2024-08-29 14:30:30 hoyolab-auto | request: 30000, 2024-08-29 14:30:30 hoyolab-auto | response: undefined, 2024-08-29 14:30:30 hoyolab-auto | secureConnect: undefined, 2024-08-29 14:30:30 hoyolab-auto | send: undefined, 2024-08-29 14:30:30 hoyolab-auto | socket: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | prefixUrl: '', 2024-08-29 14:30:30 hoyolab-auto | body: undefined, 2024-08-29 14:30:30 hoyolab-auto | form: undefined, 2024-08-29 14:30:30 hoyolab-auto | json: undefined, 2024-08-29 14:30:30 hoyolab-auto | cookieJar: undefined, 2024-08-29 14:30:30 hoyolab-auto | ignoreInvalidCookies: false, 2024-08-29 14:30:30 hoyolab-auto | searchParams: undefined, 2024-08-29 14:30:30 hoyolab-auto | dnsLookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | dnsCache: undefined, 2024-08-29 14:30:30 hoyolab-auto | context: {}, 2024-08-29 14:30:30 hoyolab-auto | hooks: { 2024-08-29 14:30:30 hoyolab-auto | init: [], 2024-08-29 14:30:30 hoyolab-auto | beforeRequest: [], 2024-08-29 14:30:30 hoyolab-auto | beforeError: [ [AsyncFunction (anonymous)], [Function (anonymous)] ], 2024-08-29 14:30:30 hoyolab-auto | beforeRedirect: [], 2024-08-29 14:30:30 hoyolab-auto | beforeRetry: [], 2024-08-29 14:30:30 hoyolab-auto | afterResponse: [] 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | followRedirect: true, 2024-08-29 14:30:30 hoyolab-auto | maxRedirects: 10, 2024-08-29 14:30:30 hoyolab-auto | cache: undefined, 2024-08-29 14:30:30 hoyolab-auto | throwHttpErrors: false, 2024-08-29 14:30:30 hoyolab-auto | username: '', 2024-08-29 14:30:30 hoyolab-auto | password: '', 2024-08-29 14:30:30 hoyolab-auto | http2: true, 2024-08-29 14:30:30 hoyolab-auto | allowGetBody: false, 2024-08-29 14:30:30 hoyolab-auto | headers: { 2024-08-29 14:30:30 hoyolab-auto | 'user-agent': 'HoyoLabAuto@1a8a855', 2024-08-29 14:30:30 hoyolab-auto | accept: 'application/json', 2024-08-29 14:30:30 hoyolab-auto | 'accept-encoding': 'gzip, deflate, br' 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | methodRewriting: false, 2024-08-29 14:30:30 hoyolab-auto | dnsLookupIpVersion: undefined, 2024-08-29 14:30:30 hoyolab-auto | parseJson: [Function: parse], 2024-08-29 14:30:30 hoyolab-auto | stringifyJson: [Function: stringify], 2024-08-29 14:30:30 hoyolab-auto | retry: { 2024-08-29 14:30:30 hoyolab-auto | limit: 0, 2024-08-29 14:30:30 hoyolab-auto | methods: [ 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' ], 2024-08-29 14:30:30 hoyolab-auto | statusCodes: [ 2024-08-29 14:30:30 hoyolab-auto | 408, 413, 429, 500, 2024-08-29 14:30:30 hoyolab-auto | 502, 503, 504, 521, 2024-08-29 14:30:30 hoyolab-auto | 522, 524 2024-08-29 14:30:30 hoyolab-auto | ], 2024-08-29 14:30:30 hoyolab-auto | errorCodes: [ 2024-08-29 14:30:30 hoyolab-auto | 'ETIMEDOUT', 2024-08-29 14:30:30 hoyolab-auto | 'ECONNRESET', 2024-08-29 14:30:30 hoyolab-auto | 'EADDRINUSE', 2024-08-29 14:30:30 hoyolab-auto | 'ECONNREFUSED', 2024-08-29 14:30:30 hoyolab-auto | 'EPIPE', 2024-08-29 14:30:30 hoyolab-auto | 'ENOTFOUND', 2024-08-29 14:30:30 hoyolab-auto | 'ENETUNREACH', 2024-08-29 14:30:30 hoyolab-auto | 'EAI_AGAIN' 2024-08-29 14:30:30 hoyolab-auto | ], 2024-08-29 14:30:30 hoyolab-auto | maxRetryAfter: undefined, 2024-08-29 14:30:30 hoyolab-auto | calculateDelay: [Function: calculateDelay], 2024-08-29 14:30:30 hoyolab-auto | backoffLimit: Infinity, 2024-08-29 14:30:30 hoyolab-auto | noise: 100 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | localAddress: undefined, 2024-08-29 14:30:30 hoyolab-auto | method: 'GET', 2024-08-29 14:30:30 hoyolab-auto | createConnection: undefined, 2024-08-29 14:30:30 hoyolab-auto | cacheOptions: { 2024-08-29 14:30:30 hoyolab-auto | shared: undefined, 2024-08-29 14:30:30 hoyolab-auto | cacheHeuristic: undefined, 2024-08-29 14:30:30 hoyolab-auto | immutableMinTimeToLive: undefined, 2024-08-29 14:30:30 hoyolab-auto | ignoreCargoCult: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | https: { 2024-08-29 14:30:30 hoyolab-auto | alpnProtocols: undefined, 2024-08-29 14:30:30 hoyolab-auto | rejectUnauthorized: undefined, 2024-08-29 14:30:30 hoyolab-auto | checkServerIdentity: undefined, 2024-08-29 14:30:30 hoyolab-auto | certificateAuthority: undefined, 2024-08-29 14:30:30 hoyolab-auto | key: undefined, 2024-08-29 14:30:30 hoyolab-auto | certificate: undefined, 2024-08-29 14:30:30 hoyolab-auto | passphrase: undefined, 2024-08-29 14:30:30 hoyolab-auto | pfx: undefined, 2024-08-29 14:30:30 hoyolab-auto | ciphers: undefined, 2024-08-29 14:30:30 hoyolab-auto | honorCipherOrder: undefined, 2024-08-29 14:30:30 hoyolab-auto | minVersion: undefined, 2024-08-29 14:30:30 hoyolab-auto | maxVersion: undefined, 2024-08-29 14:30:30 hoyolab-auto | signatureAlgorithms: undefined, 2024-08-29 14:30:30 hoyolab-auto | tlsSessionLifetime: undefined, 2024-08-29 14:30:30 hoyolab-auto | dhparam: undefined, 2024-08-29 14:30:30 hoyolab-auto | ecdhCurve: undefined, 2024-08-29 14:30:30 hoyolab-auto | certificateRevocationLists: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | encoding: undefined, 2024-08-29 14:30:30 hoyolab-auto | resolveBodyOnly: false, 2024-08-29 14:30:30 hoyolab-auto | isStream: false, 2024-08-29 14:30:30 hoyolab-auto | responseType: 'json', 2024-08-29 14:30:30 hoyolab-auto | url: URL { 2024-08-29 14:30:30 hoyolab-auto | href: 'https://api.ennead.cc/starrail/code', 2024-08-29 14:30:30 hoyolab-auto | origin: 'https://api.ennead.cc', 2024-08-29 14:30:30 hoyolab-auto | protocol: 'https:', 2024-08-29 14:30:30 hoyolab-auto | username: '', 2024-08-29 14:30:30 hoyolab-auto | password: '', 2024-08-29 14:30:30 hoyolab-auto | host: 'api.ennead.cc', 2024-08-29 14:30:30 hoyolab-auto | hostname: 'api.ennead.cc', 2024-08-29 14:30:30 hoyolab-auto | port: '', 2024-08-29 14:30:30 hoyolab-auto | pathname: '/starrail/code', 2024-08-29 14:30:30 hoyolab-auto | search: '', 2024-08-29 14:30:30 hoyolab-auto | searchParams: URLSearchParams {}, 2024-08-29 14:30:30 hoyolab-auto | hash: '' 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | pagination: { 2024-08-29 14:30:30 hoyolab-auto | transform: [Function: transform], 2024-08-29 14:30:30 hoyolab-auto | paginate: [Function: paginate], 2024-08-29 14:30:30 hoyolab-auto | filter: [Function: filter], 2024-08-29 14:30:30 hoyolab-auto | shouldContinue: [Function: shouldContinue], 2024-08-29 14:30:30 hoyolab-auto | countLimit: Infinity, 2024-08-29 14:30:30 hoyolab-auto | backoff: 0, 2024-08-29 14:30:30 hoyolab-auto | requestLimit: 10000, 2024-08-29 14:30:30 hoyolab-auto | stackAllItems: false 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | setHost: true, 2024-08-29 14:30:30 hoyolab-auto | maxHeaderSize: undefined, 2024-08-29 14:30:30 hoyolab-auto | signal: undefined, 2024-08-29 14:30:30 hoyolab-auto | enableUnixSockets: false 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | event: 'request', 2024-08-29 14:30:30 hoyolab-auto | [cause]: TimeoutError: Timeout awaiting 'request' for 30000ms 2024-08-29 14:30:30 hoyolab-auto | at Timeout.timeoutHandler [as _onTimeout] (file:///app/node_modules/got/dist/source/core/timed-out.js:33:25) 2024-08-29 14:30:30 hoyolab-auto | at listOnTimeout (node:internal/timers:583:11) 2024-08-29 14:30:30 hoyolab-auto | at process.processTimers (node:internal/timers:519:7) { 2024-08-29 14:30:30 hoyolab-auto | event: 'request', 2024-08-29 14:30:30 hoyolab-auto | code: 'ETIMEDOUT' 2024-08-29 14:30:30 hoyolab-auto | } 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | context: { 2024-08-29 14:30:30 hoyolab-auto | code: 'ETIMEDOUT', 2024-08-29 14:30:30 hoyolab-auto | responseType: 'json', 2024-08-29 14:30:30 hoyolab-auto | timeout: { 2024-08-29 14:30:30 hoyolab-auto | connect: undefined, 2024-08-29 14:30:30 hoyolab-auto | lookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | read: undefined, 2024-08-29 14:30:30 hoyolab-auto | request: 30000, 2024-08-29 14:30:30 hoyolab-auto | response: undefined, 2024-08-29 14:30:30 hoyolab-auto | secureConnect: undefined, 2024-08-29 14:30:30 hoyolab-auto | send: undefined, 2024-08-29 14:30:30 hoyolab-auto | socket: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | url: 'https://api.ennead.cc/starrail/code' 2024-08-29 14:30:30 hoyolab-auto | } 2024-08-29 14:30:30 hoyolab-auto | } 2024-08-29 14:30:30 hoyolab-auto | 2024-08-29 14:30:30 { 2024-08-29 14:30:30 hoyolab-auto | error: RequestError: Timeout awaiting 'request' for 30000ms 2024-08-29 14:30:30 hoyolab-auto | at ClientRequest. (file:///app/node_modules/got/dist/source/core/index.js:670:61) 2024-08-29 14:30:30 hoyolab-auto | at Object.onceWrapper (node:events:634:26) 2024-08-29 14:30:30 hoyolab-auto | at ClientRequest.emit (node:events:531:35) 2024-08-29 14:30:30 hoyolab-auto | at emitErrorNT (node:internal/streams/destroy:169:8) 2024-08-29 14:30:30 hoyolab-auto | at emitErrorCloseNT (node:internal/streams/destroy:128:3) 2024-08-29 14:30:30 hoyolab-auto | at processTicksAndRejections (node:internal/process/task_queues:82:21) 2024-08-29 14:30:30 hoyolab-auto | at runNextTicks (node:internal/process/task_queues:64:3) 2024-08-29 14:30:30 hoyolab-auto | at listOnTimeout (node:internal/timers:545:9) 2024-08-29 14:30:30 hoyolab-auto | at Timeout.timeoutHandler [as _onTimeout] (file:///app/node_modules/got/dist/source/core/timed-out.js:33:25) 2024-08-29 14:30:30 hoyolab-auto | at listOnTimeout (node:internal/timers:583:11) 2024-08-29 14:30:30 hoyolab-auto | at process.processTimers (node:internal/timers:519:7) { 2024-08-29 14:30:30 hoyolab-auto | input: undefined, 2024-08-29 14:30:30 hoyolab-auto | code: 'ETIMEDOUT', 2024-08-29 14:30:30 hoyolab-auto | timings: { 2024-08-29 14:30:30 hoyolab-auto | start: 1724913000017, 2024-08-29 14:30:30 hoyolab-auto | socket: 1724913000545, 2024-08-29 14:30:30 hoyolab-auto | lookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | connect: undefined, 2024-08-29 14:30:30 hoyolab-auto | secureConnect: undefined, 2024-08-29 14:30:30 hoyolab-auto | upload: 1724913000545, 2024-08-29 14:30:30 hoyolab-auto | response: undefined, 2024-08-29 14:30:30 hoyolab-auto | end: undefined, 2024-08-29 14:30:30 hoyolab-auto | error: 1724913030034, 2024-08-29 14:30:30 hoyolab-auto | abort: undefined, 2024-08-29 14:30:30 hoyolab-auto | phases: [Object] 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | name: 'TimeoutError', 2024-08-29 14:30:30 hoyolab-auto | options: { 2024-08-29 14:30:30 hoyolab-auto | request: undefined, 2024-08-29 14:30:30 hoyolab-auto | agent: { http: undefined, https: undefined, http2: undefined }, 2024-08-29 14:30:30 hoyolab-auto | h2session: undefined, 2024-08-29 14:30:30 hoyolab-auto | decompress: true, 2024-08-29 14:30:30 hoyolab-auto | timeout: { 2024-08-29 14:30:30 hoyolab-auto | connect: undefined, 2024-08-29 14:30:30 hoyolab-auto | lookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | read: undefined, 2024-08-29 14:30:30 hoyolab-auto | request: 30000, 2024-08-29 14:30:30 hoyolab-auto | response: undefined, 2024-08-29 14:30:30 hoyolab-auto | secureConnect: undefined, 2024-08-29 14:30:30 hoyolab-auto | send: undefined, 2024-08-29 14:30:30 hoyolab-auto | socket: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | prefixUrl: '', 2024-08-29 14:30:30 hoyolab-auto | body: undefined, 2024-08-29 14:30:30 hoyolab-auto | form: undefined, 2024-08-29 14:30:30 hoyolab-auto | json: undefined, 2024-08-29 14:30:30 hoyolab-auto | cookieJar: undefined, 2024-08-29 14:30:30 hoyolab-auto | ignoreInvalidCookies: false, 2024-08-29 14:30:30 hoyolab-auto | searchParams: undefined, 2024-08-29 14:30:30 hoyolab-auto | dnsLookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | dnsCache: undefined, 2024-08-29 14:30:30 hoyolab-auto | context: {}, 2024-08-29 14:30:30 hoyolab-auto | hooks: { 2024-08-29 14:30:30 hoyolab-auto | init: [], 2024-08-29 14:30:30 hoyolab-auto | beforeRequest: [], 2024-08-29 14:30:30 hoyolab-auto | beforeError: [ [AsyncFunction (anonymous)], [Function (anonymous)] ], 2024-08-29 14:30:30 hoyolab-auto | beforeRedirect: [], 2024-08-29 14:30:30 hoyolab-auto | beforeRetry: [], 2024-08-29 14:30:30 hoyolab-auto | afterResponse: [] 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | followRedirect: true, 2024-08-29 14:30:30 hoyolab-auto | maxRedirects: 10, 2024-08-29 14:30:30 hoyolab-auto | cache: undefined, 2024-08-29 14:30:30 hoyolab-auto | throwHttpErrors: false, 2024-08-29 14:30:30 hoyolab-auto | username: '', 2024-08-29 14:30:30 hoyolab-auto | password: '', 2024-08-29 14:30:30 hoyolab-auto | http2: true, 2024-08-29 14:30:30 hoyolab-auto | allowGetBody: false, 2024-08-29 14:30:30 hoyolab-auto | headers: { 2024-08-29 14:30:30 hoyolab-auto | 'user-agent': 'HoyoLabAuto@1a8a855', 2024-08-29 14:30:30 hoyolab-auto | accept: 'application/json', 2024-08-29 14:30:30 hoyolab-auto | 'accept-encoding': 'gzip, deflate, br' 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | methodRewriting: false, 2024-08-29 14:30:30 hoyolab-auto | dnsLookupIpVersion: undefined, 2024-08-29 14:30:30 hoyolab-auto | parseJson: [Function: parse], 2024-08-29 14:30:30 hoyolab-auto | stringifyJson: [Function: stringify], 2024-08-29 14:30:30 hoyolab-auto | retry: { 2024-08-29 14:30:30 hoyolab-auto | limit: 0, 2024-08-29 14:30:30 hoyolab-auto | methods: [ 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' ], 2024-08-29 14:30:30 hoyolab-auto | statusCodes: [ 2024-08-29 14:30:30 hoyolab-auto | 408, 413, 429, 500, 2024-08-29 14:30:30 hoyolab-auto | 502, 503, 504, 521, 2024-08-29 14:30:30 hoyolab-auto | 522, 524 2024-08-29 14:30:30 hoyolab-auto | ], 2024-08-29 14:30:30 hoyolab-auto | errorCodes: [ 2024-08-29 14:30:30 hoyolab-auto | 'ETIMEDOUT', 2024-08-29 14:30:30 hoyolab-auto | 'ECONNRESET', 2024-08-29 14:30:30 hoyolab-auto | 'EADDRINUSE', 2024-08-29 14:30:30 hoyolab-auto | 'ECONNREFUSED', 2024-08-29 14:30:30 hoyolab-auto | 'EPIPE', 2024-08-29 14:30:30 hoyolab-auto | 'ENOTFOUND', 2024-08-29 14:30:30 hoyolab-auto | 'ENETUNREACH', 2024-08-29 14:30:30 hoyolab-auto | 'EAI_AGAIN' 2024-08-29 14:30:30 hoyolab-auto | ], 2024-08-29 14:30:30 hoyolab-auto | maxRetryAfter: undefined, 2024-08-29 14:30:30 hoyolab-auto | calculateDelay: [Function: calculateDelay], 2024-08-29 14:30:30 hoyolab-auto | backoffLimit: Infinity, 2024-08-29 14:30:30 hoyolab-auto | noise: 100 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | localAddress: undefined, 2024-08-29 14:30:30 hoyolab-auto | method: 'GET', 2024-08-29 14:30:30 hoyolab-auto | createConnection: undefined, 2024-08-29 14:30:30 hoyolab-auto | cacheOptions: { 2024-08-29 14:30:30 hoyolab-auto | shared: undefined, 2024-08-29 14:30:30 hoyolab-auto | cacheHeuristic: undefined, 2024-08-29 14:30:30 hoyolab-auto | immutableMinTimeToLive: undefined, 2024-08-29 14:30:30 hoyolab-auto | ignoreCargoCult: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | https: { 2024-08-29 14:30:30 hoyolab-auto | alpnProtocols: undefined, 2024-08-29 14:30:30 hoyolab-auto | rejectUnauthorized: undefined, 2024-08-29 14:30:30 hoyolab-auto | checkServerIdentity: undefined, 2024-08-29 14:30:30 hoyolab-auto | certificateAuthority: undefined, 2024-08-29 14:30:30 hoyolab-auto | key: undefined, 2024-08-29 14:30:30 hoyolab-auto | certificate: undefined, 2024-08-29 14:30:30 hoyolab-auto | passphrase: undefined, 2024-08-29 14:30:30 hoyolab-auto | pfx: undefined, 2024-08-29 14:30:30 hoyolab-auto | ciphers: undefined, 2024-08-29 14:30:30 hoyolab-auto | honorCipherOrder: undefined, 2024-08-29 14:30:30 hoyolab-auto | minVersion: undefined, 2024-08-29 14:30:30 hoyolab-auto | maxVersion: undefined, 2024-08-29 14:30:30 hoyolab-auto | signatureAlgorithms: undefined, 2024-08-29 14:30:30 hoyolab-auto | tlsSessionLifetime: undefined, 2024-08-29 14:30:30 hoyolab-auto | dhparam: undefined, 2024-08-29 14:30:30 hoyolab-auto | ecdhCurve: undefined, 2024-08-29 14:30:30 hoyolab-auto | certificateRevocationLists: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | encoding: undefined, 2024-08-29 14:30:30 hoyolab-auto | resolveBodyOnly: false, 2024-08-29 14:30:30 hoyolab-auto | isStream: false, 2024-08-29 14:30:30 hoyolab-auto | responseType: 'json', 2024-08-29 14:30:30 hoyolab-auto | url: URL { 2024-08-29 14:30:30 hoyolab-auto | href: 'https://api.ennead.cc/starrail/code', 2024-08-29 14:30:30 hoyolab-auto | origin: 'https://api.ennead.cc', 2024-08-29 14:30:30 hoyolab-auto | protocol: 'https:', 2024-08-29 14:30:30 hoyolab-auto | username: '', 2024-08-29 14:30:30 hoyolab-auto | password: '', 2024-08-29 14:30:30 hoyolab-auto | host: 'api.ennead.cc', 2024-08-29 14:30:30 hoyolab-auto | hostname: 'api.ennead.cc', 2024-08-29 14:30:30 hoyolab-auto | port: '', 2024-08-29 14:30:30 hoyolab-auto | pathname: '/starrail/code', 2024-08-29 14:30:30 hoyolab-auto | search: '', 2024-08-29 14:30:30 hoyolab-auto | searchParams: URLSearchParams {}, 2024-08-29 14:30:30 hoyolab-auto | hash: '' 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | pagination: { 2024-08-29 14:30:30 hoyolab-auto | transform: [Function: transform], 2024-08-29 14:30:30 hoyolab-auto | paginate: [Function: paginate], 2024-08-29 14:30:30 hoyolab-auto | filter: [Function: filter], 2024-08-29 14:30:30 hoyolab-auto | shouldContinue: [Function: shouldContinue], 2024-08-29 14:30:30 hoyolab-auto | countLimit: Infinity, 2024-08-29 14:30:30 hoyolab-auto | backoff: 0, 2024-08-29 14:30:30 hoyolab-auto | requestLimit: 10000, 2024-08-29 14:30:30 hoyolab-auto | stackAllItems: false 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | setHost: true, 2024-08-29 14:30:30 hoyolab-auto | maxHeaderSize: undefined, 2024-08-29 14:30:30 hoyolab-auto | signal: undefined, 2024-08-29 14:30:30 hoyolab-auto | enableUnixSockets: false 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | event: 'request', 2024-08-29 14:30:30 hoyolab-auto | [cause]: TimeoutError: Timeout awaiting 'request' for 30000ms 2024-08-29 14:30:30 hoyolab-auto | at Timeout.timeoutHandler [as _onTimeout] (file:///app/node_modules/got/dist/source/core/timed-out.js:33:25) 2024-08-29 14:30:30 hoyolab-auto | at listOnTimeout (node:internal/timers:583:11) 2024-08-29 14:30:30 hoyolab-auto | at process.processTimers (node:internal/timers:519:7) { 2024-08-29 14:30:30 hoyolab-auto | event: 'request', 2024-08-29 14:30:30 hoyolab-auto | code: 'ETIMEDOUT' 2024-08-29 14:30:30 hoyolab-auto | } 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | context: { 2024-08-29 14:30:30 hoyolab-auto | code: 'ETIMEDOUT', 2024-08-29 14:30:30 hoyolab-auto | responseType: 'json', 2024-08-29 14:30:30 hoyolab-auto | timeout: { 2024-08-29 14:30:30 hoyolab-auto | connect: undefined, 2024-08-29 14:30:30 hoyolab-auto | lookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | read: undefined, 2024-08-29 14:30:30 hoyolab-auto | request: 30000, 2024-08-29 14:30:30 hoyolab-auto | response: undefined, 2024-08-29 14:30:30 hoyolab-auto | secureConnect: undefined, 2024-08-29 14:30:30 hoyolab-auto | send: undefined, 2024-08-29 14:30:30 hoyolab-auto | socket: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | url: 'https://api.ennead.cc/starrail/code' 2024-08-29 14:30:30 hoyolab-auto | } 2024-08-29 14:30:30 hoyolab-auto | } 2024-08-29 14:30:30 hoyolab-auto | 2024-08-29 14:30:30 { 2024-08-29 14:30:30 hoyolab-auto | error: RequestError: Timeout awaiting 'request' for 30000ms 2024-08-29 14:30:30 hoyolab-auto | at ClientRequest. (file:///app/node_modules/got/dist/source/core/index.js:670:61) 2024-08-29 14:30:30 hoyolab-auto | at Object.onceWrapper (node:events:634:26) 2024-08-29 14:30:30 hoyolab-auto | at ClientRequest.emit (node:events:531:35) 2024-08-29 14:30:30 hoyolab-auto | at emitErrorNT (node:internal/streams/destroy:169:8) 2024-08-29 14:30:30 hoyolab-auto | at emitErrorCloseNT (node:internal/streams/destroy:128:3) 2024-08-29 14:30:30 hoyolab-auto | at processTicksAndRejections (node:internal/process/task_queues:82:21) 2024-08-29 14:30:30 hoyolab-auto | at runNextTicks (node:internal/process/task_queues:64:3) 2024-08-29 14:30:30 hoyolab-auto | at listOnTimeout (node:internal/timers:545:9) 2024-08-29 14:30:30 hoyolab-auto | at Timeout.timeoutHandler [as _onTimeout] (file:///app/node_modules/got/dist/source/core/timed-out.js:33:25) 2024-08-29 14:30:30 hoyolab-auto | at listOnTimeout (node:internal/timers:583:11) 2024-08-29 14:30:30 hoyolab-auto | at process.processTimers (node:internal/timers:519:7) { 2024-08-29 14:30:30 hoyolab-auto | input: undefined, 2024-08-29 14:30:30 hoyolab-auto | code: 'ETIMEDOUT', 2024-08-29 14:30:30 hoyolab-auto | timings: { 2024-08-29 14:30:30 hoyolab-auto | start: 1724913000017, 2024-08-29 14:30:30 hoyolab-auto | socket: 1724913000545, 2024-08-29 14:30:30 hoyolab-auto | lookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | connect: undefined, 2024-08-29 14:30:30 hoyolab-auto | secureConnect: undefined, 2024-08-29 14:30:30 hoyolab-auto | upload: 1724913000545, 2024-08-29 14:30:30 hoyolab-auto | response: undefined, 2024-08-29 14:30:30 hoyolab-auto | end: undefined, 2024-08-29 14:30:30 hoyolab-auto | error: 1724913030036, 2024-08-29 14:30:30 hoyolab-auto | abort: undefined, 2024-08-29 14:30:30 hoyolab-auto | phases: [Object] 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | name: 'TimeoutError', 2024-08-29 14:30:30 hoyolab-auto | options: { 2024-08-29 14:30:30 hoyolab-auto | request: undefined, 2024-08-29 14:30:30 hoyolab-auto | agent: { http: undefined, https: undefined, http2: undefined }, 2024-08-29 14:30:30 hoyolab-auto | h2session: undefined, 2024-08-29 14:30:30 hoyolab-auto | decompress: true, 2024-08-29 14:30:30 hoyolab-auto | timeout: { 2024-08-29 14:30:30 hoyolab-auto | connect: undefined, 2024-08-29 14:30:30 hoyolab-auto | lookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | read: undefined, 2024-08-29 14:30:30 hoyolab-auto | request: 30000, 2024-08-29 14:30:30 hoyolab-auto | response: undefined, 2024-08-29 14:30:30 hoyolab-auto | secureConnect: undefined, 2024-08-29 14:30:30 hoyolab-auto | send: undefined, 2024-08-29 14:30:30 hoyolab-auto | socket: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | prefixUrl: '', 2024-08-29 14:30:30 hoyolab-auto | body: undefined, 2024-08-29 14:30:30 hoyolab-auto | form: undefined, 2024-08-29 14:30:30 hoyolab-auto | json: undefined, 2024-08-29 14:30:30 hoyolab-auto | cookieJar: undefined, 2024-08-29 14:30:30 hoyolab-auto | ignoreInvalidCookies: false, 2024-08-29 14:30:30 hoyolab-auto | searchParams: undefined, 2024-08-29 14:30:30 hoyolab-auto | dnsLookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | dnsCache: undefined, 2024-08-29 14:30:30 hoyolab-auto | context: {}, 2024-08-29 14:30:30 hoyolab-auto | hooks: { 2024-08-29 14:30:30 hoyolab-auto | init: [], 2024-08-29 14:30:30 hoyolab-auto | beforeRequest: [], 2024-08-29 14:30:30 hoyolab-auto | beforeError: [ [AsyncFunction (anonymous)], [Function (anonymous)] ], 2024-08-29 14:30:30 hoyolab-auto | beforeRedirect: [], 2024-08-29 14:30:30 hoyolab-auto | beforeRetry: [], 2024-08-29 14:30:30 hoyolab-auto | afterResponse: [] 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | followRedirect: true, 2024-08-29 14:30:30 hoyolab-auto | maxRedirects: 10, 2024-08-29 14:30:30 hoyolab-auto | cache: undefined, 2024-08-29 14:30:30 hoyolab-auto | throwHttpErrors: false, 2024-08-29 14:30:30 hoyolab-auto | username: '', 2024-08-29 14:30:30 hoyolab-auto | password: '', 2024-08-29 14:30:30 hoyolab-auto | http2: true, 2024-08-29 14:30:30 hoyolab-auto | allowGetBody: false, 2024-08-29 14:30:30 hoyolab-auto | headers: { 2024-08-29 14:30:30 hoyolab-auto | 'user-agent': 'HoyoLabAuto@1a8a855', 2024-08-29 14:30:30 hoyolab-auto | accept: 'application/json', 2024-08-29 14:30:30 hoyolab-auto | 'accept-encoding': 'gzip, deflate, br' 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | methodRewriting: false, 2024-08-29 14:30:30 hoyolab-auto | dnsLookupIpVersion: undefined, 2024-08-29 14:30:30 hoyolab-auto | parseJson: [Function: parse], 2024-08-29 14:30:30 hoyolab-auto | stringifyJson: [Function: stringify], 2024-08-29 14:30:30 hoyolab-auto | retry: { 2024-08-29 14:30:30 hoyolab-auto | limit: 0, 2024-08-29 14:30:30 hoyolab-auto | methods: [ 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' ], 2024-08-29 14:30:30 hoyolab-auto | statusCodes: [ 2024-08-29 14:30:30 hoyolab-auto | 408, 413, 429, 500, 2024-08-29 14:30:30 hoyolab-auto | 502, 503, 504, 521, 2024-08-29 14:30:30 hoyolab-auto | 522, 524 2024-08-29 14:30:30 hoyolab-auto | ], 2024-08-29 14:30:30 hoyolab-auto | errorCodes: [ 2024-08-29 14:30:30 hoyolab-auto | 'ETIMEDOUT', 2024-08-29 14:30:30 hoyolab-auto | 'ECONNRESET', 2024-08-29 14:30:30 hoyolab-auto | 'EADDRINUSE', 2024-08-29 14:30:30 hoyolab-auto | 'ECONNREFUSED', 2024-08-29 14:30:30 hoyolab-auto | 'EPIPE', 2024-08-29 14:30:30 hoyolab-auto | 'ENOTFOUND', 2024-08-29 14:30:30 hoyolab-auto | 'ENETUNREACH', 2024-08-29 14:30:30 hoyolab-auto | 'EAI_AGAIN' 2024-08-29 14:30:30 hoyolab-auto | ], 2024-08-29 14:30:30 hoyolab-auto | maxRetryAfter: undefined, 2024-08-29 14:30:30 hoyolab-auto | calculateDelay: [Function: calculateDelay], 2024-08-29 14:30:30 hoyolab-auto | backoffLimit: Infinity, 2024-08-29 14:30:30 hoyolab-auto | noise: 100 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | localAddress: undefined, 2024-08-29 14:30:30 hoyolab-auto | method: 'GET', 2024-08-29 14:30:30 hoyolab-auto | createConnection: undefined, 2024-08-29 14:30:30 hoyolab-auto | cacheOptions: { 2024-08-29 14:30:30 hoyolab-auto | shared: undefined, 2024-08-29 14:30:30 hoyolab-auto | cacheHeuristic: undefined, 2024-08-29 14:30:30 hoyolab-auto | immutableMinTimeToLive: undefined, 2024-08-29 14:30:30 hoyolab-auto | ignoreCargoCult: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | https: { 2024-08-29 14:30:30 hoyolab-auto | alpnProtocols: undefined, 2024-08-29 14:30:30 hoyolab-auto | rejectUnauthorized: undefined, 2024-08-29 14:30:30 hoyolab-auto | checkServerIdentity: undefined, 2024-08-29 14:30:30 hoyolab-auto | certificateAuthority: undefined, 2024-08-29 14:30:30 hoyolab-auto | key: undefined, 2024-08-29 14:30:30 hoyolab-auto | certificate: undefined, 2024-08-29 14:30:30 hoyolab-auto | passphrase: undefined, 2024-08-29 14:30:30 hoyolab-auto | pfx: undefined, 2024-08-29 14:30:30 hoyolab-auto | ciphers: undefined, 2024-08-29 14:30:30 hoyolab-auto | honorCipherOrder: undefined, 2024-08-29 14:30:30 hoyolab-auto | minVersion: undefined, 2024-08-29 14:30:30 hoyolab-auto | maxVersion: undefined, 2024-08-29 14:30:30 hoyolab-auto | signatureAlgorithms: undefined, 2024-08-29 14:30:30 hoyolab-auto | tlsSessionLifetime: undefined, 2024-08-29 14:30:30 hoyolab-auto | dhparam: undefined, 2024-08-29 14:30:30 hoyolab-auto | ecdhCurve: undefined, 2024-08-29 14:30:30 hoyolab-auto | certificateRevocationLists: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | encoding: undefined, 2024-08-29 14:30:30 hoyolab-auto | resolveBodyOnly: false, 2024-08-29 14:30:30 hoyolab-auto | isStream: false, 2024-08-29 14:30:30 hoyolab-auto | responseType: 'json', 2024-08-29 14:30:30 hoyolab-auto | url: URL { 2024-08-29 14:30:30 hoyolab-auto | href: 'https://api.ennead.cc/starrail/code', 2024-08-29 14:30:30 hoyolab-auto | origin: 'https://api.ennead.cc', 2024-08-29 14:30:30 hoyolab-auto | protocol: 'https:', 2024-08-29 14:30:30 hoyolab-auto | username: '', 2024-08-29 14:30:30 hoyolab-auto | password: '', 2024-08-29 14:30:30 hoyolab-auto | host: 'api.ennead.cc', 2024-08-29 14:30:30 hoyolab-auto | hostname: 'api.ennead.cc', 2024-08-29 14:30:30 hoyolab-auto | port: '', 2024-08-29 14:30:30 hoyolab-auto | pathname: '/starrail/code', 2024-08-29 14:30:30 hoyolab-auto | search: '', 2024-08-29 14:30:30 hoyolab-auto | searchParams: URLSearchParams {}, 2024-08-29 14:30:30 hoyolab-auto | hash: '' 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | pagination: { 2024-08-29 14:30:30 hoyolab-auto | transform: [Function: transform], 2024-08-29 14:30:30 hoyolab-auto | paginate: [Function: paginate], 2024-08-29 14:30:30 hoyolab-auto | filter: [Function: filter], 2024-08-29 14:30:30 hoyolab-auto | shouldContinue: [Function: shouldContinue], 2024-08-29 14:30:30 hoyolab-auto | countLimit: Infinity, 2024-08-29 14:30:30 hoyolab-auto | backoff: 0, 2024-08-29 14:30:30 hoyolab-auto | requestLimit: 10000, 2024-08-29 14:30:30 hoyolab-auto | stackAllItems: false 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | setHost: true, 2024-08-29 14:30:30 hoyolab-auto | maxHeaderSize: undefined, 2024-08-29 14:30:30 hoyolab-auto | signal: undefined, 2024-08-29 14:30:30 hoyolab-auto | enableUnixSockets: false 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | event: 'request', 2024-08-29 14:30:30 hoyolab-auto | [cause]: TimeoutError: Timeout awaiting 'request' for 30000ms 2024-08-29 14:30:30 hoyolab-auto | at Timeout.timeoutHandler [as _onTimeout] (file:///app/node_modules/got/dist/source/core/timed-out.js:33:25) 2024-08-29 14:30:30 hoyolab-auto | at listOnTimeout (node:internal/timers:583:11) 2024-08-29 14:30:30 hoyolab-auto | at process.processTimers (node:internal/timers:519:7) { 2024-08-29 14:30:30 hoyolab-auto | event: 'request', 2024-08-29 14:30:30 hoyolab-auto | code: 'ETIMEDOUT' 2024-08-29 14:30:30 hoyolab-auto | } 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | context: { 2024-08-29 14:30:30 hoyolab-auto | code: 'ETIMEDOUT', 2024-08-29 14:30:30 hoyolab-auto | responseType: 'json', 2024-08-29 14:30:30 hoyolab-auto | timeout: { 2024-08-29 14:30:30 hoyolab-auto | connect: undefined, 2024-08-29 14:30:30 hoyolab-auto | lookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | read: undefined, 2024-08-29 14:30:30 hoyolab-auto | request: 30000, 2024-08-29 14:30:30 hoyolab-auto | response: undefined, 2024-08-29 14:30:30 hoyolab-auto | secureConnect: undefined, 2024-08-29 14:30:30 hoyolab-auto | send: undefined, 2024-08-29 14:30:30 hoyolab-auto | socket: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | url: 'https://api.ennead.cc/starrail/code' 2024-08-29 14:30:30 hoyolab-auto | } 2024-08-29 14:30:30 hoyolab-auto | } 2024-08-29 14:30:30 hoyolab-auto | 2024-08-29 14:30:30 { 2024-08-29 14:30:30 hoyolab-auto | error: RequestError: Timeout awaiting 'request' for 30000ms 2024-08-29 14:30:30 hoyolab-auto | at ClientRequest. (file:///app/node_modules/got/dist/source/core/index.js:670:61) 2024-08-29 14:30:30 hoyolab-auto | at Object.onceWrapper (node:events:634:26) 2024-08-29 14:30:30 hoyolab-auto | at ClientRequest.emit (node:events:531:35) 2024-08-29 14:30:30 hoyolab-auto | at emitErrorNT (node:internal/streams/destroy:169:8) 2024-08-29 14:30:30 hoyolab-auto | at emitErrorCloseNT (node:internal/streams/destroy:128:3) 2024-08-29 14:30:30 hoyolab-auto | at process.processTicksAndRejections (node:internal/process/task_queues:82:21) 2024-08-29 14:30:30 hoyolab-auto | at Timeout.timeoutHandler [as _onTimeout] (file:///app/node_modules/got/dist/source/core/timed-out.js:33:25) 2024-08-29 14:30:30 hoyolab-auto | at listOnTimeout (node:internal/timers:583:11) 2024-08-29 14:30:30 hoyolab-auto | at process.processTimers (node:internal/timers:519:7) { 2024-08-29 14:30:30 hoyolab-auto | input: undefined, 2024-08-29 14:30:30 hoyolab-auto | code: 'ETIMEDOUT', 2024-08-29 14:30:30 hoyolab-auto | timings: { 2024-08-29 14:30:30 hoyolab-auto | start: 1724913000017, 2024-08-29 14:30:30 hoyolab-auto | socket: 1724913000545, 2024-08-29 14:30:30 hoyolab-auto | lookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | connect: undefined, 2024-08-29 14:30:30 hoyolab-auto | secureConnect: undefined, 2024-08-29 14:30:30 hoyolab-auto | upload: 1724913000545, 2024-08-29 14:30:30 hoyolab-auto | response: undefined, 2024-08-29 14:30:30 hoyolab-auto | end: undefined, 2024-08-29 14:30:30 hoyolab-auto | error: 1724913030036, 2024-08-29 14:30:30 hoyolab-auto | abort: undefined, 2024-08-29 14:30:30 hoyolab-auto | phases: [Object] 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | name: 'TimeoutError', 2024-08-29 14:30:30 hoyolab-auto | options: { 2024-08-29 14:30:30 hoyolab-auto | request: undefined, 2024-08-29 14:30:30 hoyolab-auto | agent: { http: undefined, https: undefined, http2: undefined }, 2024-08-29 14:30:30 hoyolab-auto | h2session: undefined, 2024-08-29 14:30:30 hoyolab-auto | decompress: true, 2024-08-29 14:30:30 hoyolab-auto | timeout: { 2024-08-29 14:30:30 hoyolab-auto | connect: undefined, 2024-08-29 14:30:30 hoyolab-auto | lookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | read: undefined, 2024-08-29 14:30:30 hoyolab-auto | request: 30000, 2024-08-29 14:30:30 hoyolab-auto | response: undefined, 2024-08-29 14:30:30 hoyolab-auto | secureConnect: undefined, 2024-08-29 14:30:30 hoyolab-auto | send: undefined, 2024-08-29 14:30:30 hoyolab-auto | socket: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | prefixUrl: '', 2024-08-29 14:30:30 hoyolab-auto | body: undefined, 2024-08-29 14:30:30 hoyolab-auto | form: undefined, 2024-08-29 14:30:30 hoyolab-auto | json: undefined, 2024-08-29 14:30:30 hoyolab-auto | cookieJar: undefined, 2024-08-29 14:30:30 hoyolab-auto | ignoreInvalidCookies: false, 2024-08-29 14:30:30 hoyolab-auto | searchParams: undefined, 2024-08-29 14:30:30 hoyolab-auto | dnsLookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | dnsCache: undefined, 2024-08-29 14:30:30 hoyolab-auto | context: {}, 2024-08-29 14:30:30 hoyolab-auto | hooks: { 2024-08-29 14:30:30 hoyolab-auto | init: [], 2024-08-29 14:30:30 hoyolab-auto | beforeRequest: [], 2024-08-29 14:30:30 hoyolab-auto | beforeError: [ [AsyncFunction (anonymous)], [Function (anonymous)] ], 2024-08-29 14:30:30 hoyolab-auto | beforeRedirect: [], 2024-08-29 14:30:30 hoyolab-auto | beforeRetry: [], 2024-08-29 14:30:30 hoyolab-auto | afterResponse: [] 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | followRedirect: true, 2024-08-29 14:30:30 hoyolab-auto | maxRedirects: 10, 2024-08-29 14:30:30 hoyolab-auto | cache: undefined, 2024-08-29 14:30:30 hoyolab-auto | throwHttpErrors: false, 2024-08-29 14:30:30 hoyolab-auto | username: '', 2024-08-29 14:30:30 hoyolab-auto | password: '', 2024-08-29 14:30:30 hoyolab-auto | http2: true, 2024-08-29 14:30:30 hoyolab-auto | allowGetBody: false, 2024-08-29 14:30:30 hoyolab-auto | headers: { 2024-08-29 14:30:30 hoyolab-auto | 'user-agent': 'HoyoLabAuto@1a8a855', 2024-08-29 14:30:30 hoyolab-auto | accept: 'application/json', 2024-08-29 14:30:30 hoyolab-auto | 'accept-encoding': 'gzip, deflate, br' 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | methodRewriting: false, 2024-08-29 14:30:30 hoyolab-auto | dnsLookupIpVersion: undefined, 2024-08-29 14:30:30 hoyolab-auto | parseJson: [Function: parse], 2024-08-29 14:30:30 hoyolab-auto | stringifyJson: [Function: stringify], 2024-08-29 14:30:30 hoyolab-auto | retry: { 2024-08-29 14:30:30 hoyolab-auto | limit: 0, 2024-08-29 14:30:30 hoyolab-auto | methods: [ 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' ], 2024-08-29 14:30:30 hoyolab-auto | statusCodes: [ 2024-08-29 14:30:30 hoyolab-auto | 408, 413, 429, 500, 2024-08-29 14:30:30 hoyolab-auto | 502, 503, 504, 521, 2024-08-29 14:30:30 hoyolab-auto | 522, 524 2024-08-29 14:30:30 hoyolab-auto | ], 2024-08-29 14:30:30 hoyolab-auto | errorCodes: [ 2024-08-29 14:30:30 hoyolab-auto | 'ETIMEDOUT', 2024-08-29 14:30:30 hoyolab-auto | 'ECONNRESET', 2024-08-29 14:30:30 hoyolab-auto | 'EADDRINUSE', 2024-08-29 14:30:30 hoyolab-auto | 'ECONNREFUSED', 2024-08-29 14:30:30 hoyolab-auto | 'EPIPE', 2024-08-29 14:30:30 hoyolab-auto | 'ENOTFOUND', 2024-08-29 14:30:30 hoyolab-auto | 'ENETUNREACH', 2024-08-29 14:30:30 hoyolab-auto | 'EAI_AGAIN' 2024-08-29 14:30:30 hoyolab-auto | ], 2024-08-29 14:30:30 hoyolab-auto | maxRetryAfter: undefined, 2024-08-29 14:30:30 hoyolab-auto | calculateDelay: [Function: calculateDelay], 2024-08-29 14:30:30 hoyolab-auto | backoffLimit: Infinity, 2024-08-29 14:30:30 hoyolab-auto | noise: 100 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | localAddress: undefined, 2024-08-29 14:30:30 hoyolab-auto | method: 'GET', 2024-08-29 14:30:30 hoyolab-auto | createConnection: undefined, 2024-08-29 14:30:30 hoyolab-auto | cacheOptions: { 2024-08-29 14:30:30 hoyolab-auto | shared: undefined, 2024-08-29 14:30:30 hoyolab-auto | cacheHeuristic: undefined, 2024-08-29 14:30:30 hoyolab-auto | immutableMinTimeToLive: undefined, 2024-08-29 14:30:30 hoyolab-auto | ignoreCargoCult: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | https: { 2024-08-29 14:30:30 hoyolab-auto | alpnProtocols: undefined, 2024-08-29 14:30:30 hoyolab-auto | rejectUnauthorized: undefined, 2024-08-29 14:30:30 hoyolab-auto | checkServerIdentity: undefined, 2024-08-29 14:30:30 hoyolab-auto | certificateAuthority: undefined, 2024-08-29 14:30:30 hoyolab-auto | key: undefined, 2024-08-29 14:30:30 hoyolab-auto | certificate: undefined, 2024-08-29 14:30:30 hoyolab-auto | passphrase: undefined, 2024-08-29 14:30:30 hoyolab-auto | pfx: undefined, 2024-08-29 14:30:30 hoyolab-auto | ciphers: undefined, 2024-08-29 14:30:30 hoyolab-auto | honorCipherOrder: undefined, 2024-08-29 14:30:30 hoyolab-auto | minVersion: undefined, 2024-08-29 14:30:30 hoyolab-auto | maxVersion: undefined, 2024-08-29 14:30:30 hoyolab-auto | signatureAlgorithms: undefined, 2024-08-29 14:30:30 hoyolab-auto | tlsSessionLifetime: undefined, 2024-08-29 14:30:30 hoyolab-auto | dhparam: undefined, 2024-08-29 14:30:30 hoyolab-auto | ecdhCurve: undefined, 2024-08-29 14:30:30 hoyolab-auto | certificateRevocationLists: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | encoding: undefined, 2024-08-29 14:30:30 hoyolab-auto | resolveBodyOnly: false, 2024-08-29 14:30:30 hoyolab-auto | isStream: false, 2024-08-29 14:30:30 hoyolab-auto | responseType: 'json', 2024-08-29 14:30:30 hoyolab-auto | url: URL { 2024-08-29 14:30:30 hoyolab-auto | href: 'https://api.ennead.cc/starrail/code', 2024-08-29 14:30:30 hoyolab-auto | origin: 'https://api.ennead.cc', 2024-08-29 14:30:30 hoyolab-auto | protocol: 'https:', 2024-08-29 14:30:30 hoyolab-auto | username: '', 2024-08-29 14:30:30 hoyolab-auto | password: '', 2024-08-29 14:30:30 hoyolab-auto | host: 'api.ennead.cc', 2024-08-29 14:30:30 hoyolab-auto | hostname: 'api.ennead.cc', 2024-08-29 14:30:30 hoyolab-auto | port: '', 2024-08-29 14:30:30 hoyolab-auto | pathname: '/starrail/code', 2024-08-29 14:30:30 hoyolab-auto | search: '', 2024-08-29 14:30:30 hoyolab-auto | searchParams: URLSearchParams {}, 2024-08-29 14:30:30 hoyolab-auto | hash: '' 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | pagination: { 2024-08-29 14:30:30 hoyolab-auto | transform: [Function: transform], 2024-08-29 14:30:30 hoyolab-auto | paginate: [Function: paginate], 2024-08-29 14:30:30 hoyolab-auto | filter: [Function: filter], 2024-08-29 14:30:30 hoyolab-auto | shouldContinue: [Function: shouldContinue], 2024-08-29 14:30:30 hoyolab-auto | countLimit: Infinity, 2024-08-29 14:30:30 hoyolab-auto | backoff: 0, 2024-08-29 14:30:30 hoyolab-auto | requestLimit: 10000, 2024-08-29 14:30:30 hoyolab-auto | stackAllItems: false 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | setHost: true, 2024-08-29 14:30:30 hoyolab-auto | maxHeaderSize: undefined, 2024-08-29 14:30:30 hoyolab-auto | signal: undefined, 2024-08-29 14:30:30 hoyolab-auto | enableUnixSockets: false 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | event: 'request', 2024-08-29 14:30:30 hoyolab-auto | [cause]: TimeoutError: Timeout awaiting 'request' for 30000ms 2024-08-29 14:30:30 hoyolab-auto | at Timeout.timeoutHandler [as _onTimeout] (file:///app/node_modules/got/dist/source/core/timed-out.js:33:25) 2024-08-29 14:30:30 hoyolab-auto | at listOnTimeout (node:internal/timers:583:11) 2024-08-29 14:30:30 hoyolab-auto | at process.processTimers (node:internal/timers:519:7) { 2024-08-29 14:30:30 hoyolab-auto | event: 'request', 2024-08-29 14:30:30 hoyolab-auto | code: 'ETIMEDOUT' 2024-08-29 14:30:30 hoyolab-auto | } 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | context: { 2024-08-29 14:30:30 hoyolab-auto | code: 'ETIMEDOUT', 2024-08-29 14:30:30 hoyolab-auto | responseType: 'json', 2024-08-29 14:30:30 hoyolab-auto | timeout: { 2024-08-29 14:30:30 hoyolab-auto | connect: undefined, 2024-08-29 14:30:30 hoyolab-auto | lookup: undefined, 2024-08-29 14:30:30 hoyolab-auto | read: undefined, 2024-08-29 14:30:30 hoyolab-auto | request: 30000, 2024-08-29 14:30:30 hoyolab-auto | response: undefined, 2024-08-29 14:30:30 hoyolab-auto | secureConnect: undefined, 2024-08-29 14:30:30 hoyolab-auto | send: undefined, 2024-08-29 14:30:30 hoyolab-auto | socket: undefined 2024-08-29 14:30:30 hoyolab-auto | }, 2024-08-29 14:30:30 hoyolab-auto | url: 'https://api.ennead.cc/starrail/code' 2024-08-29 14:30:30 hoyolab-auto | } 2024-08-29 14:30:30 hoyolab-auto | }

torikushiii commented 2 months ago

you can safely ignore those error since it means the request timed out.

if you do not want any kind of this error in the future, you can go here https://github.com/torikushiii/hoyolab-auto/blob/1a8a85515b84e0889e58d763fb59de4fe1e07ed0/gots/global/index.js#L25-L33

and change it from log to debug

 app.Logger.debug("GotRequest", { // this one
    error: err, 
    context: { 
        code: err.code, 
        responseType: err.options?.responseType ?? null, 
        timeout: err.options?.timeout ?? null, 
        url: err.options?.url?.toString?.() ?? null 
    } 
 }); 
Capoouo commented 2 months ago

I know what to do now. Thank you! <3

Capoouo commented 2 months ago

@torikushiii

Sorry, this is not related to the previous question. Currently, I see the following in the control:

2024-08-29 17:00:00 hoyolab-auto | 2024-08-29 17:00:00 Found 1 new codes

Afterward, I checked the cache to see if this redemption code was present and found the code EFCIZM3399M1. I used the Discord bot /redeem to redeem EFCIZM3399M1, and the redemption was successful, but my auto redeem is enabled

image

torikushiii commented 2 months ago

sometimes redeeming code can be fail for various reasons and they sometimes did not returns a proper error code, but i myself haven't encountered that issue before, but if it's keep happening let me know!

Capoouo commented 2 months ago

sometimes redeeming code can be fail for various reasons and they sometimes did not returns a proper error code, but i myself haven't encountered that issue before, but if it's keep happening let me know!

I just found 3 more codes, but none of them were redeemed for me But only two were redeemed. The 3 codes are EFCI18V69I74, KEQES9R79R49, and HHFP3517D3UN. However, only EFCI18V69I74 was redeemed, and nothing was sent to Discord

2024-08-29 21:00:00 hoyolab-auto | 2024-08-29 21:00:00 Found 3 new codes image

EFCI18V69I74 was redeemed using the Discord bot, and that's the result

torikushiii commented 2 months ago

Interesting, haven't encountered that my self or heard that occurring at other people

Here's my redeem confirmation that it successfully redeem the code image

What you can try if you haven't redeem the code is to comment this line of code at index.js to see if there's any error

https://github.com/torikushiii/hoyolab-auto/blob/1a8a85515b84e0889e58d763fb59de4fe1e07ed0/index.js#L117-L126

Capoouo commented 2 months ago

Interesting, haven't encountered that my self or heard that occurring at other people

Here's my redeem confirmation that it successfully redeem the code image

What you can try if you haven't redeem the code is to comment this line of code at to see if there's any errorindex.js

https://github.com/torikushiii/hoyolab-auto/blob/1a8a85515b84e0889e58d763fb59de4fe1e07ed0/index.js#L117-L126

I adjusted one Genshin account to another and deleted KEQES9R79R49 from the cache. It correctly redeemed the code and pushed it to Discord. I also deleted HHFP3517D3UN, and it was correctly redeemed as well. I'm not quite sure what the issue was initially, but I think I need to observe it a bit more

Capoouo commented 2 months ago

@torikushiii Today, I encountered the same issue again, but this time when I tried to redeem using the Discord bot, there was no option to select an account. I'm now trying to set the Discord bot to false to see if the issue still occurs

torikushiii commented 2 months ago

That issue is because discord does not register the commands properly, you can try restarting the bot and everything should be fine

Capoouo commented 2 months ago

That issue is because discord does not register the commands properly, you can try restarting the bot and everything should be fine

However, after running Docker continuously for two days, a new code was found for Star Rail, but there was no feedback or issues reported. It wasn't until I restarted the container and deleted the cache data that the redemption worked properly image

image

edit: Or perhaps it would be better if, after finding a new code, a message is displayed in the console when the redemption is successful. This might make it easier to confirm?

torikushiii commented 2 months ago

i think i might be able to replicate this, ill report back when there's new code available

Capoouo commented 2 months ago

i think i might be able to replicate this, ill report back when there's new code available

Hi! I just got some new code, but the same issue has occurred again here are no messages in Discord, and nothing appears in the console except for: 2024-09-04 12:30:00 hoyolab-auto | 2024-09-04 12:30:00 Found 1 new codes

When I delete the following from the cache: {\"code\":\"XRPTL1P7K5H8W\",\"rewards\":[\"Materials\",\"Credits\"],\"source\":\"starrail-api\",\"date\":1725424200572,\"active\":false} and then restart, it auto redeems the code for me. It's weird

Code: XRPTL1P7K5H8W

torikushiii commented 2 months ago

Ill need to wait on other website to post this code first because unfortunately I disabled the one website that post this XRPTL1P7K5H8W code while debugging...

Capoouo commented 1 month ago

Ill need to wait on other website to post this code first because unfortunately I disabled the one website that post this XRPTL1P7K5H8W code while debugging...

hey! There is a new code AA2G7664C2RX, and I’m encountering this situation again. Do you have it too?

But this time, after deleting and restarting, the following appeared: 2024-09-10 21:24:02 hoyolab-auto | 2024-09-10 21:24:02 AA2G7664C2RX System busy. Please try again later.(Error Code -1097)

What does this situation mean?

torikushiii commented 1 month ago

Yep, I encountered this new code and somehow its stuck, I'll try to take a look into it now

image

System busy. Please try again later. could be mean that there's way too many people is redeeming the code, or the redeem website is under maintenance/heavy-load

Capoouo commented 1 month ago

Yep, I encountered this new code and somehow its stuck, I'll try to take a look into it now

image

System busy. Please try again later. could be mean that there's way too many people is redeeming the code, or the redeem website is under maintenance/heavy-load

It seems similar to my situation? The code is found but not redeemed?

Additionally, I used Discord to manually redeem here: https://hsr.hoyoverse.com/gift?code=AA2G7664C2RX

I can go in and redeem, but after deleting and retrying for other accounts that haven't redeemed yet, it's still showing 'System busy. Please try again later. (Error Code -1097).'

edit : image

This is the recent situation: 2024-09-11 06:38:00 hoyolab-auto | 2024-09-11 06:38:00 INFO:StarRailResolver Found 1 new code This new code wasn't redeemed, and for the remaining ones: FeixiaoFiles, HJSZQ4C8H2F6W, NOHOTFOODPLEASE, the redemption was attempted, but they all resulted in 'System busy. Please try again later. (Error Code -1097)

torikushiii commented 1 month ago

good news, after poking around I've found the cause for this behavior.

for System busy error its because they changed on how the code redemption work

Capoouo commented 1 month ago

Glad to hear this news, looking forward to your next update

Capoouo commented 1 month ago

I saw that you have updated. I pulled and re-enabled the project, and deleted the previous codes before running it. Currently, it's only showing: 2024-09-11 15:45:01 hoyolab-auto | 2024-09-11 15:45:01 [INFO:StarRailResolver]Found 6 new codes But no further actions were taken, and there was no notification on Discord either

torikushiii commented 1 month ago

~I've pushed a new commit, this should resolve everything~

Let me try deleting few newer codes and see it behavior

torikushiii commented 1 month ago

after testing with various use-cases it seems it work just fine, but I'll keep an eye out

image

image

Capoouo commented 1 month ago

I tried again, and it redeemed successfully this time. Thank you! <3

If similar issues arise, I will report them again

Capoouo commented 1 month ago

@torikushiii hi! My ZZZ just found a new code, but there was no message on Discord, and nothing in the console. The previous Genshin code was successfully redeemed

image

image

torikushiii commented 1 month ago

that's weird, because both of them successfully redeemed for me, if this keep happening agian, I'll try to add more logs in the future if there's a new code and doesn't redeem.

image

Capoouo commented 1 month ago

weird,Let's wait for the next code and observe what happens

Capoouo commented 1 month ago

@torikushiii 2024-09-15 03:15:00 hoyolab-auto | 2024-09-15 03:15:00 Found 1 new codes Today, at 2024-09-15 03:15:00, there was 1 Genshin code, but I'm not sure if it was redeemed. There was no notification on Discord

torikushiii commented 1 month ago

It redeemed just fine for me, but since this kept happening, I'll try to rework the code this week!

image

Capoouo commented 1 month ago

emm, is there another way I can check to find out the reason why it didn’t redeem?

torikushiii commented 1 month ago

there should be a log to inform if the redemption is unsuccessful but i think this one because it stuck somewhere when trying to fetch new codes and it does not returns the data properly

Capoouo commented 1 month ago

I think I roughly understand what you mean. If you need any help with testing, feel free to ask

Capoouo commented 1 month ago

Today, there was a new Star Rail code, and it redeemed successfully for me. 2024-09-17 12:15:01 hoyolab-auto | 2024-09-17 12:15:00 [INFO:StarRailResolver]Found 1 new codes

image