Skip to content

domain overview timeouts when having lot of organisations/applications #1006

@KannarFr

Description

@KannarFr

I have several organisations and applications and the multiples fetches are too long, can we delay it and increase timeout WDYT?

> clever domain overview -F json -v
[DEBUG] GET https://api.clever-cloud.com/v2/organisations/REDACTED/applications/REDACTED/vhosts ? undefined
...
[DEBUG] GET https://api.clever-cloud.com/v2/organisations/REDACTED/applications/REDACTED/vhosts ? undefined
[STACKTRACE]
TypeError: fetch failed
    at node:internal/deps/undici/undici:13510:13
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at runNextTicks (node:internal/process/task_queues:69:3)
    at process.processImmediate (node:internal/timers:453:9) {
  [cause]: ConnectTimeoutError: Connect Timeout Error (attempted addresses: 91.208.207.205:443, 91.208.207.204:443, timeout: 10000ms)
      at onConnectTimeout (node:internal/deps/undici/undici:2602:28)
      at Immediate._onImmediate (node:internal/deps/undici/undici:2583:11)
      at process.processImmediate (node:internal/timers:485:21) {
    code: 'UND_ERR_CONNECT_TIMEOUT'
  }
}
[/STACKTRACE]
[ERROR] fetch failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions