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.

Uncaught Error: underlying socket has been closed #883

Closed
@pgte

Description

@pgte

When using the Webrtc transport and disconnecting the network, this error is logged.

index.js:477 Uncaught Error: underlying socket has been closed
    at index.js:477
    at Array.forEach (<anonymous>)
    at Multiplex.destroy (index.js:475)
    at index.js:43
    at call (index.js:50)
    at Array.forEach (<anonymous>)
    at index.js:70
    at f (once.js:25)
    at Stream.<anonymous> (index.js:29)
    at Stream.f (once.js:25)

The error does not seam to be handled, since the peer connection keeps existing, never leaving.

ipfs-shipyard/y-ipfs-connector#1 depends on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/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