element-hq / element-hq/synapse
Synapse 500's on syncing with an empty sync token
Open
A-Sync
A-Validation
S-Tolerable
T-Defect
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#6030](https://github.com/matrix-org/synapse/issues/6030).
---
Calling `/sync` with `...&since=` will presumably give Synapse a sync token of "", which it will then try to do stuff with. This will cause an Exception to be raised somewhere and Synapse will throw a 500 Internal Server Error.
I assume there's likely a lot more cases of this around the codebase but at least this one could be fixed.
Brought up when writing https://github.com/ara4n/random/blob/master/bashtrix.sh
Contributor guide
Assessment
This issue has not been assessed yet.