I have a Haskell application using Happstack that will run fine for anywhere from 1-5 days and then suddenly become unresponsive, with the log looking something like this:
ProtocolError "error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac"
ProtocolError "error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac"
ProtocolError "error:140A1175:SSL routines:ssl_bytes_to_cipher_list:inappropriate fallback"
ProtocolError "error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac"
ProtocolError "error:140A1175:SSL routines:ssl_bytes_to_cipher_list:inappropriate fallback"
ProtocolError "error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac"
ProtocolError "error:140A1175:SSL routines:ssl_bytes_to_cipher_list:inappropriate fallback"
ProtocolError "error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac"
ProtocolError "error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac"
ProtocolError "error:140A1175:SSL routines:ssl_bytes_to_cipher_list:inappropriate fallback"
ProtocolError "error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac"
ProtocolError "error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac"
ProtocolError "error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac"
Terminating and restarting the application gets it working then for another few days.
What are some possible causes of this situation, and/or what can I do to trace/debug this issue?