Skip to content
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

[gui error report] Error: Initializing daemon... #2221

Closed
lizhijun97 opened this issue Aug 4, 2022 · 1 comment · Fixed by #2223
Closed

[gui error report] Error: Initializing daemon... #2221

lizhijun97 opened this issue Aug 4, 2022 · 1 comment · Fixed by #2223
Assignees
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization

Comments

@lizhijun97
Copy link

👉️ Please describe what you were doing when this error happened.

Specifications

  • OS: win32
  • IPFS Desktop Version: 0.22.0
  • Electron Version: 19.0.8
  • Chrome Version: 102.0.5005.148

Error

Error: Initializing daemon...
Kubo version: 0.14.0
Repo version: 12
System version: amd64/windows
Golang version: go1.18.3
2022-08-04T20:37:38.697 0800	ERROR	core	core/builder.go:117	constructing the node: could not build arguments for function "github.com/ipfs/kubo/core/node".PeerWith.func1 (github.com/ipfs/kubo@v0.14.0/core/node/peering.go:29): failed to build *peering.PeeringService: could not build arguments for function "github.com/ipfs/kubo/core/node".Peering (github.com/ipfs/kubo@v0.14.0/core/node/peering.go:14): failed to build host.Host: could not build arguments for function "github.com/ipfs/kubo/core/node/libp2p".Host (github.com/ipfs/kubo@v0.14.0/core/node/libp2p/host.go:40): could not build value group []config.Option[group="libp2p"]: received non-nil error from function "github.com/ipfs/kubo/core/node/libp2p".PNet (github.com/ipfs/kubo@v0.14.0/core/node/libp2p/pnet.go:21): failed to configure private network: EOF

Error: constructing the node (see log for full detail): failed to configure private network: EOF

    at errorTemplate (C:\Users\cxx\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:78:49)
    at Object.loadWindow (C:\Users\cxx\AppData\Local\Program
@lizhijun97 lizhijun97 added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Aug 4, 2022
@lidel
Copy link
Member

lidel commented Aug 8, 2022

Could it be because invalid ~/.ipfs/swarm.key is present?
https://github.com/ipfs/kubo/blob/master/docs/experimental-features.md#private-networks
cc @hacdias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants