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
sbotcli connect "net:scuttle.space:8008:~shs:skBzPazHliOXCWLwloGvHYki0wPLOUeJpvW10U7MOJ4="
level=error run-failure="connect: async call failed.: error reading response from request source: muxrpc: error reading from packet source: muxrpc CallError: Error - no such command: gossip.connect"
This can happen because of a fallback to work around a missing feature in go-muxrpc, namely individual handler authorization based on the keypair of the session. That’s why there are two muxers in the sbot package (public and master), like with ssb-server you only get elevated access to master if you have the same keypair as the running server.
Therefore, you can't have special privileged gossip.connect if you have other handlers on gossip.* already, like ping. That’s why I introduced ctrl.* for privileged calls.
Blobs is a better example: you have blobs.add and blobs.rm but also blobs.has and blobs.get. You don't want add and rm exposed to the public usually.
If you want to be sure AND you know what you need use sbotcli call ctrl.connect $msAddr for a Go server and sbotcli call gossipconnect $msAddr against a JS ssb-server.
The text was updated successfully, but these errors were encountered:
This can happen because of a fallback to work around a missing feature in go-muxrpc, namely individual handler authorization based on the keypair of the session. That’s why there are two muxers in the
sbot
package (public and master), like with ssb-server you only get elevated access to master if you have the same keypair as the running server.Therefore, you can't have special privileged
gossip.connect
if you have other handlers ongossip.*
already, likeping
. That’s why I introducedctrl.*
for privileged calls.Blobs is a better example: you have
blobs.add
andblobs.rm
but alsoblobs.has
andblobs.get
. You don't want add and rm exposed to the public usually.To make this less obnoxious to deal with
sbotcli connect $msAddr
tries gossip if ctrl fails.If you want to be sure AND you know what you need use
sbotcli call ctrl.connect $msAddr
for a Go server andsbotcli call gossipconnect $msAddr
against a JS ssb-server.The text was updated successfully, but these errors were encountered: