ipfs / ipfs/npm-kubo

dist.ipfs.io unreliable or blocking automated requests

Open
#39 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
44
Forks
28
PR merge metrics
No merged PRs in 30d

Description

npm install is failing fairly regularly now, hanging at:

> go-ipfs-dep@0.4.19 install /home/mark/Projects/orbitdb/orbit-db/node_modules/go-ipfs-dep
> node src/bin.js

I believe three's some automated protection on dist.ipfs.io now that's blocking these requests and causing 504 timeouts. You can emulate it by simply calling wget over and over again until it freezes.

Reproduced on multiple devices and internet connection situations.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported npm install reproduction and the src/bin.js entry point, then inspect how requests to dist.ipfs.io are handled when repeated downloads hang or return 504 timeouts. Reproduce the failure with repeated wget requests and define done as npm install completing reliably without the reported timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.