Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

起動して祝日を取得する際にエラーが発生 #97

Description

@takejohn

バグについての説明
祝日を取得する際にエラーが発生することがある。

AxiosError [AggregateError]
    at AxiosError.from (/home/takejohn/Sekai.Explode/node_modules/axios/dist/node/axios.cjs:836:14)
    at RedirectableRequest.handleRequestError (/home/takejohn/Sekai.Explode/node_modules/axios/dist/node/axios.cjs:3086:25)
    at RedirectableRequest.emit (node:events:519:28)
    at RedirectableRequest.emit (node:domain:488:12)
    at eventHandlers.<computed> (/home/takejohn/Sekai.Explode/node_modules/follow-redirects/index.js:38:24)
    at ClientRequest.emit (node:events:519:28)
    at ClientRequest.emit (node:domain:488:12)
    at TLSSocket.socketErrorListener (node:_http_client:500:9)
    at TLSSocket.emit (node:events:519:28)
    at TLSSocket.emit (node:domain:488:12)
    at Axios.request (/home/takejohn/Sekai.Explode/node_modules/axios/dist/node/axios.cjs:3876:41)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async getHolidays (/home/takejohn/Sekai.Explode/core/util/calendar.ts:2:1524) {
  code: 'ETIMEDOUT',
  errors: [
    Error: connect ETIMEDOUT 210.148.118.33:443
        at createConnectionError (node:net:1646:14)
        at Timeout.internalConnectMultipleTimeout (node:net:1705:38)
        at listOnTimeout (node:internal/timers:575:11)
        at process.processTimers (node:internal/timers:514:7) {
      errno: -110,
      code: 'ETIMEDOUT',
      syscall: 'connect',
      address: '210.148.118.33',
      port: 443
    },
     Error: connect ENETUNREACH 2001:240:1d4:1::33:443 - Local (:::0)
        at internalConnectMultiple (node:net:1180:16)
        at Timeout.internalConnectMultipleTimeout (node:net:1710:5)
        at listOnTimeout (node:internal/timers:575:11)
        at process.processTimers (node:internal/timers:514:7) {
      errno: -101,
      code: 'ENETUNREACH',
      syscall: 'connect',
      address: '2001:240:1d4:1::33',
      port: 443
    }
  ],
  config: {
    // 長すぎるので以下略

再現方法

  1. npm run dev で実行 (npm start でもなるかも)
  2. 時々このエラーが発生

期待される振る舞い(動作)
エラーが出ない。

スクリーンショット
なし

動作環境(この項目を埋めてください。):

  • OS: Ubuntu 22.04.4
  • Node.jsのバージョン: v21.7.1

補足説明
なし

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions