tracking-exposed / trex

youtube & tiktok analysis + youchoose recommendation custmizer. backend, extensions, and tooling
https://docs.tracking.exposed
GNU Affero General Public License v3.0
52 stars 15 forks source link

[backend] Request too large gets discarded without logging infos for debugging #851

Closed ascariandrea closed 1 year ago

ascariandrea commented 1 year ago

Description

In our backends we have set a limit for the size of incoming json payload up to 10mb, but we don't log any useful info when the request is too large and gets rejected. So we're not able to investigate who's sending those requests and eventually spot a bug on our side.

Details

No response

Version

2.8.0

Steps to reproduce

There's no easy was to reproduce this at the moment, but at high level these should be the steps:

Code example, screenshot, or link to a repository

No response