Show Idle (>14 d.) Chans


← 2021-11-29 | 2021-12-01 →
awt[billymg]: gm. I never received the uptime message from the bot.
awt[billymg]: I'm going to need to set up my own bot to find out what's happening.
billymg: awt: yeah i never received it either (in my irc client), but shows up in the logs
asciilifeform[billymg] not seen symptoms of this bug yet on his end, oddly enuff
asciilifeform[billymg]: i.e. have yet to see a single dupe show up in console
billymg: asciilifeform: are you also seeing the bot's responses in your console?
asciilifeform[billymg]: hm let's see:
bitbot: Logged on 2021-11-30 03:04:14 awt[billymg]: this is not a sign of a good dedup implementation!: http://paste.deedbot.org/?id=0O1Y
asciilifeform[billymg]: billymg: nope.
asciilifeform[billymg]: (is the bot up?)
billymg: yeah, same
billymg: yeah, see logs
billymg: but for some reason its responses are making it to any of our consoles
billymg: aren't*
awt[billymg]: I suspect some exception is getting thrown before it can broadcast to pestnet
billymg: ok, let me see if i can see it somewhere in the logs then, testing: http://logs.bitdash.io/pest/2021-11-30#1000983
bitbot: Logged on 2021-11-30 15:54:24 awt[billymg]: I suspect some exception is getting thrown before it can broadcast to pestnet
asciilifeform[billymg]: hm billymg why does 127.0.0.1 appear in your log?
asciilifeform[billymg]: (in mine does not)
billymg: i'm running with the --debug and --verbose flags enabled, possibly from one of those
awt[billymg]: billymg: I don't see where the log quote is being sent out
awt[billymg]: I just see your original line being received and rebroadcast
billymg: awt: i looked for that hash (7eac3) further down and it's not to be found
billymg: but no indication of any errors
awt[billymg]: asciilifeform: when you see 127.0.0.1 that's likely the irc client sending or receiving something to or from the local pest station
billymg: alright, had to restart my own pest station too. should have better logging now, previously both instances (bot and personal station) were logging to the same nohup.out file
billymg: !. uptime
bitbot: billymg: time since my last reconnect : 0d 0h 4m
billymg: ah, i saw the echo that time
billymg: anyone else?
billymg: btw, this message for some reason never made it to my console
bitbot: Logged on 2021-11-30 20:10:48 awt[billymg]: asciilifeform: when you see 127.0.0.1 that's likely the irc client sending or receiving something to or from the local pest station
awt[billymg]: billymg I see the quote
billymg: neat
billymg: ok i'll keep an eye on the logs to look for errors if it stops working again
bitbot: Logged on 2021-11-30 20:10:48 awt[billymg]: asciilifeform: when you see 127.0.0.1 that's likely the irc client sending or receiving something to or from the local pest station
billymg: seems to be working again
billymg: i got that one in my console here too
awt[billymg]: ok interesting
awt[billymg]: :awt JOIN #pest
awt[billymg]: :awt JOIN #pest
awt[billymg]: :awt JOIN #pest
awt[billymg]: :awt JOIN #pest
awt[billymg]: :awt JOIN #pest
awt[billymg]: :awt JOIN #pest
awt[billymg]: :awt JOIN #pest
awt[billymg]: :awt JOIN #pest
awt[billymg]: :awt JOIN #pest
awt[billymg]: :awt JOIN #pest
awt[billymg]: :awt JOIN #pest
awt[billymg]: :awt JOIN #pest
awt[billymg]: :awt JOIN #pest
awt[billymg]: :awt JOIN #pest
awt[billymg]: Interesting. Eiter logger can't see pestbot, or logger is down.
awt[billymg]: Anyway, pestbot is running on my local machine, connected to pestnet via my box in the DC.
awt[billymg]: And looks like the logger is still up
awt[billymg]: lol or not - it didn't see "And looks like the logger is still up"
awt[billymg]: ah wait it did -- just took a long time to show up on the web
awt[billymg]: billymg this is from my main station to your station - somehow it didn't make it to the logger station: DEBUG 2021-11-30 15:14:15,798: [205.134.172.29:7778] <- ae826ae0de80b903
bitbot: Logged on 2021-11-30 20:10:48 awt[billymg]: asciilifeform: when you see 127.0.0.1 that's likely the irc client sending or receiving something to or from the local pest station
bitbot: Logged on 2021-11-30 20:03:34 billymg: awt: http://paste.deedbot.org/?id=tkrS
asciilifeform[billymg]: DEBUG 2021-11-30 20:00:52,123: [127.0.0.1:7779] -> duplicate packet: 732734bda352ce2f
awt[billymg]: asciilifeform: yep
asciilifeform[billymg]: possibly this was from having 2 stations on 1 box tho
asciilifeform[billymg]: ( pestbot ? )
awt[billymg]: Ha now this is interesting - pestbot station didn't get the log quotes
asciilifeform[billymg]: oh nm pestbot is awt's thing innit
asciilifeform[billymg]: log was from billymg
asciilifeform[billymg]: oh and here's my 1st console dupe
asciilifeform[billymg]: 'asciilifeform[billymg] | log was from billymg '
awt[billymg]: asciilifeform: I saw the dupe at one station, but not the other
asciilifeform[billymg]: deduper clearly b0rken
asciilifeform[billymg]: tho must be in a subtle way where only occasionally barfs
bitbot: Logged on 2021-11-30 20:10:48 awt[billymg]: asciilifeform: when you see 127.0.0.1 that's likely the irc client sending or receiving something to or from the local pest station
awt[billymg]: odd. my main station is not passing on the log quote message even though bounce count is 1.
bitbot: Logged on 2021-11-30 20:10:48 awt[billymg]: asciilifeform: when you see 127.0.0.1 that's likely the irc client sending or receiving something to or from the local pest station
bitbot: Logged on 2021-11-30 20:35:50 billymg: neat
awt[billymg]: pardon the exessive noise while I debug this
awt[billymg]: *excessive
bitbot: Logged on 2021-11-30 20:35:50 billymg: neat
bitbot: Logged on 2021-11-30 20:35:50 billymg: neat
awt[billymg]: ok figured it out. was not rebroadcasting simple hearsy.
awt[billymg]: *hearsay
billymg: i noticed this happening earlier too
bitbot: Logged on 2021-11-30 23:17:47 awt[billymg]: ah wait it did -- just took a long time to show up on the web
bitbot: Logged on 2021-11-30 03:07:36 billymg: ah, nm, just a delay
bitbot: Logged on 2021-11-30 20:35:50 billymg: neat
billymg: regarding pestbot, wouldn't i at least need to be peered with it in order for its messages to make it to bitbot?
awt[billymg]: billymg: no. only 3 hops
billymg: ah ok
bitbot: Logged on 2021-11-30 20:35:50 billymg: neat
billymg: try saying something with pestbot again
pestbot[billymg]: pesting testbot
billymg: ok, made it into the logs that time
billymg: after i did `/peer pestbot`
billymg: (from this station, not the bot)
billymg: that behavior is consistent with what i saw before as well, e.g. when jonsykkel joined i had to peer with him from this station first before bitbot would see any of his messages
awt[billymg]: billymg without a key for pestbot you won't be able to decrypt immediate messages from pestbot
awt[billymg]: the problem was with blatta - it wasn't rebroadcasting immediate messages - only hearsay messages
awt[billymg]: sorry let me rephrase that
awt[billymg]: it wasn't rebroadcasting simple hearsay messages
awt[billymg]: so any message your main station receives from pestbot is simple hearsay
awt[billymg]: because you have no key for pestbot
billymg: awt: lost connection on my main pest station again, with this sqlite error
billymg suspects his last few messages after http://logs.bitdash.io/pest/2021-12-01#1001082 never made it to anyone
bitbot: Logged on 2021-12-01 01:20:01 awt[billymg]: because you have no key for pestbot
billymg: http://logs.bitdash.io/pest/2021-12-01#1001081 << i understand that the messages will still be hearsay until you have also keyed the peer, but for whatever reason, a simple `/peer` (without adding a key) is what it takes to pass the messages along to bitbot
bitbot: Logged on 2021-12-01 01:19:45 awt[billymg]: so any message your main station receives from pestbot is simple hearsay
asciilifeform[billymg]: btw this aint per spec : simply /peer should do absolutely nuffin without a keying
asciilifeform[billymg]: (prolly oughta put this in the notes)
asciilifeform[billymg]: a peer without a key is not a peer.
asciilifeform[billymg]: ditto if there is no AT entry
asciilifeform[billymg]: possibly /peer oughta require a key as a 2nd argument, the current way may be confusing
billymg: i think that makes more sense
asciilifeform[billymg]: (if there is no AT entry, one might still ~receive~ a msg from the peer tho, even if cannot yet send)
asciilifeform[billymg]: w/out any keys, cannot receive or send.
awt[billymg]: billymg: your adding peer is not the only thing that's different. I'm now running a station with a bunch of fixes
awt[billymg]: incidentally the sqlite3 error you pasted is due to blatta implementing threading badly
awt[billymg]: I think I'm going to have to have a single thread that does all db access, and just performs operations from a queue. right now occasionally two threads attempt to update the db at the same time
bitbot: Logged on 2021-11-30 20:10:48 awt[billymg]: asciilifeform: when you see 127.0.0.1 that's likely the irc client sending or receiving something to or from the local pest station
awt[billymg]: heh billymg gets a notification everytime someone quotes a line
awt[billymg]: or wait - no, not in his console, since it's an immediate message. nm.
billymg: awt: heh, yeah, i do get the notifications on all bitbot echos since i'm the intermediary on them
billymg: awt: these are the loglines in my weechat console, the "pestbot (pestbot) has joined #pest" occurred immediately after running `/peer pestbot`
awt[billymg]: yeah blatta sends a join message when you peer someone so they show up in your nicklist
awt[billymg]: also btw we can test your peer theory if you unpeer
awt[billymg]: if you unpeer pestbot, I mean
billymg: right, i'll try that
billymg: i'm just looking at the timestamps and at 18:53 the pestbot[awt] message didn't get logged (same with the previous messsages from earlier), then at 19:09, after i peered, it worked
billymg: lemme try unpeering
billymg: ok, got the "pestbot has left" message
billymg: yeah, not in the logs
awt[billymg]: indeed
billymg: ok, will peer again
billymg: peered
pestbot[billymg]: testing testing
billymg: yep
awt[billymg]: that's so not cool
awt[billymg]: because pestbot gets bitbot messages w/o peering
billymg: so pestbot could see bitbot messages (i'm guessing via billymg?) even when i was not yet peered with pestbot?
awt[billymg]: not sure
asciilifeform[billymg]: btw before i fughet, awt : this aint in spec yet, but pestron oughta rejects msgs with higher version than itself
awt[billymg]: asciilifeform: yes indeed
awt[billymg]: I should add that rather soon to blatta
awt[billymg]: ok well for the last dupe I saw, I can confirm via the logs that the message hash reported on the originating station is different than on the station that sent back a dupe.
awt[billymg]: WTF? http://paste.deedbot.org/?id=sx9A message hash getting fucked right in front of my eyes
awt[billymg]: ah ok I think I might know why peering/unpeering even w/o a key is affecting what bitbot sees. There is some logic still in your version that checks if a messages is in-wot. according to this logic the message would be in-wot, even w/o a key.
awt[billymg]: and only in-wot hearsay is getting rebroadcast in your version
pestbot[billymg]: testing potential dupe fix
awt[billymg]: Hopefully shouldn't see any more dupes oritinating from my main station or pestbot.
← 2021-11-29 | 2021-12-01 →