element-hq / element-hq/synapse
The logs for e-mail sending are virtually useless
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#15170](https://github.com/matrix-org/synapse/issues/15170).
---
* If you try to connect to a implicit TLS host with STARTTLS, the connection just hangs.
* If there's a TLS verification failure, it just retries to connect 5 times but never gives any error concerning TLS verification.
* I'm sure there are other similarly useless error cases too.
As of Synapse version v1.77.
Contributor guide
Research direction
No source files, tests, or entry points are named. Start by reproducing the implicit-TLS/STARTTLS hang and TLS verification failure described for Synapse v1.77, then trace the e-mail sending logs and retry handling. Done means these failures report useful TLS or connection errors instead of hanging or retrying silently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, observability-sre
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100