Git Product home page Git Product logo

ipfs-copy's Issues

Allowed HTTP Origin doesn't work with ipfs-copy

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

ipfs-copy.exe not installing anything

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.

How to copy the specified CID file from the local

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.