element-hq / element-hq/dendrite
bot issues with latest dendrite
- Dominant language
- Go
- Stars
- 965
- Forks
- 101
- PR merge metrics
- No merged PRs in 30d
Description
*This issue was originally created by [**@jostreff**](https://github.com/jostreff) at .*
Hi,
running `dendrite 0.10.8` build from freebsd ports system with `go 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:
```
[Dec 2, 2022 13:50:51] [Matrix/DEBUG] Starting handling of transaction 1669981851619219625 (2 PDUs)
[Dec 2, 2022 13:50:51] [Matrix/Bot/DEBUG] req #6: POST https://matrix.ostreff.info/_matrix/client/v3/rooms/%21NlumPAgUuZeRP54s:matrix.ostreff.info/join?user_id=%40whatsappbot%3Amatrix.ostreff.info
[Dec 2, 2022 13:50:51] [Matrix/Bot/DEBUG] req #6 (/v3/rooms/!NlumPAgUuZeRP54s:matrix.ostreff.info/join) completed in 221.753291ms with status 403 and 241 bytes of application/json body
[Dec 2, 2022 13:50:51] [Matrix/DEBUG] Failed to join room !NlumPAgUuZeRP54s:matrix.ostreff.info as @whatsappbot:matrix.ostreff.info with invite from @jostreff:matrix.ostreff.info: failed to POST /_matrix/client/v3/rooms/!NlumPAgUuZeRP54s:matrix.ostreff.info/join: M_FORBIDDEN (HTTP 403): InputRoomEvents auth failed: InputRoomEventsResponse: eventauth: "@whatsappbot:matrix.ostreff.info" is not allowed to change their membership from "leave" to "join" as join rule "invite" forbids it
[Dec 2, 2022 13:50:51] [Matrix/Bot/DEBUG] req #7: POST https://matrix.ostreff.info/_matrix/client/v3/rooms/%21NlumPAgUuZeRP54s:matrix.ostreff.info/join?user_id=%40whatsappbot%3Amatrix.ostreff.info
[Dec 2, 2022 13:50:51] [Matrix/DEBUG] Starting handling of transaction 1669981851956493680 (1 PDUs)
[Dec 2, 2022 13:50:51] [Matrix/Bot/DEBUG] req #7 (/v3/rooms/!NlumPAgUuZeRP54s:matrix.ostreff.info/join) completed in 149.886187ms with status 200 and 51 bytes of application/json body
[Dec 2, 2022 13:50:51] [Matrix/Bot/DEBUG] req #8: GET https://matrix.ostreff.info/_matrix/client/v3/rooms/%21NlumPAgUuZeRP54s:matrix.ostreff.info/joined_members?user_id=%40whatsappbot%3Amatrix.ostreff.info
[Dec 2, 2022 13:50:52] [Matrix/Bot/DEBUG] req #8 (/v3/rooms/!NlumPAgUuZeRP54s:matrix.ostreff.info/joined_members) completed in 98.404869ms with status 200 and 184 bytes of application/json body
[Dec 2, 2022 13:50:52] [Matrix/DEBUG] Leaving empty room !NlumPAgUuZeRP54s:matrix.ostreff.info after accepting invite from @jostreff:matrix.ostreff.info as @whatsappbot:matrix.ostreff.info
[Dec 2, 2022 13:50:52] [Matrix/Bot/DEBUG] req #9: POST https://matrix.ostreff.info/_matrix/client/v3/rooms/%21NlumPAgUuZeRP54s:matrix.ostreff.info/leave?user_id=%40whatsappbot%3Amatrix.ostreff.info {}
[Dec 2, 2022 13:50:52] [Matrix/DEBUG] Starting handling of transaction 1669981852188234221 (1 PDUs)
[Dec 2, 2022 13:50:52] [Matrix/Bot/DEBUG] req #9 (/v3/rooms/!NlumPAgUuZeRP54s:matrix.ostreff.info/leave) completed in 119.622302ms with status 200 and 2 bytes of application/json body
```
Contributor guide
Assessment
This issue has not been assessed yet.