ESD6-blockr / blockr-ipfs

Private IPFS network setup used within the Blockr project
0 stars 0 forks source link

#1 - Error when copying already used swarm.key #2

Open arnoudbevers opened 5 years ago

arnoudbevers commented 5 years ago

When creating a new IPFS daemon with a previously generated (and used) swarm.key, the following error occurs:

Error: could not build arguments for function "github.com/ipfs/go-ipfs/core/node".IpnsRepublisher.func1 (/go-ipfs/core/node/ipns.go:38): failed to build namesys.NameSystem: could not build arguments for function "github.com/ipfs/go-ipfs/core/node".Namesys.func1 (/go-ipfs/core/node/ipns.go:31): failed to build routing.IpfsRouting: could not build arguments for function "github.com/ipfs/go-ipfs/core/node/libp2p".Routing (/go-ipfs/core/node/libp2p/routing.go:60): could not build value group libp2p.Router[group="routers"]: could not build arguments for function "github.com/ipfs/go-ipfs/core/node/libp2p".BaseRouting (/go-ipfs/core/node/libp2p/routing.go:34): failed to build libp2p.BaseIpfsRouting: could not build arguments for function "github.com/ipfs/go-ipfs/core/node/libp2p".Host (/go-ipfs/core/node/libp2p/host.go:39): could not build value group []config.Option[group="libp2p"]: function "github.com/ipfs/go-ipfs/core/node/libp2p".PNet (/go-ipfs/core/node/libp2p/pnet.go:19) returned a non-nil error: failed to configure private netw

This seems to be an issue regarding the line endings for the file. Things we have already tried to fix it:

arnoudbevers commented 5 years ago

This is an issue that we will leave to the next group, since this is a specific issue that requires more time to fully research - also due to little amounts of documentation on private networks.