Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

federation tester incorrectly says it times out when .well-known has a time-out, but an SRV record is present #113

Open
mvgorcum opened this issue Jan 16, 2021 · 4 comments

Comments

@mvgorcum
Copy link

mvgorcum commented Jan 16, 2021

Describe the bug
Unclear error message when .well-known lookup has a time-out.

To Reproduce
Run federation tester on a server that has SRV domain delegation, and a time-out on https://server_name/.well-known/matrix/server

Expected behavior
I expected the federation tester to tell me the server works correctly, and optionally to mention a time-out on the .well-known lookup.

The tester gives a time-out error, but it doesn't clearly state that .well-known has a time-out:

Got 1 connection report.

There was an error looking up homeserver version information: Get matrix://balsillie.net/_matrix/federation/v1/version: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

I would say it's technically correct, but hard to interpret.
Screenshots
image

@Bubu
Copy link

Bubu commented Jan 16, 2021

The json report correctly mentions that the well-known request timed out (in addition to the confusing general matrix:// timeout report). But this is apprently not surfaced to the frontend:

image

@aaronraimist
Copy link

This repo is just the federation tester itself, which provides the JSON output. The federationtester.matrix.org UI is on https://github.com/matrix-org/fed-tester-ui

@Bubu
Copy link

Bubu commented Jan 17, 2021

Right, this is a separate frontend issue as well for not reporting the well known error at all. But the json output produces the misleading timeout on federation request in the first place. (The timeout only happens on the well-known).

@nrgill28
Copy link

Same issue happens on my homeserver. I also have an SRV record setup pointing to my matrix subdomain on port 8448, but the federation tester seems to be trying to make this request over port 443 which I don't have open and it causes a timeout.

https://federationtester.matrix.org/#hobscrk.space
https://matrix.hobscrk.space:8448/_matrix/federation/v1/version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants