Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Node crashes with "Missing peerId" after a few minutes #1221

Closed
libp2p/js-libp2p-secio
#101
@victorb

Description

@victorb
  • Version: 0.27.7
  • Platform: x86_64 GNU/Linux
  • Subsystem:

Type:

Bug

Description:

Node crashes after ~5 minutes (varies though) with error AssertionError [ERR_ASSERTION]: Missing peerId. Use Peer.create(cb) to create one

Full logs are here: https://gist.github.com/VictorBjelkholm/0e7819b3a19caab7dbfc3172ab222184

Steps to reproduce the error:

  • git clone https://github.com/VictorBjelkholm/js-ipfs-docker.git
  • cd js-ipfs-docker
  • yarn
  • node index.js
  • Wait until it crashes

Metadata

Metadata

Assignees

Labels

P0Critical: Tackled by core team ASAPexp/wizardExtensive knowledge (implications, ramifications) requiredhelp wantedSeeking public contribution on this issuekind/bugA bug in existing code (including security flaws)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions