Bug 61327 - Sporadic unknown SSL protocol error / server aborted the SSL handshake
Summary: Sporadic unknown SSL protocol error / server aborted the SSL handshake
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: All (show other bugs)
Version: 2.4-HEAD
Hardware: PC All
: P2 major (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-22 11:09 UTC by Ben RUBSON
Modified: 2021-01-14 14:24 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben RUBSON 2017-07-22 11:09:50 UTC
Hello,

I have some automated requests to my Apache HTTPS server, using Curl.
Everything works fine since months, until yesterday.

Sporadically, some of the requests did not finish correctly.
Relaunching the Curl command right after successfully terminated.
Same issue from several different locations (so not a network issue).
Even without no load at all to the server, launching the requests manually...

Curl returned the following :

* About to connect() to mynice.server.com port 443 (#0)
*   Trying x.y.z.t...
* connected
* Connected to mynice.server.com (x.y.z.t) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: ca.pem
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* Unknown SSL protocol error in connection to mynice.server.com:443 
* Closing connection #0
curl: (35) Unknown SSL protocol error in connection to mynice.server.com:443 

*   Trying x.y.z.t...
* Connected to mynice.server.com (x.y.z.t) port 443 (#0)
* Server aborted the SSL handshake
* Closing connection 0
curl: (35) Server aborted the SSL handshake

I tried to reload Apache, same issue.
I restarted it and was not able to reproduce the issue.
Unfortunatelly I did not think about setting Apache into verbose/debug mode
and reloading it to have further info... I will if issue will come again.

Anyway, perhaps you already eared about such a thing ?

# httpd -V
Server version: Apache/2.4.25 (FreeBSD)
Server built:   unknown
Server's Module Magic Number: 20120211:67
Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture:   64-bit
Server MPM:     prefork
  threaded:     no
    forked:     yes (variable process count)

# uname -sr
FreeBSD 11.0-RELEASE-p8

Thank you very much,

Best regards,

Ben