Go-ipfs: `ipfs mount` returns "could not resolve name"

Created on 4 Apr 2020  路  4Comments  路  Source: ipfs/go-ipfs

$ ipfs mount
Error: could not resolve name

Version information:

go-ipfs version: 0.5.0-dev-6c45f9ed9
Repo version: 9
System version: amd64/linux
Golang version: go1.13.8

Description:

I just wanted to add the mounts to my client and this is what happend.

kinbug

Most helpful comment

Why do we need to resolve the IPNS record at all?

IIRC, because ls /ipns will list all of our own keys. However:

  1. We can probably do this lazily.
  2. We should be able to just look at our local record and avoid querying the network.

All 4 comments

Hm. For some reason, we're trying to resolve our _local_ IPNS record on the public network. We should check to see if _we're_ publishing the address and check our local cache.

Well, this can't work - since I never published the record on the network...

Why do we need to resolve the IPNS record at all?

Why do we need to resolve the IPNS record at all?

IIRC, because ls /ipns will list all of our own keys. However:

  1. We can probably do this lazily.
  2. We should be able to just look at our local record and avoid querying the network.

Is there a workaround?

Was this page helpful?
0 / 5 - 0 ratings