Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noisy error output: "Error replicating with...", "client is blocked", etc. #733

Open
dpriskorn opened this issue Aug 21, 2020 · 2 comments
Assignees

Comments

@dpriskorn
Copy link

Hi. Got this error today. No idea if it influences functionality:

info @JxB SSB- 165.22.145.38:8008:@ennK62KwH3KfitZAgeJMwjlD2h4Z2UIycuVCxPeaUFI=.ed25519 PEER JOINED 
Error replicating with @ennK62KwH3KfitZAgeJMwjlD2h4Z2UIycuVCxPeaUFI=.ed25519:
   Error: method:createHistoryStream is not in list of allowed methods
    at Function.perms.pre (/home/node/.npm-global/lib/node_modules/ssb-room/node_modules/muxrpc/permissions.js:88:14)
    at Object.<anonymous> (/home/node/.npm-global/lib/node_modules/ssb-room/node_modules/muxrpc/local-api.js:35:21)
    at PacketStreamSubstream.stream.read (/home/node/.npm-global/lib/node_modules/ssb-room/node_modules/muxrpc/stream.js:69:23)
    at PacketStream._onstream (/home/node/.npm-global/lib/node_modules/ssb-room/node_modules/packet-stream/index.js:228:11)
    at PacketStream.write (/home/node/.npm-global/lib/node_modules/ssb-room/node_modules/packet-stream/index.js:135:41)
    at /home/node/.npm-global/lib/node_modules/ssb-room/node_modules/muxrpc/pull-weird.js:56:15
    at /home/node/.npm-global/lib/node_modules/ssb-room/node_modules/pull-stream/sinks/drain.js:24:37
    at /home/node/.npm-global/lib/node_modules/ssb-room/node_modules/pull-goodbye/node_modules/pull-stream/throughs/filter.js:17:11
    at Object.cb (/home/node/.npm-global/lib/node_modules/ssb-room/node_modules/packet-stream-codec/index.js:111:11)
    at drain (/home/node/.npm-global/lib/node_modules/ssb-room/node_modules/pull-reader/index.js:39:14)

@timjrobinson
Copy link
Contributor

timjrobinson commented Oct 13, 2020

I just installed the latest ssb server with npm install -g ssb-server@latest with NodeJS v10 and am seeing this error too. Server is not starting.

I'm running https://hub.docker.com/repository/docker/timjrobinson/ssb-pub which is built from https://github.com/timjrobinson/ssb-pub with the only changes from @ahdinosaur 's version being using the latest version of ssb-server and NodeJS 10 instead of 8.

@clehner
Copy link
Contributor

clehner commented Oct 13, 2020

"Error replicating with ..." errors can be safely ignored. Although it is odd that it rejects createHistoryStream - maybe it is just doesn't do legacy gossip.
I am considering this error output noisy and misleading because it leads people to think it may be a problem. I'm updating the issue title to reflect that.

@clehner clehner changed the title Error replicating Noisy error output: "Error replicating with..." Oct 13, 2020
@clehner clehner self-assigned this Oct 13, 2020
@clehner clehner changed the title Noisy error output: "Error replicating with..." Noisy error output: "Error replicating with...", "client is blocked", etc. Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants