-
-
Notifications
You must be signed in to change notification settings - Fork 676
bot issues with latest dendrite #2902
Comments
I see the same problem with the the bot postmoogle. Test environment
The bot often fails to join the room when invited, but sometimes it succeeds. In the failing case a Successful case
Failing case
|
I think I have the same issue with Mautrix-signal bridge. For all the other bridges it seems that it doesn't break anything. |
I have the same issue, setup Dendrite last weekend and installed mautrix bridges. The Go whatsapp bridge worked but the python based one didn't. It seems like the bot tries to join several times in a row, the first time succeeds but the subsequent ones fail and the bot just crashes saying it doesn't have enough power level to join the room or query its members. |
I have this issue with whatsapp go, they also think it is a bug in dendrite: mautrix/whatsapp#573 |
I would like to fix it, @kegsay is there any hints at where it may be? |
What I see so far is this code: https://github.com/matrix-org/gomatrixserverlib/blob/main/eventauth.go#L1211
I think bot comes here with
I am not sure what values are expected for a bot and if they are wrong or logic is wrong |
Same problem here with
No issues with the other mautrix bots, only |
for whatsapp this does not help, in my test install with single user, portal and mx_room_state are empty. mx_user_profile contains one line for the bot with membership leave, removing the record does not help, cannot chat with the bot and record is created again.
|
I ran into the same issue while trying to set up mautrix-discord today and found a workaround: |
Nice, this helped with whatsapp as well, I had to invite twice (bot is very shy). |
Just tried Dendrite 28d3e29 with postmoogle (same setup used when reporting), and it seems to work fine. |
with whatstapp bot it is the same if not worse even public room workaround does not work any more, Also I think it is not 100% not working I saw once bot actually responded in a direct chat. my logs:
|
Just tried this commit with the instagram bridge, the bot worked without any issues so far. I also tried the workaround mentioned by @tux93 to create a room and invite the bot (I tried it before this commit was merged) and it also worked. |
From the looks of mautrix/slack#41, this is most likely a race condition between the syncapi (handling |
FYI: good news, this seems to have fixed all my go bridge bot invite issues (whatsapp/slack): #3078 |
Hi,
running
dendrite 0.10.8
build from freebsd ports system withgo version go1.19.3 freebsd/amd64
. My bot is also go application taken from https://github.com/mautrix/whatsapp.git. This is second bot which has similar behavior.The error message I see is:
The text was updated successfully, but these errors were encountered: