Nextcloud forum ridiculously slow

Hey @meonkeys
can you please post details about your connection? Are you using IPv4 or IPv6 at home/other places ?

Howdy!

Sure! Iā€™ve done this before. Iā€™ll make some time later to re-share / dig up links later or maybe youā€™ll beat me to it.

I havenā€™t paid close attention. Why might this make a difference?

It might make a difference, yes. Iā€˜ve seen fast IPv6 connectivity and very slow IPv4 connectivity. So would be good to know if thatā€™s the same difference for you (IPv4 slow at home, but IPv6 fast on the road)

1 Like

curl -o /dev/null --compressed https://help.nextcloud.com/assets/discourse-fa0bebf654588c3e45c7d642211b1a3a7f39649c44fec50bcbf3317afdb6b976.js

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  508k  100  508k    0     0   7436      0  0:01:10  0:01:09  0:00:01  9885

Average speed 7.4KB
IPV4
And refresh page without reloading assets, the page dom content loads in 25 seconds

1 Like

Sorry, IPv6 newbie here. Can you walk me through this?

Looks like I am using only IPv4 on my desktop and IPv6 is disabled. My phone seems to use IPv6 too, and sometimes the forum is fast on my phone (in a mobile web browser).

Is there an easy way to test? I tried turning on IPv6 then doing time curl --ipv6 --compressed -o /dev/null https://help.nextcloud.com/assets/discourse-XYZ.js (using a real value for XYZ) but it just says curl: (7) Couldn't connect to server.

If it is disabled, the curl wonā€™t work if you force ipv6. If your provider supports it, it is perhaps enough to just enable it in your system. Sometimes you need to enable it in your router or some web-interface from your ISP. Check first, if your ISP supports ipv6.

2 Likes

Besides what @tflidd said, you could try to create a access point from your mobile device to use the LTE connection (that usually does support IPv6) and then do a test with IPv6 (default then) and force IPv4 to compare the results.

2 Likes

This worked, thank you. Hereā€™s IPv6 vs. IPv4 downloads using my phone as a hotspot. I ran it a few times and the results were about the same.

$ jsfile="discourse-385d0b77a5f242854280a2b5b9f4c375f78b2cb67da605985f8b427ea9d56b5c.js"


$ curl -6 -o /dev/null --compressed https://help.nextcloud.com/assets/$jsfile
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  510k  100  510k    0     0   122k      0  0:00:04  0:00:04 --:--:--  122k

$ curl -4 -o /dev/null --compressed https://help.nextcloud.com/assets/$jsfile
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  510k  100  510k    0     0   177k      0  0:00:02  0:00:02 --:--:--  177k

Both are plenty fast.

So this is over T-Mobile USA, and I recall it usually is fast over this connection / ISP.

My home network ISP is CenturyLink fiber. Thatā€™s where I can get the slow file download issue to repro. Most everything is fast from home except this particular discourse forum.

Hopefully we got it now:

4 Likes

Confirming this looks resolved for me too (from Australian location).

Thanks for addressing it.

4 Likes

Can confirm the issue has gone. Thanks for the hard work.

3 Likes