Skip to content

Cannot push value onto an ended pushable (it-queueless-pushable) #86

@NiKrause

Description

@NiKrause

libp2p@2.8.2
helia@5.3.0
orbitdb@2.5.0

Severity: Critical - System crash

Description:

I am running an OrbitDB via Helia in a browser which replicates data to a NodeJS Voyager, which crashed during replication. Meaning the browser opens a stream to the peer which then throws an error inside "it-queuless-pushable: Cannot push value onto an ended pushable".

The NodeJS app then crashes.

Replication is difficult, it happens every now and then. It happened now within one hour twice while debugging a replication issue in the peer-to-peer web app. I did a lot of browser reloads, which probably stopped and restarted a lot of streams in a row. Browser and NodeJS peer on localhost.

       file:///Users/xyz/voyager/node_modules/it-queueless-pushable/dist/src/index.js:99
            throw new Error('Cannot push value onto an ended pushable');
                  ^

Error: Cannot push value onto an ended pushable
    at QueuelessPushable._push (file:///Users/xyz/voyager/node_modules/it-queueless-pushable/dist/src/index.js:99:19)
    at QueuelessPushable.push (file:///Users/xyz/voyager/node_modules/it-queueless-pushable/dist/src/index.js:86:20)
    at duplex.sink (file:///Users/xyz/voyager/node_modules/it-byte-stream/dist/src/index.js:54:25)
    at async handleMessages (file://Users/xyz/voyager/src/lib/host.js:26:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions