[erlang-bugs] crash in ssl_session:valid_session/2

Stefan Grundmann sg2342@REDACTED
Mon Feb 27 17:52:08 CET 2012


environment: R14B04

description:

the ssl session cache validation process (spawned every minute by the
ssl_manager process) will crash and log:

Error in process <0.1107.0> on node 'standalone@REDACTED' with exit value:
{badarith,[{ssl_session,valid_session,2},{ssl_manager,validate_session,3},{ssl_manager,session_validation,2},{lists,foldl,3},{ets,do_foldl,4},{ets,foldl,3}]}

if #session.time_stamp is 'undefined' for an entry in the
ssl_otp_session_cache table.

such entries will exist (shortly) in the ssl_opt_session_cache table if
a handshake failed with 

 SSL: certify: ./ssl_connection.erl:1646:Fatal error: bad certificate
or
 SSL: certify: ./ssl_connection.erl:1646:Fatal error: unknown ca
and possibly others.



best regards

Stefan Grundmann 





 

 





More information about the erlang-bugs mailing list