Hey all,
I am experimenting with IPFS at the moment, and I am trying to create a new IPNS record in a private IPFS network. When I am trying to use the API, I am getting the following error:
failed to find any peer in table
Even though I’ve allowed it:
cidPath := path.New(cid)
opts := []options.NamePublishOption{
options.Name.AllowOffline(true),
options.Name.Key(key.ID().Pretty()),
}
ipns, err := node.Name().Publish(ctx, cidPath, opts...)
Any idea why?