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.
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.