You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
alice creates and invite with invite.create, passes it to bob
bob calls invite.accpet with that invite, then we see this erorr:
Error replicating wit
h @i91sIVrJDopSsqFUCmdDjcgZeWASXfZHE5QXN1Nn6eE=.ed25519:
Error: no source:createHistoryStream
at Object.localCall (/home/mix/projects/SSBC/ssb-invite/node_modules/muxrpc/local-api.js:29:13)
at Object.<anonymous> (/home/mix/projects/SSBC/ssb-invite/node_modules/muxrpc/local-api.js:37:22)
at PacketStreamSubstream.stream.read (/home/mix/projects/SSBC/ssb-invite/node_modules/muxrpc/stream.js:69:23)
at PacketStream._onstream (/home/mix/projects/SSBC/ssb-invite/node_modules/packet-stream/index.js:228:11)
at PacketStream.write (/home/mix/projects/SSBC/ssb-invite/node_modules/packet-stream/index.js:135:41)
at /home/mix/projects/SSBC/ssb-invite/node_modules/muxrpc/pull-weird.js:56:15
at /home/mix/projects/SSBC/ssb-invite/node_modules/pull-stream/sinks/drain.js:24:37
at /home/mix/projects/SSBC/ssb-invite/node_modules/pull-goodbye/node_modules/pull-stream/throughs/filter.js:17:11
at Object.cb (/home/mix/projects/SSBC/ssb-invite/node_modules/packet-stream-codec/index.js:111:11)
at drain (/home/mix/projects/SSBC/ssb-invite/node_modules/pull-reader/index.js:39:14)
What' appears strange is that "feedId" is not for alice or bob. It is the id of a one-off keypair used in the invite, which is used to initiate a remote connection during the accept.
Basically a connection is formed where and we have RPC rights to call invite.use. BUTssb-replicate has a hook on ssb.on('rpc:connect') so when we connect with out invite code, it's a bit different to a "normal" connection .. but ssb-replicate doesn't know that and tries to call createHistoryStream nonetheless.
As far as I can tell, this is a safe error, and should not cause problems with the peers replicating ...
The text was updated successfully, but these errors were encountered:
mixmix
changed the title
Error replicating after calling invite.accept
"Error replicating with @xxxxx" after calling invite.accept
Aug 6, 2020
scenario:
invite.create
, passes it to bobinvite.accpet
with that invite, then we see this erorr:What' appears strange is that "feedId" is not for alice or bob. It is the id of a one-off keypair used in the invite, which is used to initiate a remote connection during the accept.
Basically a connection is formed where and we have RPC rights to call
invite.use
.BUT
ssb-replicate
has a hook onssb.on('rpc:connect')
so when we connect with out invite code, it's a bit different to a "normal" connection .. but ssb-replicate doesn't know that and tries to callcreateHistoryStream
nonetheless.As far as I can tell, this is a safe error, and should not cause problems with the peers replicating ...
The text was updated successfully, but these errors were encountered: