Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Inviting a user on a non-existent domain blocks for ages (indefinitely?) (SYN-511) #1411

Closed
matrixbot opened this issue Oct 24, 2015 · 7 comments
Labels
z-bug (Deprecated Label) z-p2 (Deprecated Label)

Comments

@matrixbot
Copy link
Member

(Imported from https://matrix.org/jira/browse/SYN-511)

(Reported by @ara4n)

@matrixbot
Copy link
Member Author

Jira watchers: @erikjohnston @kegsay @ara4n

@matrixbot
Copy link
Member Author

The JS SDK just calls straight through to the HTTP API. Synapse will try the domain for a while then give up. When testing just now, it was about 30s before coming up with an Internal Server Error. Either way, this is not blocking forever and this is not the JS SDK's role to fix this.

-- @kegsay

@matrixbot
Copy link
Member Author

Rather than won't fixing we should make this a spec or synapse bug then, as it's still a major bad UX bug(!!)

-- @ara4n

@matrixbot
Copy link
Member Author

30 seconds seems reasonable though?

-- @kegsay

@matrixbot
Copy link
Member Author

It's terrible UX if the user mistypes an mxid and then sits there staring at a spinner for 30s. If Synapse gets an early failure (i.e. a 500 or 404 or connection refused) from the target homeserver, it should fail immediately rather than block and timeout.

-- @ara4n

@matrixbot
Copy link
Member Author

What timeouts would people like on this? Do we want a different timeout if we know the domain has a HS?

-- @erikjohnston

@matrixbot matrixbot added z-p2 (Deprecated Label) z-bug (Deprecated Label) labels Nov 7, 2016
@matrixbot matrixbot changed the title Inviting a user on a non-existent domain blocks for ages (indefinitely?) (SYN-511) Inviting a user on a non-existent domain blocks for ages (indefinitely?) (https://github.com/matrix-org/synapse/issues/1411) Nov 7, 2016
@matrixbot matrixbot changed the title Inviting a user on a non-existent domain blocks for ages (indefinitely?) (https://github.com/matrix-org/synapse/issues/1411) Inviting a user on a non-existent domain blocks for ages (indefinitely?) (SYN-511) Nov 7, 2016
@richvdh
Copy link
Member

richvdh commented Feb 10, 2022

I think this was duplicated by #2047. Closing in favour of that since it has more info.

@richvdh richvdh closed this as completed Feb 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
z-bug (Deprecated Label) z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

2 participants