visitor-flutter icon indicating copy to clipboard operation
visitor-flutter copied to clipboard

'sbotcli hist' returns error "muxrpc: serve failed to read from packer: muxrpc: error reading packet"

Open mhfowler opened this issue 4 years ago • 1 comments

After some help from @cblgh, my go-sbot was running again and successfully replicating posts with peers (tested through patchwork). But now it doesn't seem to be replicating, and I'm running into an error on my server when I run: ./sbotcli hist ID (with my own pub ID or the ID of other users)

The error I see in the sbot log is:

level=error t=42.995568201s conn="serve exited" err="muxrpc: serve failed to read from packer: muxrpc: error reading packet pkt-codec: header read failed: read unix /home/notplants/.ssb-go/socket->@: read: connection reset by peer" peer="@|@kbwNcDh5v2ya9IMN7QO9G5f6ab2MX6R2g8qxQcx0oEc=.ed25519"

The ID @kbwNcDh5v2ya9IMN7QO9G5f6ab2MX6R2g8qxQcx0oEc=.ed25519 is my own pub ID.

I'm able to run other commands, such as ./sbotcli call whoami and ./sbotcli logs, which both return output appropriately.

So I'm guessing that something about the hist command not working (when I use it with the ID of my own pub @kbwNcDh5v2ya9IMN7QO9G5f6ab2MX6R2g8qxQcx0oEc=.ed25519 or the ID of other users, e.g. myself (@5Pt3dKy2HTJ0mWuS78oIiklIX0gBz6BTfEnXsbvke9c=.ed25519) is also related to why I'm not seeing posts replicate anymore (e.g. I publish something locally using ./sbotcli publish post "some text" and then I don't see this post in my local patchwork, and am no longer able to connect to my pub via reedeming an invite).

Any ideas?

mhfowler avatar Dec 02 '21 12:12 mhfowler

I tried repopulating everything again just from the secret file to see if it would fix the issue, and it got back to the same place. ./sbotcli logs returns full output, but same error from ./sbotcli hist, and not able to see new posts replicated

mhfowler avatar Dec 05 '21 10:12 mhfowler