Ah, I see. When on ProtonVPN using Wireguard, the TLS connection is broken after a couple of seconds:
H=kagi.com; time openssl s_client -quiet -verify_return_error -servername $H $H:443
Connecting to 34.111.242.115
depth=2 C=US, O=Google Trust Services LLC, CN=GTS Root R1
verify return:1
depth=1 C=US, O=Google Trust Services, CN=WR3
verify return:1
depth=0 CN=kagi.com
verify return:1
80CB5B021D740000:error:0A000126:SSL routines::unexpected eof while reading:ssl/record/rec_layer_s3.c:696:
real 0m6.599s
user 0m0.005s
sys 0m0.012s
If not on ProtonVPN, the connection remains open for much longer (I got impatient, so terminated with ^C):
H=kagi.com; time openssl s_client -4 -quiet -verify_return_error -servername $H $H:443
Connecting to 34.111.242.115
depth=2 C=US, O=Google Trust Services LLC, CN=GTS Root R1
verify return:1
depth=1 C=US, O=Google Trust Services, CN=WR3
verify return:1
depth=0 CN=kagi.com
verify return:1
^C
real 1m25.933s
user 0m0.016s
sys 0m0.007s