element-hq / element-hq/element-ios
Element should never try to rageshake more than 200MB of logs.
- Dominant language
- Swift
- Stars
- 1.8k
- Forks
- 544
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. have a nasty problem
2. try to rageshake
3. discover you get a [413 Request Entity Too Large](https://community.cloudflare.com/t/workers-413-request-entity-too-large/254143) error if you try to upload more than 200MB of logs.
Element should discard/truncate older logs so it never tries to upload more than ~180MB or so, given cloudflare limits uploads to 200MB on the business plan, which rageshakes.element.io is on.
The workaround is to temporarily disable CDN for rageshakes.element.io, but this exposes the internal IP of the service, opening it up to potential abuse.
### Outcome
#### What did you expect?
Rageshake should work.
### Your phone model
_No response_
### Operating system version
_No response_
### Application version
_No response_
### Homeserver
_No response_
### Will you send logs?
Yes
Contributor guide
Assessment
This issue has not been assessed yet.