After a lot of testing it seems like for whatever reason, when downloading a file (or uploading) via my nextcloud server through a browser or using the nextcloud app, it’s super slow. A fraction of the speed it should be. Average speed is 1Mbps for me, for example. I have gigabit internet.
But, if this same file is downloaded through a server via command line, it’s fast.
I have performed Iperf and Speedtest CLI tests on numerous servers from around the globe, and they all consistently show a fast bandwidth to the server. There were also tests to download a file via the terminal using several random servers, and it was also fast. But if I try downloading a file via any web browser, or uploading a file via nextcloud’s app, it’s incredibly slow.
Other users have complained about the same problem with our server from around the globe, with completely different ISPs and computer configurations.
I have been unable to find any answer to this problem through google searches.
My assumption is it’s something very simple, but I’m not well versed in diagnosing this sort of problem.
I am able to replicate this on my laptop as well - on Brave Browser, download speeds are very slow (1-2 mbps), while on Firefox, they are many times faster. Running Nextcloud Hub 8 (29.0.3) AIO.
I’ve got some additional information to share, and maybe this will help figure out what’s going on.
When downloading through a browser, such as Brave or Firefox, the initial speed will be very fast, but then will almost immediately drop in speed. For example, a download will drop from 15 MB/s, to 1 MB/s or lower after about 5-10 seconds.
When using a download manager, (like Motrix, for example) download speeds are extremely quick, and go at the expected speed. 55 MB/s throughout the entire download process.
As far as I’m aware, I have no reverse proxy, nor have I setup any docker compose file.
Upload speeds are unaffected when uploading files to the server.
A speed test was completed with the host itself, and speeds were fast and consistent. So the server host itself is not the issue, but Nextcloud AIO itself.