oatpp / oatpp-openssl

OpenSSL adaptor for Oat++ applications

Home Page:https://oatpp.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Application is getting coredumped.

digvijay92 opened this issue · comments

We have enabled the SSL using oatpp-openssl (1.3.0) in our application server. Now if we make a rest call using https then it is running fine but if we accidently uses http , our application is generating core-dump with below console log:-
** D |2023-07-14 13:45:48 1689342348523440| Server:Running on port 8443...
E |2023-07-14 13:45:51 1689342351111992| [oatpp::openssl::Connection::ConnectionContext::init()]:40F6A4DC5E7F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:354:

terminate called after throwing an instance of 'std::runtime_error'
what(): [oatpp::openssl::Connection::ConnectionContext::init()]: Error. Handshake failed.
Aborted (core dumped)
**