Hello.
I'm having a couple of errors appear randomly during communication with rabbitMQ server.
The server runs on Debian 4.19.181-1 (2021-03-19), RabbitMQ 3.8.17 on Erlang 24.0.2
Also certificate verification is disabled in amqp:
amqp_ssl_socket_new(amqp_connection_state_t state) {
struct amqp_ssl_socket_t *self = (struct amqp_ssl_socket_t *) calloc(1, sizeof(*self));
...
self->verify_peer = 0;
self->verify_hostname = 0;
...
When I start my client it runs fine, receives and sends messages for a while, and then, without any noticeable reason, the connection breaks with one of the following errors logged on the server:
2021-06-17 15:25:33.636 [error] <0.29125.2> closing AMQP connection <0.29125.2> (my_ip:20175 -> srvr_ip:5671):
{inet_error,{tls_alert,{unexpected_message,"TLS server: In state connection at tls_record.erl:558 generated SERVER ALERT: Fatal - Unexpected Message\n {unsupported_record_type,105}"}}}
2021-06-17 15:32:12.208 [error] <0.14738.2> closing AMQP connection <0.14738.2> (my_ip:10553 -> srvr_ip:5671):
{inet_error,{tls_alert,{bad_record_mac,"TLS server: In state connection at ssl_record.erl:446 generated SERVER ALERT: Fatal - Bad Record MAC\n decryption_failed"}}}
Any help on how to pinpoint the reason for these errors would be greatly appreciated.