ipfs / ipfs/kubo

`ipfs get` doesn't automatically restart the download of a CID

Open
#7,301 15 comments 0 reactions 0 assignees View on GitHub
effort/days exp/expert kind/bug need/analysis P1 topic/bitswap
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

#### Version information:
```
go-ipfs version: 0.5.1
Repo version: 9
System version: amd64/linux
Golang version: go1.13.10
```

#### Description:

`ipfs get` gets stuck if the other peer reconnects to the network.

In this example `node_0` is my laptop (behind NAT), `node_1` is my VPS with a public ip.

- `node_0`: add a file and get the `CID`.
- `node_1`: run `ipfs get `.
- ...wait for the download to start...
- `node_0`: internet goes down.
- `node_0`: internet goes up again.
- `node_1` download is now stuck.

Note that `node_0` is the only one that can serve `CID`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.