You are not logged in.

#1 2024-03-21 13:48:30

mablue
Member
From: Tabriz (Iran)
Registered: 2019-05-31
Posts: 16
Website

Reflector(urlopen error _ssl.c:989: The handshake operation timed out)

$ reflector --latest 5 --sort rate
[2024-03-21 17:13:42] WARNING: failed to rate http(s) download ([url]http://archlinux.thaller.ws/extra/os/x86_64/extra.db[/url]): Download timed out after 5 second(s).
[2024-03-21 17:13:47] WARNING: failed to rate http(s) download ([url]https://archlinux.thaller.ws/extra/os/x86_64/extra.db[/url]): <urlopen error _ssl.c:989: The handshake operation timed out>
[2024-03-21 17:13:53] WARNING: failed to rate http(s) download ([url]http://ftp.halifax.rwth-aachen.de/archlinux/extra/os/x86_64/extra.db[/url]): timed out
[2024-03-21 17:13:53] WARNING: failed to rate rsync download (rsync://mirror.pseudoform.org/packages/extra/os/x86_64/extra.db): [Errno 2] No such file or directory: 'rsync'
[2024-03-21 17:13:58] WARNING: failed to rate http(s) download ([url]http://mirror.theo546.fr/archlinux/extra/os/x86_64/extra.db[/url]): Download timed out after 5 second(s).
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --latest 5 --sort rate
# When:       2024-03-21 13:43:58 UTC
# From:       [url]https://archlinux.org/mirrors/status/json/[/url]
# Retrieved:  2024-03-21 13:41:40 UTC
# Last Check: 2024-03-21 13:23:18 UTC

Server = [url]http://archlinux.thaller.ws/$repo/os/$arch[/url]
Server = [url]https://archlinux.thaller.ws/$repo/os/$arch[/url]
Server = [url]http://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch[/url]
Server = rsync://mirror.pseudoform.org/packages/$repo/os/$arch
Server = [url]http://mirror.theo546.fr/archlinux/$repo/os/$arch[/url]

Last edited by mablue (2024-03-21 13:50:52)


who are you? The person you see in the mirror?
Or any random thing at any random time and place?
mosavet.wordpress.com masoudsoft.ir masouds0ft.t.me fsdevel.t.me ttsfarsi.t.me

Offline

#2 2024-03-21 15:58:15

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,899

Re: Reflector(urlopen error _ssl.c:989: The handshake operation timed out)

curl -v 'http://archlinux.thaller.ws/extra/os/x86_64/extra.db' >/dev/null
ping -c3 archlinux.thaller.ws

Do you use a VPN?

Offline

#3 2024-03-24 07:20:29

mablue
Member
From: Tabriz (Iran)
Registered: 2019-05-31
Posts: 16
Website

Re: Reflector(urlopen error _ssl.c:989: The handshake operation timed out)

No!!

curl -v 'http://archlinux.thaller.ws/extra/os/x86_64/extra.db' >/dev/null

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Host archlinux.thaller.ws:80 was resolved.
* IPv6: 2a01:4f8:272:5154::
* IPv4: 162.55.244.107
*   Trying 162.55.244.107:80...
* Connected to archlinux.thaller.ws (162.55.244.107) port 80
> GET /extra/os/x86_64/extra.db HTTP/1.1
> Host: archlinux.thaller.ws
> User-Agent: curl/8.6.0
> Accept: */*
> 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0< HTTP/1.1 200 OK
< server: nginx
< date: Sun, 24 Mar 2024 07:19:03 GMT
< content-type: application/octet-stream
< content-length: 8708247
< last-modified: Sun, 24 Mar 2024 06:20:19 GMT
< vary: Accept-Encoding
< etag: "65ffc623-84e097"
< accept-ranges: bytes
< 
{ [3912 bytes data]
100 8504k  100 8504k    0     0   701k      0  0:00:12  0:00:12 --:--:--  948k
* Connection #0 to host archlinux.thaller.ws left intact

ping -c3 archlinux.thaller.ws

PING archlinux.thaller.ws (162.55.244.107) 56(84) bytes of data.
64 bytes from static.107.244.55.162.clients.your-server.de (162.55.244.107): icmp_seq=1 ttl=55 time=107 ms
64 bytes from static.107.244.55.162.clients.your-server.de (162.55.244.107): icmp_seq=2 ttl=55 time=190 ms
64 bytes from static.107.244.55.162.clients.your-server.de (162.55.244.107): icmp_seq=3 ttl=55 time=130 ms

--- archlinux.thaller.ws ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 107.173/142.549/190.280/35.034 ms

yay -S rankmirrors

yay: error while loading shared libraries: libalpm.so.13: cannot open shared object file: No such file or directory

sudo reflector --country IR --sort rate --save /etc/pacman.d/mirrorlist --verbose -l 5

[2024-03-24 10:52:51] INFO: rating 5 mirror(s) by download speed
[2024-03-24 10:52:51] INFO: Server                                             Rate       Time
[2024-03-24 10:52:56] WARNING: failed to rate http(s) download ([url]http://mirror.arvancloud.ir/archlinux/extra/os/x86_64/extra.db[/url]): Download timed out after 5 second(s).
[2024-03-24 10:52:56] INFO: [url]http://mirror.arvancloud.ir/archlinux/[/url]       0.00 KiB/s     0.00 s
[2024-03-24 10:53:02] WARNING: failed to rate http(s) download ([url]https://mirror.arvancloud.ir/archlinux/extra/os/x86_64/extra.db[/url]): Download timed out after 5 second(s).
[2024-03-24 10:53:02] INFO: [url]https://mirror.arvancloud.ir/archlinux/[/url]      0.00 KiB/s     0.00 s
[2024-03-24 10:53:12] WARNING: failed to rate http(s) download ([url]http://repo.iut.ac.ir/repo/archlinux/extra/os/x86_64/extra.db[/url]): Download timed out after 5 second(s).
[2024-03-24 10:53:12] INFO: [url]http://repo.iut.ac.ir/repo/archlinux/[/url]        0.00 KiB/s     0.00 s
[2024-03-24 10:53:17] WARNING: failed to rate http(s) download ([url]http://mirror.bardia.tech/archlinux/extra/os/x86_64/extra.db[/url]): Download timed out after 5 second(s).
[2024-03-24 10:53:17] INFO: [url]http://mirror.bardia.tech/archlinux/[/url]         0.00 KiB/s     0.00 s
[2024-03-24 10:53:27] WARNING: failed to rate http(s) download ([url]https://mirror.bardia.tech/archlinux/extra/os/x86_64/extra.db[/url]): Download timed out after 5 second(s).
[2024-03-24 10:53:27] INFO: [url]https://mirror.bardia.tech/archlinux/[/url]        0.00 KiB/s     0.00 s


curl -v 'http://mirror.arvancloud.ir/archlinux/e … 4/extra.db' >/dev/null

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Host mirror.arvancloud.ir:80 was resolved.
* IPv6: (none)
* IPv4: 185.143.234.120, 185.143.233.120
*   Trying 185.143.234.120:80...
* Connected to mirror.arvancloud.ir (185.143.234.120) port 80
> GET /archlinux/extra/os/x86_64/extra.db HTTP/1.1
> Host: mirror.arvancloud.ir
> User-Agent: curl/8.6.0
> Accept: */*
> 
< HTTP/1.1 301 Moved Permanently
< Date: Sun, 24 Mar 2024 07:25:41 GMT
< Content-Length: 0
< Connection: keep-alive
< Keep-Alive: timeout=65
< location: /archlinux/extra/os/x86_64/extra.db.tar.gz
< X-XSS-Protection: 1; mode=block
< Server: ArvanCloud
< Server-Timing: total;dur=54
< X-Cache: EXPIRED
< X-Request-ID: a133e7c43ec4401e58f787d6c52dbd42
< X-SID: 2561
< 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #0 to host mirror.arvancloud.ir left intact

curl -v 'http://mirror.bardia.tech/archlinux/ext … 4/extra.db' >/dev/null

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Host mirror.bardia.tech:80 was resolved.
* IPv6: 2a07:4282:159:496::2
* IPv4: 185.142.159.242
*   Trying 185.142.159.242:80...
* Connected to mirror.bardia.tech (185.142.159.242) port 80
> GET /archlinux/extra/os/x86_64/extra.db HTTP/1.1
> Host: mirror.bardia.tech
> User-Agent: curl/8.6.0
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Sun, 24 Mar 2024 07:26:26 GMT
< Server: Apache
< Last-Modified: Sat, 23 Mar 2024 23:58:33 GMT
< ETag: "84dd62-6145cb7c6e9f6"
< Accept-Ranges: bytes
< Content-Length: 8707426
< Content-Encoding: x-gzip
< Age: 773
< X-Cache: HIT from mirror.bardia.tech
< Content-Type: application/x-tar
< 
{ [1086 bytes data]
100 8503k  100 8503k    0     0   876k      0  0:00:09  0:00:09 --:--:--  941k
* Connection #0 to host mirror.bardia.tech left intact

curl -v 'https://mirror.bardia.tech/archlinux/ex … 4/extra.db' >/dev/null

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Host mirror.bardia.tech:443 was resolved.
* IPv6: 2a07:4282:159:496::2
* IPv4: 185.142.159.242
*   Trying 185.142.159.242:443...
* Connected to mirror.bardia.tech (185.142.159.242) port 443
* ALPN: curl offers h2,http/1.1
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [25 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [3979 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / x25519 / RSASSA-PSS
* ALPN: server accepted http/1.1
* Server certificate:
*  subject: CN=mirror.bardia.tech
*  start date: Feb  5 23:35:46 2024 GMT
*  expire date: May  5 23:35:45 2024 GMT
*  subjectAltName: host "mirror.bardia.tech" matched cert's "mirror.bardia.tech"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
*   Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha256WithRSAEncryption
* using HTTP/1.x
} [5 bytes data]
> GET /archlinux/extra/os/x86_64/extra.db HTTP/1.1
> Host: mirror.bardia.tech
> User-Agent: curl/8.6.0
> Accept: */*
> 
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [57 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [57 bytes data]
* old SSL session ID is stale, removing
{ [5 bytes data]
< HTTP/1.1 200 OK
< Date: Sun, 24 Mar 2024 07:36:26 GMT
< Server: Apache
< Last-Modified: Sat, 23 Mar 2024 23:58:33 GMT
< Accept-Ranges: bytes
< Content-Length: 8707426
< Content-Encoding: x-gzip
< ETag: "84dd62-6145cb7c6e9f6"
< Age: 1537
< X-Cache: HIT from mirror.bardia.tech
< Content-Type: application/x-tar
< 
{ [7889 bytes data]
100 8503k  100 8503k    0     0   922k      0  0:00:09  0:00:09 --:--:--  954k
* Connection #0 to host mirror.bardia.tech left intact

Last edited by mablue (2024-03-24 07:37:34)


who are you? The person you see in the mirror?
Or any random thing at any random time and place?
mosavet.wordpress.com masoudsoft.ir masouds0ft.t.me fsdevel.t.me ttsfarsi.t.me

Offline

#4 2024-03-24 09:11:34

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,899

Re: Reflector(urlopen error _ssl.c:989: The handshake operation timed out)

archlinux.thaller.ws and mirror.bardia.tech respond  fir w/ ~1MB/s - mirror.arvancloud.ir is 301, but "curl -Lv" should™ work; more or less
yay needs to be rebuild against the current pacman version.

Don't filter by country.

Offline

Board footer

Powered by FluxBB