infura / ipfs-copy Goto Github PK
View Code? Open in Web Editor NEWPin your existing IPFS files stored in Infura in 3 steps.
License: MIT License
Pin your existing IPFS files stored in Infura in 3 steps.
License: MIT License
we're trying to migrate to infura ipfs with this tool but faced with unclear issue
please help to investigate and fix
[ec2-user@ip-10-0-33-62 ~]$ ipfs --version
ipfs version 0.4.22
[ec2-user@ip-10-0-33-62 ~]$ sudo netstat -nlp | grep 5001
tcp 0 0 0.0.0.0:5001 0.0.0.0:* LISTEN 22287/ipfs
[ec2-user@ip-10-0-33-62 ~]$ ipfs-copy --source-api-url=http://localhost:5001 --project-id=my_id --project-secret=my_secret
2021/07/15 07:26:02 [ERROR] version: not allowed - invalid origin
Hello, i downloaded ipfs-copy-v1.2.0-windows-386, i’m on windows 10 but when i double click on it, nothing happen and it install nothing so running ipfs-copy in bash give the expected command not found.
Any idea why? I tried it a couple of month ago, on another computer and it was working, did anything change? I don’t have any firewall or antivirus on and i can execute any other .exe.
I try to use the command and the result is an error.
ipfs-copy --cids=cid.txt --source-api-url=http://localhost:5001 --project-id=xxx --project-secret=xxx
2022/05/20 16:15:17 [INFO] Infura IPFS version is: 0.11.0
2022/05/20 16:15:17 [INFO] Pinning CIDs to https://ipfs.infura.io:5001 with 20 workers and maximum 50 req/s/worker...
2022/05/20 16:16:18 [ERROR] Failed pinning CID 'xxxxxxxxxxxx'. pin/add: pin: failed to get block for xxxxxxxx: context deadline exceeded
2022/05/20 16:16:19 [ERROR] Failed pinning CID 'xxxxxxxxxxxx'. pin/add: pin: failed to get block for xxxxxxxxxx: context deadline exceeded
2022/05/20 16:16:19 [INFO] Successfully pinned 0 CIDs
2022/05/20 16:16:19 [INFO] Failed to pin 2 CIDs
But i can get the file by ipfs command.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.