Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Messages from certain remote users missing / being rejected #13716

@tonkku107

Description

@tonkku107

Description

I've noticed people replying to events that don't exist for me and looking at the event source they are replying to specific users from the matrix.org homeserver. I am not receiving messages from those members but I do see them typing and their read receipts.
In the case of the log output below, they have been in the room for close to a month and the referenced m.room.member event can be found via element's dev tools, yet at the time of receiving the event synapse fails to calculate that as an auth_event.

Steps to reproduce

  • (it is currently unknown what causes users to get in this state)
  • receive a message from an affected user through federation
  • be confused when people are talking to others that you cannot see

Homeserver

tonkku.me

Synapse Version

1.66.0

Installation Method

Docker (matrixdotorg/synapse)

Platform

Running in docker containers on a server with Ubuntu 20.04.3, AMD Ryzen 5 3600, 64GB RAM.

Relevant log output

2022-09-04 16:12:40,328 - synapse.federation.federation_server - 1197 - INFO - _process_incoming_pdus_in_room_inner-1875 - handling received PDU in room !GtIfdsfQtQIgbQSxwJ:archlinux.org: <FrozenEventV3 event_id=$9nEfMJ48sVmR_5zO1fjmNyaXWNVHSw1Go6CwAtSH3EU, type=m.room.message, state_key=None, outlier=False>
2022-09-04 16:12:40,350 - synapse.handlers.federation_event - 1806 - INFO - _process_incoming_pdus_in_room_inner-1875-$9nEfMJ48sVmR_5zO1fjmNyaXWNVHSw1Go6CwAtSH3EU - event's auth_events are different to our calculated auth_events. Claimed but not calculated: [<FrozenEventV3 event_id=$jWCsQ39xw6rhTIPuRjHqh6KspCEmWzbycTKjqBfcEtU, type=m.room.member, state_key=@rajabinkz:matrix.org, outlier=False>]. Calculated but not claimed: []
2022-09-04 16:12:40,350 - synapse.handlers.federation_event - 1826 - WARNING - _process_incoming_pdus_in_room_inner-1875-$9nEfMJ48sVmR_5zO1fjmNyaXWNVHSw1Go6CwAtSH3EU - While checking auth of <FrozenEventV3 event_id=$9nEfMJ48sVmR_5zO1fjmNyaXWNVHSw1Go6CwAtSH3EU, type=m.room.message, state_key=None, outlier=False> against room state before the event: 403: User @rajabinkz:matrix.org not in room !GtIfdsfQtQIgbQSxwJ:archlinux.org (None)
2022-09-04 16:12:40,368 - synapse.http.client - 446 - INFO - _process_incoming_pdus_in_room_inner-1875-$9nEfMJ48sVmR_5zO1fjmNyaXWNVHSw1Go6CwAtSH3EU - Received response to POST http://generic-worker4:9114/_synapse/replication/fed_send_events/XtTHDlfEIH: 200

Anything else that would be useful to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorMajor functionality / product severely impaired, no satisfactory workaround.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.X-Needs-InfoThis issue is blocked awaiting information from the reporter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions