matrix nginx/config issue #7

Closed
opened 2021-10-30 11:16:16 +02:00 by pratyush · 3 comments
Owner
10:52 <~val> so in the Matrix protocol, when the user ID is @xxxx:liberta.casa, clients are supposed to query https://liberta.casa/.well-known/matrix/client first
10:52 <~val> if it returns 404, they assume liberta.casa itself is the homeserver, so they query https://liberta.casa/_matrix/client/r0/login
10:52 <~val> which is also 404 on your config
10:53 <~val> so clients have no way of knowing that your matrix server is actually at matrix.liberta.casa
10:53 <mogad0n> I see 
10:53 <~val> so you have two options:
10:53 <~val> 1. make the user ids @xxxx:matrix.liberta.casa
10:54 <~val> 2. copy https://matrix.liberta.casa/.well-known/matrix/client to https://liberta.casa/.well-known/matrix/client

discussion resulting from the diagnosis of the sasl auth timeout failure for the matrix2051 client.

``` 10:52 <~val> so in the Matrix protocol, when the user ID is @xxxx:liberta.casa, clients are supposed to query https://liberta.casa/.well-known/matrix/client first 10:52 <~val> if it returns 404, they assume liberta.casa itself is the homeserver, so they query https://liberta.casa/_matrix/client/r0/login 10:52 <~val> which is also 404 on your config 10:53 <~val> so clients have no way of knowing that your matrix server is actually at matrix.liberta.casa 10:53 <mogad0n> I see 10:53 <~val> so you have two options: 10:53 <~val> 1. make the user ids @xxxx:matrix.liberta.casa 10:54 <~val> 2. copy https://matrix.liberta.casa/.well-known/matrix/client to https://liberta.casa/.well-known/matrix/client ``` discussion resulting from the diagnosis of the sasl auth timeout failure for the matrix2051 client.
Owner

This needs to be in a Matrix repository.

There are SRV records on iberta.casa pointing to matrix.liberta.casa in addition to well-known files. I thought SRV records would be sufficient, but discovered:

Yet to discover:

  • Why is the well-known fallback not working?
This needs to be in a Matrix repository. There are SRV records on iberta.casa pointing to matrix.liberta.casa in addition to well-known files. I thought SRV records would be sufficient, but discovered: * They are not sufficient: https://github.com/matrix-org/matrix-federation-tester/issues/93#issuecomment-760940902. * They are not being served. Yet to discover: * Why is the well-known fallback not working?
Owner

Did this get resolved with the replacement of the certificate with one including the liberta.casa SAN? The federation tester shows green.

Did this get resolved with the replacement of the certificate with one including the liberta.casa SAN? The federation tester shows green.
Author
Owner

Matrix is dead so im closing this issue

Matrix is dead so im closing this issue
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LibertaCasa/system#7
No description provided.