This forum is EXTREMELY slow

Ironically I have always found it seriuosly slow to point of mind-boggling that the slowest site I ever use is help.nextcloud.com. Not a mark of honor. Then yesterday it wasnā€™t loading at all. And so I tried a proxy, but not luck there either, so I tried Tor too and am on Tor now, the only way I can see or interact with this forum.

Lift thy game, Nextcloud! Lift thy game.

Can you share the location and the service provider? And the proxy, is this a public one and in which network?
With the TOR network, you know that you and Nextcloud have the bandwidth to have a better connection.

Iā€™m in Hobart, Tasmania. Service provider is TPG (Retail) and NBN (provider), and the proxy was ProxySite.

Hardly relevant though because: from this site I surf the internet, use all its diverse services and server websites and webservices from it all day every day, with top performance, streaming movies as desired, and never have any performance concerns. Until I hit help.nextcloud.com. Then itā€™s over, red rover.

Seattle, WA (USA) user here with fiber gigabit via CenturyLink. No VPN, proxy or whatnot. No issues with any other site, just this one.

Initial loading of any forum page takes 4+ minutes regardless of browser, OS or device. After logging in and refreshing a page I already visited it takes about 10-20 seconds.

Traceroute shows nothing odd:

$ traceroute help.nextcloud.com                                    
traceroute to help.nextcloud.com (95.217.53.146), 30 hops max, 60 byte packets
 1  * * *
 2  tukw-dsl-gw67.tukw.qwest.net (xxxx)  3.362 ms  3.292 ms  3.400 ms
 3  tukw-agw1.inet.qwest.net (xxxx)  3.702 ms  3.797 ms  3.429 ms
 4  * * *
 5  ae2.2.edge1.Helsinki1.level3.net (4.69.161.98)  179.301 ms  179.550 ms  179.765 ms
 6  212.133.6.2 (212.133.6.2)  179.807 ms  178.501 ms  182.783 ms
 7  core32.hel1.hetzner.com (213.239.224.26)  179.123 ms  179.945 ms  183.204 ms
 8  ex9k2.dc2.hel.hetzner.com (213.239.224.146)  178.760 ms  182.672 ms ex9k2.dc2.hel1.hetzner.com (213.239.224.142)  180.816 ms
 9  s5.nextcloud.com (95.216.247.163)  178.874 ms  179.042 ms  178.807 ms
10  help.nextcloud.com (95.217.53.146)  178.623 ms  178.489 ms  178.969 ms

Like @mackov83 I also get lots of blocked CORS requests.

To give perspective, the WaniKani discourse, a Japanese language learning community, takes about 2 seconds to load on a fresh laptop that has never visited the site before.

1 Like

Unfortunately, itā€™s not that obvious. How do you explain that it works better with TOR network.
I have no idea what is wrong, but peering can be a factor that is hard to analyze (https://www.hetzner.com/presse-berichte/2015/01/156830) and if itā€™s not filled up links, there can still be configuration problems in some networks, firewall settings etc.
This is the reason we ask for the destinations and operators, if we can find some pattern for users with slow connection.

1 Like

I came across here from this conversationā€¦

https://help.nextcloud.com/t/help-nextcloud-com-is-very-slow/133237/17

Like others Iā€™m also having issues with the forum and have had for a very long time. I started using NextCloud on a personal server in the beginning of 2020. I rarely use this forum because of load time issues. It would be a godsend if the issues could be resolved. The load times seem to be better than I first tried using it. It may be only the first page load that is extremely slow after that it seems to speed up. Perhaps something to do with setting up cookies or session configuration. I really have no idea.

Firstly lots of Kudos for the team at NextCloud. This is a valuable piece of software for backing up my personal data. Although I am considering moving to an online paid service because of security concerns of configuring my own server.

Here is a redacted tracert output.

ā€¦ Previous hops hidden
8 181 ms * * port-channel6.core3.sjc1.he.net [184.104.195.113]
9 * 185 ms * port-channel1.core4.sjc2.he.net [184.105.223.126]
10 181 ms 177 ms 183 ms 100ge4-1.core1.sjc2.he.net [184.105.64.4]
11 * * * Request timed out.
12 235 ms 237 ms 238 ms 100ge13-1.core1.nyc4.he.net [184.105.81.106]
13 * * * Request timed out.
14 * * * Request timed out.
15 333 ms 331 ms 336 ms amsix-gw.hetzner.de [80.249.209.55]
16 * * * Request timed out.
17 * * * Request timed out.
18 * * * Request timed out.
Continues Request timeout for 30 hops ā€¦

1 Like

Just closed both browsers (Chrome and Edge) and restarted my computer. Load times seem too be OK now.
Iā€™m also on TPG in Australia.

1 1 ms <1 ms <1 ms 192.168.3.1
2 2 ms 3 ms 1 ms 192.168.1.1
3 12 ms 11 ms 12 ms Hidden
4 14 ms 12 ms 13 ms Hidden
5 25 ms 25 ms 25 ms Hidden
6 29 ms 31 ms 30 ms Hidden
7 170 ms 171 ms 170 ms las-b24-link.ip.twelve99.net [213.248.95.232]
8 225 ms 227 ms 228 ms ash-bb2-link.ip.twelve99.net [62.115.121.221]
9 228 ms 229 ms 230 ms nyk-bb2-link.ip.twelve99.net [62.115.136.200]
10 315 ms 311 ms 308 ms kbn-bb2-link.ip.twelve99.net [80.91.254.90]
11 314 ms 316 ms 313 ms s-bb2-link.ip.twelve99.net [62.115.139.172]
12 327 ms 321 ms 322 ms hls-b3-link.ip.twelve99.net [62.115.122.35]
13 321 ms 321 ms 320 ms hetzner-svc076536-ic365572.ip.twelve99-cust.net [62.115.52.255]
14 320 ms 320 ms 322 ms core32.hel1.hetzner.com [213.239.203.209]
15 319 ms 320 ms 325 ms ex9k2.dc2.hel.hetzner.com [213.239.224.146]
16 324 ms 324 ms 321 ms s5.nextcloud.com [95.216.247.163]
17 421 ms 320 ms 320 ms help.nextcloud.com [95.217.53.146]

I note the different path it is taking in this tracert.

1 Like

Accessing from a german cable provider and cloudflare dns the forum is blazing fast.

2 Likes

Whenever I try to got to these forums, the page loading time is extremely slow. Sometimes I am waiting up to a good 2-5 minutes. Sometimes the webpage just wonā€™t load all together and I just get a blank white page. I have tested on Mac and Windows and on Firefox, Chrome, and Safari and get the same results. This can be quite annoying at times because I often come to this site to regularly view forum posts and get help. All other sites I visit load in a second or less. My internet download speed is roughly 50-60mb/s and I am located in Australia.

Any ideas on why this is?

2 Likes

It can be that the server is saturated, or it is a bad network connection between the providers. Nextcloud uses Hetzner, you can use a looking glass service to see which way the packages pass and where the bottleneck is: Point in Germany, Falkenstein, data center Hetzner from SpaceCore

Usually they have a pretty open peering policy and present at multiple points in Europe, for overseas they rely on larger carriers (see the transit providers https://www.hetzner.com/unternehmen/rechenzentrum/). Sometimes, end-user providers have bad peering connections to these larger carriers.

We can perhaps get an idea, if you can post the mtr output to your home connection (you can anonymize your own ip, the interesting part is when it reaches your ISPā€™s network).

Iā€™m also in Australia and experiencing this issue. Itā€™s a consistent problem and not something that comes and goes, so I donā€™t think itā€™s a server load issue. I find it takes minutes to load any pages on the forum as Artichoke1 said.

I can provide mtr output, but could you explain what youā€™re looking for? My home network to help.nextcloud.com or from Looking House to my home network?

3 Likes

even me being not literally on the other side of the world do experience certain load-problems often causing a 500 error to me. I already filed an issue on GH for it.

youā€™re welcome to leave your :+1: there.

If you do the traceroute, there is a first hop at hetzner, like:
core0.fra.hetzner.com (213.239.252.37)
And then just the last hope before hetzner, or if you manage to do the looking glass to your ip, the first hop outside hetzner network.

You can also test and download here: http://speed.hetzner.de/

That is more for the server itself and not the networkā€¦

I know. Thatā€™s why I opened this issue there. And we donā€™t really know where the slowness comes from. Could be as well from gettingt timeouts due to serverproblems.

Download speed for the 100mb file peaked at around 6mb/s and was at least a couple of mb/s for the whole download. Didnā€™t have any issues with slow starting or anything, so all seems normal.

Hereā€™s the result of mtr to my local network using the looking.house link you posted:

Start: 2022-03-08T09:25:25+0300
HOST: 22085.vm.hosted-by-spacecore.pro              Loss%   Snt   Last   Avg  Best  Wrst StDev
  1.|-- static.106.123.201.138.clients.your-server.de  0.0%     1    0.3   0.3   0.3   0.3   0.0
  2.|-- static.209.172.9.5.clients.your-server.de      0.0%     1    1.8   1.8   1.8   1.8   0.0
  3.|-- core23.fsn1.hetzner.com                        0.0%     1   21.1  21.1  21.1  21.1   0.0
  4.|-- core4.fra.hetzner.com                          0.0%     1    5.2   5.2   5.2   5.2   0.0
  5.|-- ???                                           100.0     1    0.0   0.0   0.0   0.0   0.0
  6.|-- ???                                           100.0     1    0.0   0.0   0.0   0.0   0.0
  7.|-- ???                                           100.0     1    0.0   0.0   0.0   0.0   0.0
  8.|-- if-ae-49-2.tcore1.pvu-paris.as6453.net         0.0%     1  163.1 163.1 163.1 163.1   0.0
  9.|-- ???                                           100.0     1    0.0   0.0   0.0   0.0   0.0
 10.|-- ???                                           100.0     1    0.0   0.0   0.0   0.0   0.0
 11.|-- ???                                           100.0     1    0.0   0.0   0.0   0.0   0.0
 12.|-- ???                                           100.0     1    0.0   0.0   0.0   0.0   0.0
 13.|-- if-ae-14-2.tcore3.nto-newyork.as6453.net       0.0%     1  173.9 173.9 173.9 173.9   0.0
 14.|-- if-ae-22-2.tcore1.nto-newyork.as6453.net       0.0%     1  170.5 170.5 170.5 170.5   0.0
 15.|-- if-ae-36-2.tcore1.sqn-sanjose.as6453.net       0.0%     1  168.3 168.3 168.3 168.3   0.0
 16.|-- ???                                           100.0     1    0.0   0.0   0.0   0.0   0.0
 17.|-- if-ae-0-2.tcore1.sv1-santaclara.as6453.net     0.0%     1  160.3 160.3 160.3 160.3   0.0
 18.|-- ???                                           100.0     1    0.0   0.0   0.0   0.0   0.0
 19.|-- xxxxxxxxxxxxxxxxxxxxxxx                       0.0%     1  336.3 336.3 336.3 336.3   0.0

AS6453 seems to be TATA with a quite good connection: https://www.hetzner.com/unternehmen/rechenzentrum

And you can download from the speed server quite ok. Iā€™ve just seen that the loading of some resources either doesnā€™t work or timeout (especially avatars, either timeout or some take very long like 9s). Not sure if that adds up in a bad way with the increased delay that you obtain much more timeouts. Problem of these nice interactive pages lazy-loading (depending on how much you scroll) works very well for short delays but if the delays are increasing and you have problems, it can be very painful to useā€¦

Iā€™m not getting timeouts, everything does eventually load. The problem Iā€™m having is it takes 1.7 minutes from initially starting to load the page to see anything on screen. I had to wait that long to open this up to write the reply (I timed it). Once everythingā€™s loaded itā€™s more usable, if a bit slow. For example I donā€™t get an exceptionally long delay posting replies and I can navigate around the forums without too much delay.

I looked in the browserā€™s network inspector to see if there was anything specific causing a problem, but itā€™s basically every resource taking a very long time to load. For example, this resource:

https://help.nextcloud.com/theme-javascripts/fde9bc7c258930129c4085bb1fbd4886a90e5d33.js?__ws=help.nextcloud.com

Has the following timings:

You can see itā€™s an exceptionally long wait and download, especially since the actual file is tiny.

I tried loading that same asset with curl and the delay was still slow but much, much shorter. Hereā€™s the command (curl-format.txt borrowed from SO):

curl -w "@curl-format.txt" -o /dev/null -s https://help.nextcloud.com/theme-javascripts/fde9bc7c258930129c4085bb1fbd4886a90e5d33.js\?__ws\=help.nextcloud.com

And timings I got

     time_namelookup:  0.005279s
        time_connect:  0.359582s
     time_appconnect:  2.010141s
    time_pretransfer:  2.010278s
       time_redirect:  0.000000s
  time_starttransfer:  2.368495s
                     ----------
          time_total:  2.371560s

This seems to be consistent, in that in curl it always takes around 2 seconds and in my browser (Iā€™ve tried several different machines and browsers) it always takes just under 2 minutes. Maybe thereā€™s some kind of cumulative effect happening?

By comparison, the link you posted takes around 5 or so seconds to fully load, which is a little slow, but itā€™s still usable.

These curl commands, I didnā€™t know, really cool :sunglasses:

For the javascript, for me it is <0.5s from Europe.

However, the strange letter avatars:

curl -w "@curl-format.txt" -o /dev/null -s https://help.nextcloud.com/letter_avatar_proxy/v4/letter/e/d78d45/90.png
     time_namelookup:  0.004868s
        time_connect:  0.037185s
     time_appconnect:  0.143471s
    time_pretransfer:  0.143888s
       time_redirect:  0.000000s
  time_starttransfer:  60.242762s
                     ----------
          time_total:  60.243041s
1 Like

See also: Help.nextcloud.com slow page load times

Iā€™m also seeing consistently slow (first view/cold cache) page load times for help.nextcloud.com. Over a minute to be able to see and do anything. Similar results in both Firefox and Chromium.

Iā€™m really confused why I canā€™t reproduce the problem using www.webpagetest.org. Timings from that site are consistently and reasonably fast enough, say, 5 seconds or less. So Iā€™m trying to isolate what might be different between www.webpagetest.org and my home network. One difference is DNS.

I thought perhaps when stats.nextcloud.com is blocked it slows down the help.nextcloud.com user experience. At home I am usually blocking stats.nextcloud.com using a Pi-hole. This uses a DNS trick so stats.nextcloud.com resolves to 0.0.0.0. With the DNS block in place, it takes minutes for the first/cold page load of https://help.nextcloud.com. But when I allow proper DNS resolution for the stats.nextcloud.com domain it seems to take just as long.

It works quickly on my mobile phone web browser when I am not on my home network (and not behind my Pi-hole), though.

I think we really need help working through a browser-side performance profile showing each URL, which ones take a long time, and especially looking for anything that blocks. Anyone have experience doing this? I can definitely see some scripts taking a long time when Iā€™m using Firefox Developer Tools but Iā€™m having trouble sharing the result.

I also tried the curl timing examples others mentioned (very cool, thank you!) but the results are intermittent. One time an avatar placeholder image will take 2 minutes to fetch, then another time itā€™ll take 2 seconds.

Hello,

I am from India. Here too the initial Help.NextCloud website webpage loading time is really really slow. Takes ages for the page to load but once loaded, it works relatively fine.

Here are my ping / trace route results.

C:\Windows\system32>ping help.nextcloud.com

Pinging help.nextcloud.com [95.217.53.146] with 32 bytes of data:
Reply from 95.217.53.146: bytes=32 time=197ms TTL=48
Reply from 95.217.53.146: bytes=32 time=198ms TTL=48
Reply from 95.217.53.146: bytes=32 time=198ms TTL=48
Reply from 95.217.53.146: bytes=32 time=197ms TTL=48

Ping statistics for 95.217.53.146:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 197ms, Maximum = 198ms, Average = 197ms

C:\Windows\system32>tracert help.nextcloud.com

Tracing route to help.nextcloud.com [95.217.53.146]
over a maximum of 30 hops:

  1    <1 ms    <1 ms    <1 ms  192.168.1.1
  2     6 ms    16 ms    14 ms  xx.xxx.xxx.xxx
  3     *        *        *     Request timed out.
  4     3 ms     1 ms     1 ms  10.240.246.1
  5     3 ms     2 ms     3 ms  10.200.22.1
  6    34 ms    32 ms    32 ms  125.23.238.225
  7     *        *        *     Request timed out.
  8   188 ms   186 ms   188 ms  decix2-gw.hetzner.com [80.81.193.164]
  9   177 ms   181 ms   177 ms  core9.fra.hetzner.com [213.239.224.178]
 10   198 ms   198 ms   209 ms  core32.hel1.hetzner.com [213.239.224.169] 
 11   206 ms   207 ms   226 ms  ex9k2.dc2.hel.hetzner.com [213.239.224.146]
 12   202 ms   200 ms   201 ms  s5.nextcloud.com [95.216.247.163]
 13   197 ms   197 ms   197 ms  help.nextcloud.com [95.217.53.146]

Trace complete.

C:\Windows\system32>

:roll_eyes:

Thanks.