element-hq / element-hq/element-ios

Element should never try to rageshake more than 200MB of logs.

Open
#6,594 1 comment 0 reactions 0 assignees View on GitHub
A-Rageshakes O-Uncommon S-Minor T-Defect
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

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.