@dominic still failing tests after burning them all and starting fresh
git head : 038f503998d8799490ef122aefd3c9fe5691f04d
(tag 1.1.3
)
TAP version 13
# connect two peers - just to test connections config
failed to connect to portal: undefined
failed to connect to portal: undefined
1..0
# tests 0
# pass 0
# ok
TAP version 13
# carol tunnels through bob to get to alice
parse: net:192.168.1.162:3005~shs:7MG1hyfz8SsxlIgansud4LKM57IHIw2Okw/hvOdeJWw=
ALICE??
parse: net:192.168.1.162:3005~shs:7MG1hyfz8SsxlIgansud4LKM57IHIw2Okw/hvOdeJWw=
>>>
Error: stream is closed
at /home/mix/projects/SSBC/ssb-tunnel/node_modules/muxrpc/index.js:45:25
at remoteCall (/home/mix/projects/SSBC/ssb-tunnel/node_modules/muxrpc/api.js:40:19)
at Object.obj.(anonymous function) [as announce] (/home/mix/projects/SSBC/ssb-tunnel/node_modules/muxrpc/api.js:25:18)
at /home/mix/projects/SSBC/ssb-tunnel/index.js:93:26
at /home/mix/projects/SSBC/ssb-tunnel/node_modules/scuttlebot/plugins/gossip/index.js:212:17
at /home/mix/projects/SSBC/ssb-tunnel/node_modules/secret-stack/index.js:204:36
at next (/home/mix/projects/SSBC/ssb-tunnel/node_modules/multiserver/compose.js:28:14)
at /home/mix/projects/SSBC/ssb-tunnel/node_modules/multiserver/compose.js:34:9
at _cb (/home/mix/projects/SSBC/ssb-tunnel/node_modules/multiserver/plugins/shs.js:31:11)
at /home/mix/projects/SSBC/ssb-tunnel/node_modules/secret-handshake/protocol.js:120:7
ok 1 should not be equal
CAROL CONNECT tunnel:@7MG1hyfz8SsxlIgansud4LKM57IHIw2Okw/hvOdeJWw=.ed25519:@1b9KP8znF7A4i8wnSevBSK2ZabI/Re4bYF/Vh3hXasQ=.ed25519~shs:1b9KP8znF7A4i8wnSevBSK2ZabI/Re4bYF/Vh3hXasQ=
TUNNEL.client { name: 'tunnel',
portal: '@7MG1hyfz8SsxlIgansud4LKM57IHIw2Okw/hvOdeJWw=.ed25519',
target: '@1b9KP8znF7A4i8wnSevBSK2ZabI/Re4bYF/Vh3hXasQ=.ed25519',
port: 0 }
TUNNEL.client @7MG1hyfz8SsxlIgansud4LKM57IHIw2Okw/hvOdeJWw=.ed25519
attempt tunnel connection to: { name: 'tunnel',
portal: '@7MG1hyfz8SsxlIgansud4LKM57IHIw2Okw/hvOdeJWw=.ed25519',
target: '@1b9KP8znF7A4i8wnSevBSK2ZabI/Re4bYF/Vh3hXasQ=.ed25519',
port: 0 }
/home/mix/projects/SSBC/ssb-tunnel/test/tunnel.js:77
if(err) throw err
^
Error: could not connect to:@1b9KP8znF7A4i8wnSevBSK2ZabI/Re4bYF/Vh3hXasQ=.ed25519
at DuplexError (/home/mix/projects/SSBC/ssb-tunnel/index.js:6:13)
at Object.connect (/home/mix/projects/SSBC/ssb-tunnel/index.js:150:16)
at Object.hooked (/home/mix/projects/SSBC/ssb-tunnel/node_modules/hoox/index.js:10:15)
at Object.localCall (/home/mix/projects/SSBC/ssb-tunnel/node_modules/muxrpc/local-api.js:31:29)
at Object.<anonymous> (/home/mix/projects/SSBC/ssb-tunnel/node_modules/muxrpc/local-api.js:37:22)
at PacketStreamSubstream.stream.read (/home/mix/projects/SSBC/ssb-tunnel/node_modules/muxrpc/stream.js:67:23)
at PacketStream._onstream (/home/mix/projects/SSBC/ssb-tunnel/node_modules/packet-stream/index.js:228:11)
at PacketStream.write (/home/mix/projects/SSBC/ssb-tunnel/node_modules/packet-stream/index.js:135:41)
at /home/mix/projects/SSBC/ssb-tunnel/node_modules/muxrpc/pull-weird.js:56:15
at /home/mix/projects/SSBC/ssb-tunnel/node_modules/pull-stream/sinks/drain.js:24:37