Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

"no p2p service" feedback tracking issue #120

Closed
2 of 4 tasks
b5 opened this issue Oct 23, 2022 · 1 comment
Closed
2 of 4 tasks

"no p2p service" feedback tracking issue #120

b5 opened this issue Oct 23, 2022 · 1 comment
Assignees

Comments

@b5
Copy link
Member

b5 commented Oct 23, 2022

Let's track the state where the p2p node is unavailable, and up the

  • running iroh add should still work, ingesting locally. Needs to warn the user that content won't be provided to the network without running p2p.
  • iroh add should warn the user they need to be online.
  • all p2p subcommands should present p2p service is not running error message when run without the p2p service
  • iroh get without any remote resolvers should error out & inform the user they need either a gateway or p2p running
@b5
Copy link
Member Author

b5 commented Nov 2, 2022

currently iroh get with no racing gateway & p2p not running, you get this:

$ iroh get /ipfs/bafybeihjgu5w6wbbxqevdgccj5xm453dbzpkwmkyoepvs3vh6wft4uvf2q/cat.jpg cat.jpg
Error: Connection refused. Are services running?
hint: see 'iroh start' for more on starting services

I think that's enough for the short term, we may need a more thorough error message in the future, but let's confirm with user testing

@b5 b5 closed this as completed Nov 2, 2022
@dignifiedquire dignifiedquire transferred this issue from n0-computer/iroh Feb 17, 2023
@ramfox ramfox removed this from iroh Feb 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant