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

ssb-client <-> ssb-daemon crash #1

Open
zicmama opened this issue Apr 20, 2020 · 0 comments
Open

ssb-client <-> ssb-daemon crash #1

zicmama opened this issue Apr 20, 2020 · 0 comments

Comments

@zicmama
Copy link

zicmama commented Apr 20, 2020

ssb friends onEdge

/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/muxrpc/stream.js:50
        if(inCB || called) throw explain(err, 'no callback provided to muxrpc async funtion')
                           ^

NodeError [TypeError]: no callback provided to muxrpc async funtion
    at Object.request (/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/muxrpc/stream.js:50:34)
    at PacketStream._onrequest (/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/packet-stream/index.js:161:17)
    at PacketStream.write (/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/packet-stream/index.js:134:41)
    at /home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/muxrpc/pull-weird.js:56:15
    at /home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/pull-stream/sinks/drain.js:24:37
    at /home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/pull-goodbye/node_modules/pull-stream/throughs/filter.js:17:11
    at Object.cb (/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/packet-stream-codec/index.js:111:11)
    at drain (/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/pull-reader/index.js:39:14)
    at more (/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/pull-reader/index.js:55:13)
  TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at Function.from (buffer.js:313:9)
    at new Buffer (buffer.js:269:17)
    at encodePair (/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/packet-stream-codec/index.js:35:13)
    at Object.<anonymous> (/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/packet-stream-codec/index.js:81:13)
    at /home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/pull-through/index.js:56:22
    at /home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/pull-goodbye/endable.js:15:26
    at PacketStream.weird.read (/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/muxrpc/pull-weird.js:33:7)
    at /home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/packet-stream/index.js:165:22
    at /home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/muxrpc/stream.js:45:22
    at Object.localCall (/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-daemon/node_modules/muxrpc/local-api.js:25:16)
Error: unexpected hangup
    at Object.cb (/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-cli/node_modules/pull-box-stream/index.js:117:44)
    at drain (/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-cli/node_modules/pull-reader/index.js:46:23)
    at /home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-cli/node_modules/pull-reader/index.js:63:18
    at /home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-cli/node_modules/pull-reader/index.js:114:13
    at drain (/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-cli/node_modules/stream-to-pull-stream/index.js:126:18)
    at Socket.<anonymous> (/home/fred/.nvm/versions/node/v12.16.1/lib/node_modules/ssb-cli/node_modules/stream-to-pull-stream/index.js:143:5)
    at Socket.emit (events.js:323:22)
    at endReadableNT (_stream_readable.js:1204:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
[1]+  Exit 1                  ssb-daemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant