orbit-db-pinner icon indicating copy to clipboard operation
orbit-db-pinner copied to clipboard

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

Open NiKrause opened this issue 7 months ago • 0 comments

[email protected] [email protected] [email protected]

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)

NiKrause avatar Mar 27 '25 18:03 NiKrause