2023-12-23T04:14:07 *** teepee_ is now known as teepee 2023-12-23T16:18:56 *** teepee_ is now known as teepee 2023-12-23T21:10:54 looking into why matrix federation not working, I wonder if our https://opensuse.org/.well-known/matrix/server is correct. >https://matrix-org.github.io/synapse/latest/delegate.html says the default port is 8448 but I think we should specify :443 ? 2023-12-23T21:14:36 here is the patch https://gitlab.infra.opensuse.org/infra/salt/-/merge_requests/1197 2023-12-23T21:45:59 hm thanks for merging. now https://federationtester.matrix.org/#opensuse.org says "Unable to decode JSON from remote server" .. I compared with fedora.im's and they use the same syntax. maybe headers? checking 2023-12-23T21:54:52 seems the Matrix spec requires application/json .. others seem to not follow it either but let's repair it for good measure: https://gitlab.infra.opensuse.org/infra/salt/-/merge_requests/1198 2023-12-23T22:00:29 nice catch, merged 2023-12-23T22:00:47 thx 2023-12-23T22:50:01 the error persists. upon studying the federation tester source code and building my own with some fmt.Printf debugging I find it tries to access https://[2a07:de40:b27e:1204::10]:443/_matrix/key/v2/server with a SNI header of "matrix.opensuse.org". in our case we only respect the Host header and not SNI, so it returns what seems to be a dump of www.opensuse.org 2023-12-23T22:51:26 that HTML would also explain "invalid character '<' looking for beginning of value" 2023-12-23T22:57:56 so, hopefully the last patch for Matrix today :) https://gitlab.infra.opensuse.org/infra/salt/-/merge_requests/1199 2023-12-23T23:10:52 thanks! now the tester reports us as green 2023-12-23T23:12:39 :-)