element-hq / element-hq/synapse
/_matrix/client/r0/account/password can be slow in some circumstances
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#10540](https://github.com/matrix-org/synapse/issues/10540).
---
### Description
In some circumstances, requests to `/_matrix/client/r0/account/password` are slow (taking > 25 seconds).
As noted in https://github.com/vector-im/element-web/issues/11531#issuecomment-890978556, it may be due to some sort of fanout effect to federated servers. It's unclear if this is specific to certain accounts or servers.
### Steps to reproduce
See https://github.com/vector-im/element-web/issues/11531#issuecomment-890978556 for repro steps and logs.
Element web should show a spinner, but ideally, the homeserver would respond more rapidly.
### Version information
- **Homeserver**: matrix.org
- **Version**: 1.40.0rc1
- **Install method**:
- **Platform**:
Contributor guide
Assessment
This issue has not been assessed yet.