Slow upload / download speeds using web (locally getting full speed)

Hai, got a problem with “slow” downloading and uploading through website outside of LAN
whenever i use locally its full speed, around ~95 MB/s but when using outside of my LAN its only 20 MB/s
i tried find a solution, but i couldnt find anything helpfull, does anyone have same issue and found solution how to get full speed via external IP ? Its my first time doing personal cloud

Nextcloud version: 26.0.1
Operating system and version: UNRAID 6.11.5
PHP version: 8.1.18

Is this the first time you’ve seen this error ? Yes

To replicate:

  1. Just finish making NextCloud
  2. Download / upload stuff from external IP and u will see speeds not going highier than 20 MB/s (but from local ~95 MB/s)

nextcloud.log

config.php

If i forgot or missing, ask pls doing it first time

Your local (LAN) test sounds like it’s perhaps GigE to GigE.

What is the capacity of the link connecting your NC server to the Internet?

What is the capacity of the Internet link you’re testing from externally (i.e. the one you’re connecting to the NC web interface with)?

For sanity checking, the figures you’ve provided so far are equivalent to:

  • 95 MB/s is about 800 Mb/s
  • 20 MB/s is about 160 Mb/s

Your throughout is going to be a factor of a lot variables, including end to end latency, the Internet router/firewall throughput capability at the side where your server is, the Internet router/firewall throughput capability at the side where your client (workstation) is, and various parameters on the web server hosting NC (assuming all other parameters of the testing are the same like file size and type).

As an aside I noticed you disabled chunking entirely in your provided config.php. That’s a a rather brutal setting, but it can increase throughout (at the cost of transfers failing entirely more often). Just something to follow-up on if that wasn’t intentional.

Yep, locally its GigE to GigE
NC to internet is also 1 Gbps
All are 1 Gbps, i’ve checked it to be sure i have connected to right ports
Externally and internally are 1 Gbps

Yea, and thats the typical results i do have
I dont know if that helps, all routers / modems i own are 1 Gbps, the server i put NC is like 2 meters away 4x 1 Gbps (in unraid all 4 are bonded)
I have tested everything with .zip file 3.3 GB
I disabled chunking to see if results would change, it didnt change, i forgot to enable it again

Anyone had same thing then ?

Hi @Akrus, have you enabled http2? if yes, disable it and retry your test