-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPFS mount & "could not resolve name" #2383
Comments
ping @noffle |
Thanks for taking the time to comment, @palkeo! This is a somewhat common problem: in order to mount One workaround is to publish something to the network first, and then mount. The daemon will be able to find your IPNS entry on the network and allow you to proceed:
|
The issue you mentionned seems different : it's about DNS-like caching & TTL, right ? For this one, maybe you could just gracefuly fail if you are not able to resolve the public key on the node, and consider that nothing was published before, right ? If you want, I can try to work on that one :) |
There's been much discussion on this before. I don't have a quick 'n easy summary of where it's at, but here's some reading to get you started: |
Thanks for the links ! And anyway, I think that failing to resolve our own public key should never be a failure as it is now, and we should fallback to what we have locally. What do you think ? (don't hesitate to tell me if my assumptions are not correct !) |
I agree 100%. Assuming Juan (cc @jbenet) has no qualms either -- I think he may have in the past? -- I think you should absolutely make this happen. +:100: |
I got the same bug, luckily it worked after I did what @noffle posted in his first comment. |
We should work on failing more gracefully here. I think this is worth bumping to a development milestone |
Resolved in #3728 |
The bug still appears in IPFS v0.9.0. When nothing is published
When file is published it shows the following message:
When directory is published, everything is ok:
Can you reopen the issue, or should I create a new one? |
I've tried to reproduce the bug in IPFS v0.9.1, but I can't do that. It doesn't look like it was fixed: I don't see it in changelog. More likely it just happens occasionally. I'll let you know if I can reproduce it. |
Had to publish both a file and a directory before |
Hi !
I encountered an issue with « ipfs mount » : trying to access an invalid multihash (I forgot the last character) made « ipfs mount » display « could no resolve name » and quit, removing the mount point. Can you just display an error (with the name you could not resolve, BTW), but leave it running ?
Also, I'd like to see a message when running « ipfs mount », telling me that IPFS/IPNS are now mounted, with their respective paths.
And to finish, each time I do « ipfs mount », it tells me « could not resolve name » (I don't know which name…), and quit a dozen of seconds later and unmount the mount point. So I just can't use the mount points :(
Thanks ! (Maybe I can try to fix these issues by myself, but I want your opinion and guidance on that anyway !)
The text was updated successfully, but these errors were encountered: