I was using Patchbay this morning and noticed that Electron and my browser froze at the same time while using scuttlebot@13.2.2. I think I tried to close Electron after a few seconds, but it may have crashed, and I found these logs:
> patchbay@7.15.6 start /home/christianbundy/src/ssbc/patchbay
> electron index.js -- --title patchbay
STARTING electron
STARTING SBOT
LOADING config
Listening on undefined:8008 (multiserver net plugin)
listening on socket unix:/home/christianbundy/.ssb/socket
ssb-friends: stream legacy api used
Trace: deprecated api used: ssb-ref.parseAddress
at Object.parseAddress (/home/christianbundy/src/ssbc/patchbay/node_modules/ssb-ref/index.js:96:15)
at Socket.<anonymous> (/home/christianbundy/src/ssbc/patchbay/node_modules/scuttlebot/plugins/local.js:55:22)
at Socket.emit (events.js:182:13)
at Socket.<anonymous> (/home/christianbundy/src/ssbc/patchbay/node_modules/broadcast-stream/index.js:51:12)
at Socket.emit (events.js:182:13)
at UDP.onMessage [as onmessage] (dgram.js:673:8)
{ [Error: ENOENT: no such file or directory, rename '/home/christianbundy/.ssb/gossip.json~' -> '/home/christianbundy/.ssb/gossip.json']
errno: -2,
code: 'ENOENT',
syscall: 'rename',
path: '/home/christianbundy/.ssb/gossip.json~',
dest: '/home/christianbundy/.ssb/gossip.json' }
{ [Error: ENOENT: no such file or directory, rename '/home/christianbundy/.ssb/gossip.json~' -> '/home/christianbundy/.ssb/gossip.json']
errno: -2,
code: 'ENOENT',
syscall: 'rename',
path: '/home/christianbundy/.ssb/gossip.json~',
dest: '/home/christianbundy/.ssb/gossip.json' }
{ [Error: ENOENT: no such file or directory, rename '/home/christianbundy/.ssb/gossip.json~' -> '/home/christianbundy/.ssb/gossip.json']
errno: -2,
code: 'ENOENT',
syscall: 'rename',
path: '/home/christianbundy/.ssb/gossip.json~',
dest: '/home/christianbundy/.ssb/gossip.json' }
{ [Error: ENOENT: no such file or directory, rename '/home/christianbundy/.ssb/gossip.json~' -> '/home/christianbundy/.ssb/gossip.json']
errno: -2,
code: 'ENOENT',
syscall: 'rename',
path: '/home/christianbundy/.ssb/gossip.json~',
dest: '/home/christianbundy/.ssb/gossip.json' }
I checked my gossip.json file and I think there may have been some changes made: a few of them near the top of the file have the { duration, stateChange, client, ping, failure } keys, but most of them now look like this:
{
"host": "diefreien.club",
"port": 8008,
"key": "@Y2fxCQla30qvtLJufJ57Im0on1QO72H5KECXio5xQZs=.ed25519",
"address": "net:diefreien.club:8008~shs:Y2fxCQla30qvtLJufJ57Im0on1QO72H5KECXio5xQZs=",
"source": "pub",
"announcers": 523,
"duration": null
}
After a quick git grep '~' I can't seem to figure out why a rename was happening, any chance someone else knows?
I was using Patchbay this morning and noticed that Electron and my browser froze at the same time while using scuttlebot@13.2.2. I think I tried to close Electron after a few seconds, but it may have crashed, and I found these logs:
I checked my
gossip.jsonfile and I think there may have been some changes made: a few of them near the top of the file have the{ duration, stateChange, client, ping, failure }keys, but most of them now look like this:{ "host": "diefreien.club", "port": 8008, "key": "@Y2fxCQla30qvtLJufJ57Im0on1QO72H5KECXio5xQZs=.ed25519", "address": "net:diefreien.club:8008~shs:Y2fxCQla30qvtLJufJ57Im0on1QO72H5KECXio5xQZs=", "source": "pub", "announcers": 523, "duration": null }After a quick
git grep '~'I can't seem to figure out why a rename was happening, any chance someone else knows?