Federation invites always fail ("Invite state event is not a PDU") #2114

Closed
opened 2026-08-07 21:10:18 +00:00 by jonasjonasb · 1 comment

Description:
Incoming federation invites fail during Validating invite room state. Failing all invites regardless of room version (tested on V10 and V11 from matrix.org). (Btw, I use Continuwuity on docker). However, outgoing invites are working just fine.

Here is my trace log:

2026-08-07T21:06:39.120402Z DEBUG invite: conduwuit_api::server::invite: Validating invite room state for invite request event_id=$MFwj0Pg8Sp1_IEb66K5HrncSP6lPFsaaUSLccO4Mdio room_id=!fhszDAwGVPnkfDkapF:matrix.org room_version=V11 via=None

2026-08-07T21:06:39.120424Z TRACE invite: conduwuit_api::server::invite: Raw invite state invite_state=[Stripped(Raw::<ruma_events::enums::AnyStrippedStateEvent> { json: RawValue({"content":{"room_version":"11"},"sender":"@jonasfunaccount:matrix.org","state_key":"","type":"m.room.create"}) }), Stripped(Raw::<ruma_events::enums::AnyStrippedStateEvent> { json: RawValue({"content":{"join_rule":"invite"},"sender":"@jonasfunaccount:matrix.org","state_key":"","type":"m.room.join_rules"}) }), Stripped(Raw::<ruma_events::enums::AnyStrippedStateEvent> { json: RawValue({"content":{"algorithm":"m.megolm.v1.aes-sha2"},"sender":"@jonasfunaccount:matrix.org","state_key":"","type":"m.room.encryption"}) }), Stripped(Raw::<ruma_events::enums::AnyStrippedStateEvent> { json: RawValue({"content":{"displayname":"Jonas Braus","membership":"join"},"sender":"@jonasfunaccount:matrix.org","state_key":"@jonasfunaccount:matrix.org","type":"m.room.member"}) })]

2026-08-07T21:06:39.120436Z TRACE invite: conduwuit_api::server::invite: Invite state event idx=0 invite_state_event=Stripped(Raw::<ruma_events::enums::AnyStrippedStateEvent> { json: RawValue({"content":{"room_version":"11"},"sender":"@jonasfunaccount:matrix.org","state_key":"","type":"m.room.create"}) })

2026-08-07T21:06:39.120442Z DEBUG invite: conduwuit_api::server::invite: Invite state event is not a PDU idx=0
Description: Incoming federation invites fail during Validating invite room state. Failing all invites regardless of room version (tested on V10 and V11 from matrix.org). (Btw, I use Continuwuity on docker). However, outgoing invites are working just fine. Here is my trace log: ``` 2026-08-07T21:06:39.120402Z DEBUG invite: conduwuit_api::server::invite: Validating invite room state for invite request event_id=$MFwj0Pg8Sp1_IEb66K5HrncSP6lPFsaaUSLccO4Mdio room_id=!fhszDAwGVPnkfDkapF:matrix.org room_version=V11 via=None 2026-08-07T21:06:39.120424Z TRACE invite: conduwuit_api::server::invite: Raw invite state invite_state=[Stripped(Raw::<ruma_events::enums::AnyStrippedStateEvent> { json: RawValue({"content":{"room_version":"11"},"sender":"@jonasfunaccount:matrix.org","state_key":"","type":"m.room.create"}) }), Stripped(Raw::<ruma_events::enums::AnyStrippedStateEvent> { json: RawValue({"content":{"join_rule":"invite"},"sender":"@jonasfunaccount:matrix.org","state_key":"","type":"m.room.join_rules"}) }), Stripped(Raw::<ruma_events::enums::AnyStrippedStateEvent> { json: RawValue({"content":{"algorithm":"m.megolm.v1.aes-sha2"},"sender":"@jonasfunaccount:matrix.org","state_key":"","type":"m.room.encryption"}) }), Stripped(Raw::<ruma_events::enums::AnyStrippedStateEvent> { json: RawValue({"content":{"displayname":"Jonas Braus","membership":"join"},"sender":"@jonasfunaccount:matrix.org","state_key":"@jonasfunaccount:matrix.org","type":"m.room.member"}) })] 2026-08-07T21:06:39.120436Z TRACE invite: conduwuit_api::server::invite: Invite state event idx=0 invite_state_event=Stripped(Raw::<ruma_events::enums::AnyStrippedStateEvent> { json: RawValue({"content":{"room_version":"11"},"sender":"@jonasfunaccount:matrix.org","state_key":"","type":"m.room.create"}) }) 2026-08-07T21:06:39.120442Z DEBUG invite: conduwuit_api::server::invite: Invite state event is not a PDU idx=0 ```
Owner

Duplicate of #1971

Duplicate of #1971
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity#2114
No description provided.