It seems that ab encounters some kind of an SSL issue with most https sites I tried (google, cloudflare proxied sites etc).

Not all, seems to work fine with a personal blog site I host on Debian/apache2 server or with https://www.debian.org/.

Some kind of an SSL issue but searching around I found nothing, just a bug from 2013. It's not just my machine, I can repro this in a clean docker container.


ab -n 1 -c 1 https://www.google.com/
This is ApacheBench, Version 2.3 <$Revision: 1913912 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.google.com (be patient)...SSL read failed (1) - closing connection 80756A448C7F0000:error:0A000126:SSL routines:ssl3_read_n:unexpected eof while reading:../ssl/record/rec_layer_s3.c:322:
..done


Server Software:        gws
Server Hostname: www.google.com
Server Port:            443
SSL/TLS Protocol:       TLSv1.3,TLS_AES_256_GCM_SHA384,256,256
Server Temp Key:        X25519 253 bits
TLS Server Name: www.google.com

Document Path:          /
Document Length:        0 bytes

Concurrency Level:      1
Time taken for tests:   0.155 seconds
Complete requests:      1
Failed requests:        1
  (Connect: 0, Receive: 0, Length: 1, Exceptions: 0)
Total transferred:      20477 bytes
HTML transferred:       19144 bytes
Requests per second:    6.45 [#/sec] (mean)
Time per request:       154.992 [ms] (mean)
Time per request:       154.992 [ms] (mean, across all concurrent requests)
Transfer rate:          129.02 [Kbytes/sec] received

Connection Times (ms)
             min  mean[+/-sd] median   max
Connect:       43   43   0.0     43      43
Processing:   112  112   0.0    112     112
Waiting:       98   98   0.0     98      98
Total:        155  155   0.0    155     155

Reply via email to