mikabytes / gearbox

8 stars 0 forks source link

Error message when adding 1,5 TB torrent #36

Closed Pro-Z-Emil closed 2 months ago

Pro-Z-Emil commented 3 months ago

I get this error message when I try to add a 1,5 TB torrent. The .torrent file is 1930 kB. image

mikabytes commented 3 months ago

That is odd. I've set the limit at 10mb, which is more than the 1930kb .torrent file.

I'll have to investigate.

adia commented 3 months ago

If you look closely, the error is produced by nginx and not by Gearbox - you have it behind a reverse proxy, right?

You probably need to put client_max_body_size 10M; somewhere in your nginx config.

mikabytes commented 2 months ago

Ah, yes!

@Pro-Z-Emil As you are using Nginx Ingress, you can follow instructions here

Probably, adding this annotation:

      nginx.ingress.kubernetes.io/proxy-body-size: 10m