Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mops i network failure #211

Open
vporton opened this issue Feb 26, 2024 · 1 comment
Open

mops i network failure #211

vporton opened this issue Feb 26, 2024 · 1 comment

Comments

@vporton
Copy link

vporton commented Feb 26, 2024

MOPS stopped to work:

$ mops i
node:internal/deps/undici/undici:11731
    Error.captureStackTrace(err, this);
          ^

TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11731:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async HttpAgent._requestAndRetry (/home/porton/.nvm/versions/node/v21.5.0/lib/node_modules/ic-mops/node_modules/@dfinity/agent/lib/cjs/agent/http/index.js:265:26)
    at async HttpAgent.query (/home/porton/.nvm/versions/node/v21.5.0/lib/node_modules/ic-mops/node_modules/@dfinity/agent/lib/cjs/agent/http/index.js:312:26)
    at async caller (/home/porton/.nvm/versions/node/v21.5.0/lib/node_modules/ic-mops/node_modules/@dfinity/agent/lib/cjs/actor.js:181:28)
    at async checkApiCompatibility (file:///home/porton/.nvm/versions/node/v21.5.0/lib/node_modules/ic-mops/dist/mops.js:224:25)
    at async Command.<anonymous> (file:///home/porton/.nvm/versions/node/v21.5.0/lib/node_modules/ic-mops/dist/cli.js:83:22) {
  cause: ConnectTimeoutError: Connect Timeout Error
      at onConnectTimeout (node:internal/deps/undici/undici:6869:28)
      at node:internal/deps/undici/undici:6825:50
      at Immediate._onImmediate (node:internal/deps/undici/undici:6857:13)
      at process.processImmediate (node:internal/timers:476:21) {
    code: 'UND_ERR_CONNECT_TIMEOUT'
  }
}

Node.js v18.19.1
@vporton
Copy link
Author

vporton commented Feb 27, 2024

The bug appears with Node v18.19.1 but not with Node v21.5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant