Sorunome / mx-puppet-bridge

Puppeting library for matrix
Apache License 2.0
95 stars 29 forks source link

handlePresence: error: Puppet not found. Something is REALLY wrong!!!! #90

Closed rda0 closed 3 years ago

rda0 commented 3 years ago

Hi

I get thousands of these per day in the logs (of mx-puppet-slack):

Jul-26 10:58:11.779 [MatrixEventHandler] info: Got presence event for mxid @uid1:user.hs
Jul-26 10:58:11.779 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence
Jul-26 10:58:11.779 [MatrixEventHandler] info: Got presence event for mxid @reminder:bot.hs
Jul-26 10:58:11.779 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence
Jul-26 10:58:11.779 [MatrixEventHandler] info: Got presence event for mxid @uid2:user.hs
Jul-26 10:58:11.779 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence
Jul-26 10:58:11.779 [MatrixEventHandler] info: Got presence event for mxid @alot:bot.hs
Jul-26 10:58:11.779 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence
Jul-26 10:58:11.779 [MatrixEventHandler] info: Got presence event for mxid @gitlab:bot.hs
Jul-26 10:58:11.779 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence
Jul-26 10:58:11.780 [MatrixEventHandler] info: Got presence event for mxid @reminderbot:bot.hs
Jul-26 10:58:11.780 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence
Jul-26 10:58:11.780 [MatrixEventHandler] info: Got presence event for mxid @sed:bot.hs
Jul-26 10:58:11.780 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence
Jul-26 10:58:11.780 [MatrixEventHandler] info: Got presence event for mxid @rsvc:bot.hs
Jul-26 10:58:11.780 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence
Jul-26 10:58:11.780 [MatrixEventHandler] info: Got presence event for mxid @uid3:user.hs
Jul-26 10:58:11.780 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence
Jul-26 10:58:11.780 [MatrixEventHandler] info: Got presence event for mxid @echo:bot.hs
Jul-26 10:58:11.788 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!!
Jul-26 10:58:11.788 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!!
Jul-26 10:58:11.789 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!!
Jul-26 10:58:11.789 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!!
Jul-26 10:58:11.790 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!!
Jul-26 10:58:11.792 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!!
Jul-26 10:58:11.793 [MatrixEventHandler] verbose: Emitting presence event...
Jul-26 10:58:11.795 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!!
Jul-26 10:58:11.796 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!!
Jul-26 10:58:11.796 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!!
Jul-26 10:58:11.797 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!!

Looks like it is here: https://github.com/Sorunome/mx-puppet-bridge/blob/b85e37f6e7f4848442aa5901d7df869bf33fa3db/src/matrixeventhandler.ts#L691

I have 3 users that are using the bridge and these 3 users are the only mxids that result in:

[MatrixEventHandler] verbose: Emitting presence event...

I don't think anything is wrong, since the bridge seems to work very well.

Although I know from at least one of those users, that they are mixing bridged Slack users and regular Matrix users in rooms, which of course probably will not work the way they would expect.

Could that be a side effect of this?

Sorunome commented 3 years ago

those after the presence are actually safe to ignore ^-^

    1. 2021 15:24:23 Sven Mäder @.***>:

Hi

I get thousands of these per day in the logs (of mx-puppet-slack):

Jul-26 10:58:11.779 [MatrixEventHandler] info: Got presence event for mxid @uid1:user.hs Jul-26 10:58:11.779 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence Jul-26 10:58:11.779 [MatrixEventHandler] info: Got presence event for mxid @reminder:bot.hs Jul-26 10:58:11.779 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence Jul-26 10:58:11.779 [MatrixEventHandler] info: Got presence event for mxid @uid2:user.hs Jul-26 10:58:11.779 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence Jul-26 10:58:11.779 [MatrixEventHandler] info: Got presence event for mxid @alot:bot.hs Jul-26 10:58:11.779 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence Jul-26 10:58:11.779 [MatrixEventHandler] info: Got presence event for mxid @gitlab:bot.hs Jul-26 10:58:11.779 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence Jul-26 10:58:11.780 [MatrixEventHandler] info: Got presence event for mxid @reminderbot:bot.hs Jul-26 10:58:11.780 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence Jul-26 10:58:11.780 [MatrixEventHandler] info: Got presence event for mxid @sed:bot.hs Jul-26 10:58:11.780 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence Jul-26 10:58:11.780 [MatrixEventHandler] info: Got presence event for mxid @rsvc:bot.hs Jul-26 10:58:11.780 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence Jul-26 10:58:11.780 [MatrixEventHandler] info: Got presence event for mxid @uid3:user.hs Jul-26 10:58:11.780 [bot-sdk-Appservice] info: Processing ephemeral event of type m.presence Jul-26 10:58:11.780 [MatrixEventHandler] info: Got presence event for mxid @echo:bot.hs Jul-26 10:58:11.788 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!! Jul-26 10:58:11.788 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!! Jul-26 10:58:11.789 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!! Jul-26 10:58:11.789 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!! Jul-26 10:58:11.790 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!! Jul-26 10:58:11.792 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!! Jul-26 10:58:11.793 [MatrixEventHandler] verbose: Emitting presence event... Jul-26 10:58:11.795 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!! Jul-26 10:58:11.796 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!! Jul-26 10:58:11.796 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!! Jul-26 10:58:11.797 [MatrixEventHandler] error: Puppet not found. Something is REALLY wrong!!!!

Looks like it is here: https://github.com/Sorunome/mx-puppet-bridge/blob/b85e37f6e7f4848442aa5901d7df869bf33fa3db/src/matrixeventhandler.ts#L691

I have 3 users that are using the bridge and these 3 users are the only mxids that result in:

[MatrixEventHandler] verbose: Emitting presence event...

I don't think anything is wrong, since the bridge seems to work very well.

Although I know from at least one of those users, that they are mixing bridged Slack users and regular Matrix users in rooms, which of course probably will not work the way they would expect.

Could that be a side effect of this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub[https://github.com/Sorunome/mx-puppet-bridge/issues/90], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AASSEVF4L2XNKTLFG2R3NODTZVOYLANCNFSM5BADGCCA]. [data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAArSURBVHic7cEBDQAAAMKg909tDjegAAAAAAAAAAAAAAAAAAAAAAAAAAA+DFFIAAEctgHwAAAAAElFTkSuQmCC###24x24:true###][Sledovací obrázek][https://github.com/notifications/beacon/AASSEVFKB7JGRPY6JOCCOY3TZVOYLA5CNFSM5BADGCCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OGMEEFQ.gif]