Open danmackinlay opened 3 years ago
On the other hand if I execute these instructions on my plain old laptop, my ssb room container runs without error. possibly this is OVH-specific? Any debugging tips?
NB this is the same error as reported at #21 for Digital Ocean. As such we can assume it occurs for various setups
Also as noted at #21 the room server still starts and appears to function. It is just the ./room check
command that never returns successfully. Does this cause a problem for the healer and restarter systems?
Same problem
node@734ad8ac2edb:/$ ssb-room check
{ message: 'no async:whoami',
name: 'Error',
stack:
'Error: no async:whoami\n at Object.localCall (/home/node/.npm-global/lib/node_modules/ssb-room/node_modules/muxrpc/local-api.js:29:13)\n at Object.<anonymous> (/home/node/.npm-global/lib/node_modules/ssb-room/node_modules/muxrpc/local-api.js:37:22)\n at Object.request (/home/node/.npm-global/lib/node_modules/ssb-room/node_modules/muxrpc/stream.js:48:17)\n at PacketStream._onrequest (/home/node/.npm-global/lib/node_modules/ssb-room/node_modules/packet-stream/index.js:161:17)\n at PacketStream.write (/home/node/.npm-global/lib/node_modules/ssb-room/node_modules/packet-stream/index.js:134:41)\n at /home/node/.npm-global/lib/node_modules/ssb-room/node_modules/muxrpc/pull-weird.js:56:15\n at /home/node/.npm-global/lib/node_modules/ssb-room/node_modules/pull-stream/sinks/drain.js:24:37\n at /home/node/.npm-global/lib/node_modules/ssb-room/node_modules/pull-goodbye/node_modules/pull-stream/throughs/filter.js:17:11\n at Object.cb (/home/node/.npm-global/lib/node_modules/ssb-room/node_modules/packet-stream-codec/index.js:111:11)\n at drain (/home/node/.npm-global/lib/node_modules/ssb-room/node_modules/pull-reader/index.js:39:14)' }
n
After removing the health check the web-server is exposed by my proxy (traefik).
@retog
After removing the health check the web-server is exposed by my proxy (traefik).
Sorry, does that mean the ssb-room is Basically Working Properly after you removed the health check? And if so... what exactly did you do to "remove the health check"?
Thanks!
AFAICT the ssb-room I have is running on a cheap VM successfully without any changes. It just throws ugly errors; I'm currently caught up on a different distribut edsocial network system so don't have time to sort out exactly what I did, despite my bold claims I would document it, sorry.
@danmackinlay Thanks for the quick reply!
AFAICT the ssb-room I have is running on a cheap VM successfully without any changes. It just throws ugly errors
Did you wind up using a DO droplet? How did you get the room up and running?
I'm currently caught up on a different distributed social network system
Curious: which one?
@denisgoddard
Sorry, does that mean the ssb-room is Basically Working Properly after you removed the health check?
yes
And if so... what exactly did you do to "remove the health check"?
I used docker cp
to replace the file /home/node/.npm-global/lib/node_modules/ssb-room/bin.js
with a version that comments outs the following:
/*rpc.whoami((err2, x) => {
if (err2) {
console.error(err2);
process.exit(1);
} else {
console.log(x.id);
process.exit(0);
}
});*/
Is there a way to understand what causes it? I have my own computer and I'm trying to run my own room, but I have this error. Also, it seems that error marks the container unhealthy.
Edit: That makes the healer script useless. It will just restart it every time. The room works great so far.
Running the manual install instructions creates a room that seems to start up but cannot pass a
./room check
succesfully.Here is a transcript of the state the system gets in to, on an ovh.com vanilla Debian 10 VM.