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

Unable to download dataset with openneuro-cli #3075

Open
orbitalhybridization opened this issue Jun 6, 2024 · 0 comments
Open

Unable to download dataset with openneuro-cli #3075

orbitalhybridization opened this issue Jun 6, 2024 · 0 comments
Labels

Comments

@orbitalhybridization
Copy link

orbitalhybridization commented Jun 6, 2024

What went wrong?

I would like to download the Narratives dataset from OpenNeuro. I installed the CLI tool from Node.js, completed login with an API key, but when I try the following command
openneuro download --snapshot 1.1.4 ds002345 ds002345-download/

I get the following error (omitted directory names for privacy):

FetchError: request to https://openneuro.org/crn/graphql failed, reason: connect ETIMEDOUT 34.107.158.10:443
    at ClientRequest.<anonymous> (/{dir}/{subdir}/home/{user}/.nvm/versions/node/v20.14.0/lib/node_modules/@openneuro/cli/node_modules/node-fetch/lib/index.js:1505:11)
    at /{dir}/{subdir}/home/{user}/.nvm/versions/node/v20.14.0/lib/node_modules/@openneuro/cli/node_modules/elastic-apm-node/lib/instrumentation/run-context/AbstractRunContextManager.js:96:49
    at AsyncLocalStorage.run (node:async_hooks:346:14)
    at AsyncLocalStorageRunContextManager.with (/{dir}/{subdir}/home/{user}/.nvm/versions/node/v20.14.0/lib/node_modules/@openneuro/cli/node_modules/elastic-apm-node/lib/instrumentation/run-context/AsyncLocalStorageRunContextManager.js:57:36)
    at ClientRequest.wrapper (/{dir}/{subdir}/home/{user}/.nvm/versions/node/v20.14.0/lib/node_modules/@openneuro/cli/node_modules/elastic-apm-node/lib/instrumentation/run-context/AbstractRunContextManager.js:96:23)
    at ClientRequest.emit (node:events:519:28)
    at ClientRequest.wrappedEmit [as emit] (/{dir}/{subdir}/home/{user}/.nvm/versions/node/v20.14.0/lib/node_modules/@openneuro/cli/node_modules/elastic-apm-node/lib/instrumentation/http-shared.js:313:21)
    at TLSSocket.socketErrorListener (node:_http_client:500:9)
    at TLSSocket.emit (node:events:519:28)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT'
}

Expected behavior

Expected to download Narratives dataset : https://openneuro.org/datasets/ds002345/versions/1.1.4/download

How to reproduce

No response

Desktop

  • OS: Ubuntu 22.04.3 LTS

Phone

  • Device:
  • OS:
  • Browser:
  • Version:

Additional information

No response

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

No branches or pull requests

1 participant