Skip to content

can't e2ee send messages to matrix.org users #18806

@lephisto

Description

@lephisto

Description

Hi,

i have the issue that since a few days or a small number of weeks i can't send messages to matrix.org users. They eventually get:

{
"type": "m.room.message",
"content": {
"msgtype": "m.bad.encrypted",
"body": "** Unable to decrypt: DecryptionError: The sender's device has not sent us the keys for this message. **"
}
}

What I see in my homeserver.log:

2025-08-12 10:29:31,378 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-8 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520:
2025-08-12 10:39:11,547 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-3677 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520:
2025-08-12 10:49:31,052 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-15873 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520:
2025-08-12 10:58:31,053 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-27382 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520:
2025-08-12 11:09:35,620 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-33571 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520:
2025-08-12 11:18:57,357 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-41634 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520:
2025-08-12 11:28:04,699 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-50819 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520:
2025-08-12 11:38:30,454 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-62888 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520:

Steps to reproduce

  • Open Query to matrix.org user
  • Write a message
  • matrix.org user gets nothing or in the best case "Unable to decrypt"

Homeserver

mephis.to

Synapse Version

1.135.2

Installation Method

Debian packages from packages.matrix.org

Database

postgres

Workers

Single process

Platform

ubuntu 22.04, install from debian packages, apache as ingress proxy.

Configuration

No response

Relevant log output

2025-08-12 10:29:31,378 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-8 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520: 
2025-08-12 10:39:11,547 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-3677 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520: 
2025-08-12 10:49:31,052 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-15873 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520: 
2025-08-12 10:58:31,053 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-27382 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520: 
2025-08-12 11:09:35,620 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-33571 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520: 
2025-08-12 11:18:57,357 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-41634 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520: 
2025-08-12 11:28:04,699 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-50819 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520: 
2025-08-12 11:38:30,454 - synapse.federation.sender.per_destination_queue - 414 - WARNING - federation_transaction_transmission_loop-62888 - TX [matrix.org] Failed to send transaction: Failed to send request: HttpResponseException: 520:

Anything else that would be useful to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions