element-hq / element-hq/element-web

Timeout for /versions on login screen is quite short (5 seconds)

Open
#32,718 3 comments 0 reactions 0 assignees View on GitHub
A-Login O-Uncommon S-Critical T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Have a homeserver and/or internet connection that's being a bit slow so the /versions request takes more than 5 seconds
2. Open app, click 'sign in'
3. See login screen with spinner for 5 seconds and then get an error

### Outcome

#### What did you expect?
Timeout to be a bit more generous so I can still log in to my homeserver if things are being a bit slow

#### What happened instead?
Can't log in at all

We suspect this may have been done to avoid you sitting staring at a spinner if you typo your homeserver, but this seems spurious since most typos should fail quickly either due to dns failure or the http server not returning the right thing, and for anything else it feels like a cancel button would be appropriate.

### Operating system

_No response_

### Browser information

_No response_

### URL for webapp

_No response_

### Application version

_No response_

### Homeserver

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.