Matrix - synapse

Hi all,

Problem #1

The fact that the server didn’t work yesterday, or the day before, and now it’s working is due to the cache of the requesting server i.e. matrix.org.

Server-Server API | Matrix Specification.

Responses (successful or otherwise) to the /.well-known endpoint should be cached by the requesting server… The recommended sensible default is 24 hours. Servers should additionally impose a maximum cache time for responses: 48 hours is recommended. Errors are recommended to be cached for up to an hour, and servers are encouraged to exponentially back off for repeated failures.

Problem #2

The error message:
There was an error joining the room.

The log file:

Invalid signature for server matrix.org with key ed25519:a_RXGa: Unable to verify signature for matrix.org: <class 'nacl.exceptions.BadSignatureError'> Signature was forged or corrupt

This Signature was forged or corrupt is due to the fact that my main server is canonicalising the packet before relying it to the LOCAL server: i.e. replacing the characters %40 , %3A , etc… with their ASCII equivalent.

DETAILS OF THE PROBLEM:
SOLVED Invalid signature for server matrix.org with key ed25519:a_RXGa: · Issue #10749 · matrix-org/synapse · GitHub.

SOLUTION:
See Nethserver-discourse, Let's Encrypt, and SSL - #27 by michelandre.

Michel-André