in reply to Re^2: super slow
in thread super slow

If it helps, the browser dev tools say the TLS handshake is taking about 30 seconds.

Replies are listed 'Best First'.
Re^4: super slow
by choroba (Cardinal) on Sep 12, 2024 at 07:48 UTC
    Curl:
    $ curl --trace-time --verbose https://www.perlmonks.org 09:07:56.633950 * Trying 216.92.34.251:443... 09:08:12.101451 * Connected to www.perlmonks.org (216.92.34.251) port +443 (#0) 09:08:12.102175 * ALPN: offers h2,http/1.1 09:08:12.102535 * TLSv1.3 (OUT), TLS handshake, Client hello (1): 09:09:25.663887 * TLSv1.3 (IN), TLS handshake, Server hello (2):

    Wget:

    $ wget --timestamping --verbose --debug https://www.perlmonks.org 2>&1 + | perl -pe 'BEGIN{$|--} print scalar localtime, "\t";' Thu Sep 12 09:35:34 2024 DEBUG output created by Wget 1.20.3 on lin +ux-gnu. Thu Sep 12 09:35:34 2024 Thu Sep 12 09:35:34 2024 Reading HSTS entries from /home/choroba/.w +get-hsts Thu Sep 12 09:35:34 2024 URI encoding = ‘UTF-8’ Thu Sep 12 09:35:34 2024 asking libproxy about url 'https://www.per +lmonks.org/' Thu Sep 12 09:35:34 2024 libproxy suggest to use 'direct://' Thu Sep 12 09:35:34 2024 Converted file name 'index.html' (UTF-8) - +> 'index.html' (UTF-8) Thu Sep 12 09:35:34 2024 --2024-09-12 09:35:34-- https://www.perlm +onks.org/ Thu Sep 12 09:35:34 2024 Resolving www.perlmonks.org (www.perlmonks +.org)... 216.92.34.251, 66.39.54.27 Thu Sep 12 09:35:34 2024 Caching www.perlmonks.org => 216.92.34.251 + 66.39.54.27 Thu Sep 12 09:35:38 2024 Connecting to www.perlmonks.org (www.perlm +onks.org)|216.92.34.251|:443... connected. Thu Sep 12 09:35:38 2024 Created socket 3. Thu Sep 12 09:35:38 2024 Releasing 0x0000557cbd474670 (new refcount + 1). Thu Sep 12 09:35:38 2024 Initiating SSL handshake. Thu Sep 12 09:36:51 2024 Handshake successful; connected socket 3 t +o SSL handle 0x0000557cbd47f790

    In Firefox, increasing network.http.tls-handshake-timeout in about:config to 120 helped to make the site work, but each page takes about 2 minutes to load.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
        I'd say so. At least, it was coincident.
        map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]