ipfs daemon --offline returns 400 for /api/v0/stats/bw #853
Labels
exp/intermediate
Prior experience is likely helpful
kind/bug
A bug in existing code (including security flaws)
P2
Medium: Good to have, but can wait until someone steps up

olizilla commentedOct 7, 2018
If your run
ipfs daemon --offlinethen the API responds to requests for
/api/v0/stats/bwwith a400status code and the body:{"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.
The text was updated successfully, but these errors were encountered: