You are not logged in.
[jonne@archlinux ~]$ curl -v https://archlinux.org/
* Trying 209.126.35.79:443...
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* SSL Trust Anchors:
* CAfile: /etc/ssl/certs/ca-certificates.crt
* Host archlinux.org:443 was resolved.
* IPv6: 2604:cac0:a104:d::3
* IPv4: 209.126.35.79
* TLSv1.3 (OUT), TLS alert, decode error (562):
* TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
* closing connection #0
curl: (35) TLS connect error: error:0A000126:SSL routines::unexpected eof while readingCan anyone help me with this? aur, wiki, security works
All of those starts with wiki.arch security.arch etc.
Offline
What is you curl version package (curl-8.23.0-2 i newest) ?
What is your network setup ?
Offline
What is you curl version package (curl-8.23.0-2 i newest) ?
What is your network setup ?
[jonne@archlinux ~]$ curl --version | head -n 1; pacman -Q curl
curl 8.23.0 (x86_64-pc-linux-gnu) libcurl/8.23.0 OpenSSL/4.1.1 zlib/1.4 brotli/1.2.1 zstd/1.6.0 libidn2/2.3.8 libpsl/0.21.5 libssh2/1.11.1 nghttp2/1.71.0 ngtcp2/1.26.0 nghttp3/1.19.0 mit-krb5/1.22.2
curl 8.23.0-2
[jonne@archlinux ~]$ printf '\n=== Network manager ===\n'; systemctl is-active NetworkManager systemd-networkd systemd-resolved; printf '\n=== Ethernet controller and driver ===\n'; lspci -nnk | grep -A3 -i ethernet; printf '\n=== IP and gateway ===\n'; ip -4 -br addr; ip route | grep default; printf '\n=== DNS ===\n'; grep nameserver /etc/resolv.conf; printf '\n=== MTU and queue discipline ===\n'; ip link show enp14s0 | grep -o 'mtu [0-9]*'; tc qdisc show dev enp14s0; printf '\n=== Active connection ===\n'; nmcli connection show --active
=== Network manager ===
active
inactive
inactive
=== Ethernet controller and driver ===
0e:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7e26]
Kernel driver in use: r8169
Kernel modules: r8169
=== IP and gateway ===
lo UNKNOWN 127.0.0.1/8
enp14s0 UP 192.168.50.14/24
default via 192.168.50.1 dev enp14s0 proto dhcp src 192.168.50.14 metric 100
=== DNS ===
nameserver 192.168.50.1
=== MTU and queue discipline ===
mtu 1500
qdisc fq_codel 0: root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 32Mb ecn drop_batch 64
=== Active connection ===
NAME UUID TYPE DEVICE
inet cc737501-6268-47e5-8e24-e8749a99b677 ethernet enp14s0
lo 05499fcb-a518-40a6-bf8c-f8b47181b382 loopback lo
[jonne@archlinux ~]$
[jonne@archlinux ~]$ nmcli device show
GENERAL.DEVICE: enp14s0
GENERAL.TYPE: ethernet
GENERAL.HWADDR: D8:43:AE:40:04:F1
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: inet
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: 192.168.50.14/24
IP4.GATEWAY: 192.168.50.1
IP4.ROUTE[1]: dst = 192.168.50.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[2]: dst = 0.0.0.0/0, nh = 192.168.50.1, mt = 100
IP4.DNS[1]: 192.168.50.1
IP6.ADDRESS[1]: fe80::dba1:7d5b:cd8:8c58/64
IP6.GATEWAY: --
IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 1024
GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 100 (connected (externally))
GENERAL.CONNECTION: lo
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY: --
IP6.ADDRESS[1]: ::1/128
IP6.GATEWAY: --
GENERAL.DEVICE: D4:3A:2C:79:40:DE
GENERAL.TYPE: bt
GENERAL.HWADDR: D4:3A:2C:79:40:DE
GENERAL.MTU: 0
GENERAL.STATE: 30 (disconnected)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
GENERAL.DEVICE: wlp15s0
GENERAL.TYPE: wifi
GENERAL.HWADDR: 3A:BE:B4:2D:FF:C2
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.GATEWAY: --
IP6.GATEWAY: --
[jonne@archlinux ~]$ Last edited by Soppase (Today 12:08:32)
Offline
Please post the complete output of
curl -vvv https://archlinux.orgOffline
security.archlinux.org is Hetzner but aur.archlinux.org is a (different) HAProxy, are you sure you can curl that?
Offline
Please post the complete output of
curl -vvv https://archlinux.org
[jonne@archlinux ~]$ curl -vvv https://archlinux.org
18:15:04.731926 [0-x] * [READ] client_reset, clear readers
18:15:04.731959 [0-0] * [HTTPS-CONNECT] added
18:15:04.732013 [0-0] * [HTTPS-CONNECT] adjust_pollset -> 0, 0 socks
18:15:04.733152 [0-0] * [HTTPS-CONNECT] adjust_pollset -> 0, 0 socks
18:15:04.733475 [0-0] * Host archlinux.org:443 was resolved.
18:15:04.733482 [0-0] * IPv6: 2604:cac0:a104:d::3
18:15:04.733490 [0-0] * IPv4: 209.126.35.79
18:15:04.733497 [0-0] * [HTTPS-CONNECT] connect, init
18:15:04.733504 [0-0] * [HTTPS-CONNECT] 1st attempt uses h2 from wanted versions
18:15:04.733512 [0-0] * [SETUP] happy eyeballing to origin archlinux.org:443
18:15:04.733526 [0-0] * Trying [2604:cac0:a104:d::3]:443...
18:15:04.733583 [0-0] * Immediate connect fail for 2604:cac0:a104:d::3: Network is unreachable
18:15:04.733598 [0-0] * connect to 2604:cac0:a104:d::3 port 443 from :: port 0 failed: Network is unreachable
18:15:04.733609 [0-0] * Trying 209.126.35.79:443...
18:15:04.733629 [0-0] * [HTTPS-CONNECT] connect -> 0, done=0
18:15:04.733636 [0-0] * [HTTPS-CONNECT] adjust_pollset -> 0, 1 socks
18:15:04.757702 [0-0] * [HTTPS-CONNECT] connect -> 0, done=0
18:15:04.757712 [0-0] * [HTTPS-CONNECT] adjust_pollset -> 0, 1 socks
18:15:04.779977 [0-0] * [SETUP] added SSL filter for origin
18:15:04.779985 [0-0] * [SSL] cf_connect()
18:15:04.779992 [0-0] * [SSL] ossl_connect, step1
18:15:04.780497 [0-0] * ALPN: curl offers h2,http/1.1
18:15:04.780505 [0-0] * [SSL] ossl_connect, step2
18:15:04.780722 [0-0] => Send SSL data, 5 bytes (0x5)
0000: ....@
18:15:04.780759 [0-0] * TLSv1.3 (OUT), TLS handshake, Client hello (1):
18:15:04.780766 [0-0] => Send SSL data, 1600 bytes (0x640)
0000: ...<.........:v....>ob*....as?..v..... 8.-.g.f.c..r.....wK.D.NJ.
0040: .a!..8-.<.......,.0.........+./...$.(.k.#.'.g.....9.....3.....=.
0080: <.5./......................................).............1.....P
00c0: .N..............................................................
0100: .................+........-.....3..........H....u...:d.+...3.9..
0140: .p..<?.p..L.(.t.c.....*pB.7K.......MHa'.r.........A..Q...O7}.+.
0180: ..5@x].2.rLr..x..w....8...]^.b."..&R..*.6..Q.G.i}......!...2....
01c0: .p...FSN].).B.PF.OU.h.L.E...='..#.p..~../t36'..8s.Y..:....,.k.o.
0200: ......K&. ..H.[....-..u...ig.Z.....L K......Xa.1?."......*j.....
0240: w....5..n.../S.Q...U....4...5}?......J...,a.c.V....../?rH...8.V.
0280: .7...~Kd.....4z. pz.....;d....x.n....6.. ..9`.;.i.P..k...W..VK..
02c0: ?..*M.U..7..(1....E.....,L8L..t.".rb"pX.....d?..h..L.e.U.7Z..k!c
0300: ..%....t...l..,..{......h..(..Z....QYY..`2..kc..D.r%....I1d=....
0340: ....X!..|...{@..0.....Ld.`.........D.e......fk)....pN.bIl.D.f.l.
0380: ....|6...a[.zt.....XtRQ.#...p...*.......C.`.".&.b..$.Ic.6Ye.u.fX
03c0: .(f....p%..w..Y...L...&J.!.{jtz.L(.HMp.....IW{...t..."..8.U..[."
0400: .._A........:...Lr.w..p...7.>..t.W.~.....y:..)q.....5Gz"..c.cu..
0440: .WLw..nr..o*........[..J....68....).\..N..[. .P.?.e.=..dr4-u....
0480: .p.Iv.B......Fm%.A.V.j.'-.\.E..R........./Jwp`..R....k..:!{...+.
04c0: "j...S..(6=<..O.*.T.z.v...]D...]...i.EZt].....{.rq..)..W..H0x...
0500: ]!.....,..Y...&.3....',.......n..}qk0.%.X.O.v..)....E.b.*.....Ie
0540: .z.z.<....(...J...+....T.._i....X....|..&.r.b]..23?k.........8!3
0580: ....J...RQ...........@.K:&F.D..w.R.6..j........$TS$....R."..N4 o
05c0: .iWqQ....XU.......l..s.b.4.O...}5..]"yS)K... .).ct.%.vY.#2W...N.
0600: .g..E.2.x........................archlinux.org.......h2.http/1.1
18:15:04.782896 [0-0] * [SSL] ossl_bio_cf_out_write(len=1605) -> 0, 1605
18:15:04.782910 [0-0] * [SSL] ossl_bio_cf_in_read(len=5) -> 81, 0
18:15:04.782916 [0-0] * [SSL] configuring OpenSSL's x509 trust store
18:15:04.782922 [0-0] * SSL Trust Anchors:
18:15:04.785762 [0-0] * CAfile: /etc/ssl/certs/ca-certificates.crt
18:15:04.785772 [0-0] * [SSL] SSL_connect() -> err=-1, detail=2
18:15:04.785780 [0-0] * [SSL] SSL_connect() -> want recv
18:15:04.785787 [0-0] * [SSL] cf_connect() -> 0, done=0
18:15:04.785795 [0-0] * [HTTPS-CONNECT] connect -> 0, done=0
18:15:04.785804 [0-0] * [SSL] adjust_pollset, POLLIN fd=5
18:15:04.785809 [0-0] * [HTTPS-CONNECT] adjust_pollset -> 0, 1 socks
18:15:04.882610 [0-0] * [SSL] cf_connect()
18:15:04.882617 [0-0] * [SSL] ossl_connect, step2
18:15:04.882627 [0-0] * [SSL] ossl_bio_cf_in_read(len=5) -> 0, 0
18:15:04.882634 [0-0] => Send SSL data, 5 bytes (0x5)
0000: .....
18:15:04.882841 [0-0] * [SSL] ossl_bio_cf_out_write(len=7) -> 0, 7
18:15:04.882849 [0-0] * TLSv1.3 (OUT), TLS alert, decode error (562):
18:15:04.882856 [0-0] => Send SSL data, 2 bytes (0x2)
0000: .2
18:15:04.882876 [0-0] * [SSL] SSL_connect() -> err=-1, detail=1
18:15:04.882884 [0-0] * TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
18:15:04.882890 [0-0] * [SSL] cf_connect() -> 35, done=0
18:15:04.882897 [0-0] * [HTTPS-CONNECT] connect, all attempts failed
18:15:04.882905 [0-0] * [HTTPS-CONNECT] connect -> 35, done=0
18:15:04.882914 [0-0] * [WRITE] [OUT] done
18:15:04.882920 [0-0] * [WRITE] client_flush() -> 0
18:15:04.882927 [0-0] * closing connection #0
curl: (35) TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
[jonne@archlinux ~]$ Offline
I am experiencing the same (or similar) issue. It started occurring after I updated my system this morning. The update included openssl:
[ALPM] upgraded openssl (4.1.0-1 -> 4.1.1-1)
[ALPM] upgraded openssl-3 (3.5.9-2 -> 3.5.10-1)
I am unable to connect to any https website. I tried 10+ random public websites that work perfectly fine from another machine on the same network segment as this Arch system.
% curl -v https://archlinux.org/
* Host archlinux.org:443 was resolved.
* IPv6: (none)
* IPv4: 209.126.35.79
* Trying 209.126.35.79:443...
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* SSL Trust Anchors:
* CAfile: /etc/ssl/certs/ca-certificates.crt
* TLSv1.3 (OUT), TLS alert, decode error (562):
* TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
* closing connection #0
curl: (35) TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
% curl -v https://google.com/
* Host google.com:443 was resolved.
* IPv6: (none)
* IPv4: 142.251.179.139, 142.251.179.100, 142.251.179.101, 142.251.179.102, 142.251.179.113, 142.251.179.138
* Trying 142.251.179.139:443...
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* SSL Trust Anchors:
* CAfile: /etc/ssl/certs/ca-certificates.crt
* TLSv1.3 (OUT), TLS alert, decode error (562):
* TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
* closing connection #0
curl: (35) TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
curl 8.23.0 (x86_64-pc-linux-gnu) libcurl/8.23.0 OpenSSL/4.1.1 zlib/1.4 brotli/1.2.1 zstd/1.6.0 libidn2/2.3.8 libpsl/0.21.5 libssh2/1.11.1 nghttp2/1.71.0 ngtcp2/1.26.0 nghttp3/1.19.0 mit-krb5/1.22.2
Release-Date: 2026-10-14
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt mqtts pop3 pop3s rtsp scp sftp smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz PSL SPNEGO SSL threadsafe UnixSockets zstd
OpenSSL 4.1.1 1 Dec 2026 (Library: OpenSSL 4.1.1 1 Dec 2026)
Offline
Can you
curl -vL --tls-max 1.2 --tlsv1.2 'https://google.com' > /dev/nullOffline
Can you
curl -vL --tls-max 1.2 --tlsv1.2 'https://google.com' > /dev/null?
That worked! And my previously failing test URLs work if I add
--tls-max 1.2 --tlsv1.2to each of them.
Hmmm, so TLS 1.3 is broken?
Offline
Same issue as here: https://bbs.archlinux.org/viewtopic.php?id=315475.
curl compiled against OpenSSL 4 sends a TLS client hello to the server demanding ciphers/algorithms the server cannot comply with.
But "archlinux.org" makes no sense here - this server can be reached via Arch's curl. MitM? Or did you fiddle with OpenSSL? Mysterious.
Last edited by -thc (Today 20:22:40)
Offline
But "archlinux.org" makes no sense here - this server can be reached via Arch's curl. MitM? Or did you fiddle with OpenSSL? Mysterious.
Yeah, very weird. I am using Arch's curl and openssl packages, and I did not tweak any ssl config or anything like that. This is a relatively basic headless fileserver with an Ethernet connection with a static LAN IPv4 (no IPv6 at all) and a direct route to the internet through my router.
I downgraded openssl from 4.1.1-1 to 4.1.0-1:
curl 8.23.0 (x86_64-pc-linux-gnu) libcurl/8.23.0 OpenSSL/4.1.0 zlib/1.4 brotli/1.2.1 zstd/1.6.0 libidn2/2.3.8 libpsl/0.21.5 libssh2/1.11.1 nghttp2/1.71.0 ngtcp2/1.26.0 nghttp3/1.19.0 mit-krb5/1.22.2Still having the same issue.
* Host archlinux.org:443 was resolved.
* IPv6: (none)
* IPv4: 209.126.35.79
* Trying 209.126.35.79:443...
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* SSL Trust Anchors:
* CAfile: /etc/ssl/certs/ca-certificates.crt
* TLSv1.3 (OUT), TLS alert, decode error (562):
* TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
* closing connection #0
curl: (35) TLS connect error: error:0A000126:SSL routines::unexpected eof while reading# openssl s_client -connect google.com:443 -servername google.com -tls1_3 -brief
805024BEF77F0000:error:0A000126:SSL routines::unexpected eof while reading:ssl/record/rec_layer_s3.c:697:# openssl s_client -connect google.com:443 -servername google.com -tls1_2 -brief
CONNECTION ESTABLISHED
Protocol version: TLSv1.2
Ciphersuite: ECDHE-ECDSA-CHACHA20-POLY1305
Peer certificate: CN=*.google.com
Hash used: SHA256
Signature type: ecdsa_secp256r1_sha256
Verification: OK
Supported Elliptic Curve Point Formats: uncompressed
Peer Temp Key: X25519, 253 bitsMy plan is to update the package again (so that the full system is up-to-date), then disable TLS 1.3 system-wide via /etc/ssl/openssl.cnf until this is fixed upstream.
Offline
Be aware that this is not a general (upstream) TLS 1.3 issue. There are more factors at work here.
I can reach archlinux.org with curl via TLS 1.3 - no problems at all. This is really weird.
Offline
https://github.com/openssl/openssl/issues/33967 ?
Though Soppase's situation sounds more like maybe a race condition?
security.archlinux.org is Hetzner but aur.archlinux.org is a (different) HAProxy, are you sure you can curl that?
@-thc, 4.1.0 or 4.1.1 ?
Offline
@seth: 4.1.1
Offline
Be aware that this is not a general (upstream) TLS 1.3 issue. There are more factors at work here.
I can reach archlinux.org with curl via TLS 1.3 - no problems at all. This is really weird.
Understood... I'll do some more digging to figure out what's going on. In the meantime, this "fixed" it for me so I can communicate with all/any https websites I've tested so far now:
--- /etc/ssl/openssl.cnf.backup 2026-12-01 10:29:35.000000000 -0500
+++ /etc/ssl/openssl.cnf 2026-12-02 15:47:52.116747111 -0500
@@ -62,6 +62,8 @@
[openssl_init]
providers = provider_sect
+# FIXME 2026-12-02 Disabling TLS 1.3
+ssl_conf = ssl_sect
# List of providers to load
[provider_sect]
@@ -392,3 +394,9 @@
# Certificate revocation
cmd = rr
oldcert = $insta::certout # insta.cert.pem
+
+# FIXME 2026-12-02 Disabling TLS 1.3
+[ssl_sect]
+system_default = system_default_sect
+[system_default_sect]
+MaxProtocol = TLSv1.2Offline
can my IP be blocked or something?
Offline