Closed evbogue closed 6 years ago
Lets see. It dies because there is no addresses with ws configured. Basically before it just took stuff from server.ws, but now it uses the standard getadresses, so we don't have so many hacks around.
So you need to define an incoming ws connection as described here: https://github.com/ssbc/ssb-config#connections.
I tested this with:
"ws": [{ "scope": "public", "transform": "shs" }],
getAddress now gives me a: ws://localhost:15967~shs:6CAxOI3f+LUOVrbAl0IemqiS7ATpQvr9Mdw9LC4+Uv0=
and invite.create --modern now works.
Also see the release notes here: https://github.com/ssbc/scuttlebot/releases/tag/12.0.0
There are still some upgrade kinks to work out, but this solves the issue described above.
Thanks @arj03!
I'm trying to upgrade http://github.com/evbogue/mvd to the latest version of scuttlebot, and modern invites are failing.
Results in scuttlebot crashing with
In
mvd
we need--modern
ws invites to serve a websocket address so the browser can find a server.