I'm having issues restarting the remote sbot connection in the lite client after the initial onboard.
%KjZauu9nknS/io7gPtRY1NDbZyP7w1ocvM4j+tcemMk=.sha256
I'm having issues restarting the remote sbot connection in the lite client after the initial onboard.
This is happening for me and @rosshill as he was trying to get on earlier this evening.
The problem started after I updated to the latest sbot.
My pub sees a lot of these:
server error Error: client unauthorized
at /home/ev/.ssb/node_modules/ssb-ws/node_modules/secret-handshake/handshake.js:90:42
at /home/ev/.ssb/node_modules/ssb-ws/index.js:69:14
at Object.<anonymous> (/home/ev/sbot/node_modules/secret-stack/util.js:77:7)
at Object.<anonymous> (/home/ev/sbot/node_modules/hoox/index.js:3:17)
at Object.hooked [as get] (/home/ev/sbot/node_modules/hoox/index.js:10:15)
at /home/ev/.ssb/node_modules/ssb-ws/index.js:66:20
at /home/ev/sbot/plugins/invite.js:74:49
at /home/ev/sbot/node_modules/secure-scuttlebutt/node_modules/level-sublevel/shell.js:102:12
at /home/ev/sbot/node_modules/secure-scuttlebutt/node_modules/level-sublevel/nut.js:121:19
server error Error: client unauthorized
at /home/ev/.ssb/node_modules/ssb-ws/node_modules/secret-handshake/handshake.js:90:42
at /home/ev/.ssb/node_modules/ssb-ws/index.js:69:14
at Object.<anonymous> (/home/ev/sbot/node_modules/secret-stack/util.js:77:7)
at Object.<anonymous> (/home/ev/sbot/node_modules/hoox/index.js:3:17)
at Object.hooked [as get] (/home/ev/sbot/node_modules/hoox/index.js:10:15)
at /home/ev/.ssb/node_modules/ssb-ws/index.js:66:20
at /home/ev/sbot/plugins/invite.js:74:49
at /home/ev/sbot/node_modules/secure-scuttlebutt/node_modules/level-sublevel/shell.js:102:12
at /home/ev/sbot/node_modules/secure-scuttlebutt/node_modules/level-sublevel/nut.js:121:19
In Patchbay I see:
Error: already following
at /home/ev/sbot/plugins/invite.js:130:25
at /home/ev/sbot/plugins/friends.js:85:9
at awaitSync (/home/ev/sbot/plugins/friends.js:37:10)
at Object.<anonymous> (/home/ev/sbot/plugins/friends.js:84:7)
at apply (/home/ev/sbot/node_modules/muxrpc-validation/index.js:173:15)
at Object.<anonymous> (/home/ev/sbot/node_modules/muxrpc-validation/index.js:82:14)
at Object.hooked [as all] (/home/ev/sbot/node_modules/hoox/index.js:10:15)
at /home/ev/sbot/plugins/invite.js:128:26
at /home/ev/sbot/node_modules/secure-scuttlebutt/node_modules/level-sublevel/shell.js:102:12
at /home/ev/sbot/node_modules/secure-scuttlebutt/node_modules/level-sublevel/nut.js:121:19
@dominic I think this error is because I haven't set up letsencrypt on my pub. I'm looking into how to do that now.
update to latest ssb-ws
you'll also need to add the config for letsencrypt.
{
"host": <your_domain>,
"email": <your_email>,
"agreeTos": true
}
those are passed to letsencrypt.
They don't confirm the email or anything...
then, ssh in and create an invite sbot invite.create --modern
that will give you a websocket invite. you'll need to edit it to make it be wss
instead of ws
and remove the port too.
Built with git-ssb-web