Open aphelionz opened 5 years ago
This is a reliability issue with our gateway that we're currently debugging. (not the normal issues, this appears to be a regression)
Thank you!
Just adding a +1... this has been causing huge problems for github.com/trufflesuite/truffle's development process.
+1 Same on our side with aragon/aragon-cli
this is unreliable also for low speed connections: (After 1 hour waiting for the download to complete)
This is one of many random errors when trying to download the module from dist.ipfs.io
For those who want a (hopefully) temporary workaround, you can try my fork here: https://github.com/aphelionz/npm-go-ipfs-dep/ which downloads from GitHub releases.
I know it's not what we want to achieve in the end, but at least this can unblock some people like it unblocked me. Maybe we can use the centralized solution in GH as a fallback or something, I dunno.
Another option I thought of, but didn't attempt, was to package the CIDs of the releases inside the repo itself and then use ipfs.get
to grab them. I tried it with one of the .cid files from GitHub releases and it seemed to work since it was downloading from the swarm instead of from the HTTP gateway.
Proposal to support error recovery via a customizable list of gateways: https://github.com/ipfs/npm-go-ipfs/issues/31
npm install
is failing fairly regularly now, hanging at: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 callingwget
over and over again until it freezes.Reproduced on multiple devices and internet connection situations.