ipfs daemon --offline returns 400 for /api/v0/stats/bw
Open
exp/intermediate
kind/bug
P2
- Dominant language
- JavaScript
- Stars
- 1.6k
- Forks
- 534
- PR merge metrics
- No merged PRs in 30d
Description
If your run
```console
ipfs daemon --offline
```
then the API responds to requests for `/api/v0/stats/bw` with a `400` status code and the body:
```json
{"Message":"this command must be run in online mode. Try running 'ipfs daemon' first","Code":1,"Type":"error"}
```
as we're using the bandwidth stats to determine if the connection is working, the Web UI asserts that the connection to IPFS has failed.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.