<div dir="ltr"><div>We're running RabbitMQ 3.6.6 on top of Erlang 19.1.5 and we are seeing these errors in the log:</div><div><br></div><div><font face="monospace,monospace">=ERROR REPORT==== 13-Dec-2016::11:48:04 ===<br>SSL: {connection,{alert,2,20,{"tls_record.erl",229},undefined}}: ssl_connection.erl:842:Fatal error: unexpected message</font></div><div><font face="monospace,monospace">=WARNING REPORT==== 13-Dec-2016::11:48:04 ===<br>STOMP connection <a href="http://10.20.30.40:57788">10.20.30.40:57788</a> -> <a href="http://172.17.0.2:15679">172.17.0.2:15679</a> terminated with reason {inet_error,<br>                                                                                {tls_alert,<br>                                                                                 "unexpected message"}}, closing it</font></div><div><font face="monospace,monospace">=ERROR REPORT==== 13-Dec-2016::11:48:04 ===<br>** Generic server <0.21658.12> terminating<br>** Last message in was {inet_async,<br>                           {sslsocket,<br>                               {gen_tcp,#Port<0.69369>,tls_connection,<br>                                   <0.701.0>},<br>                               <0.21655.12>},<br>                           #Ref<0.0.15466499.144103>,<br>                           {error,{tls_alert,"unexpected message"}}}<br>** When Server state == {reader_state,<br>                         {sslsocket,<br>                          {gen_tcp,#Port<0.69369>,tls_connection,<0.701.0>},<br>                          <0.21655.12>},<br>                         "<a href="http://10.20.30.40:57788">10.20.30.40:57788</a> -> <a href="http://172.17.0.2:15679">172.17.0.2:15679</a>",<br>                         {resume,#Fun<rabbit_stomp_frame.0.111251938>},<br>                         {proc_state,"session-GSnfw7PxboMQVsaeobF8ug",<br>                          <0.22191.12>,<0.22169.12>,<br>                          {dict,2,16,16,8,80,48,<br>                           {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},<br>                           {{[[<<"T_0">>|<br>                               {subscription,<br>                                "/exchange/h2s.rsp/eur1.USERNAME",client,<br>                                false,"id='0'"}]],<br>                             [],[],[],[],[],[],[],[],[],[],[],[],<br>                             [[<<"T_1">>|<br>                               {subscription,<br>                                "/exchange/s2h.req/eur1.USERNAME.json.*.*",<br>                                client,false,"id='1'"}]],<br>                             [],[]}}},<br>                          "1.2",undefined,<br>                          {0,nil},<br>                          {stomp_configuration,<<"guest">>,<<"guest">>,false,<br>                           false,false},<br>                          {set,0,16,16,8,80,48,<br>                           {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},<br>                           {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br>                             []}}},<br>                          {dict,0,16,16,8,80,48,<br>                           {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},<br>                           {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],<br>                             []}}},<br>                          #Fun<rabbit_stomp_processor.5.66813395>,<br>                          {amqp_adapter_info,<br>                           {0,0,0,0,0,65535,44049,2},<br>                           15679,<br>                           {0,0,0,0,0,65535,22167,24922},<br>                           57788,<<"<a href="http://10.20.30.40:57788">10.20.30.40:57788</a> -> <a href="http://172.17.0.2:15679">172.17.0.2:15679</a>">>,<br>                           {'STOMP',0},<br>                           [{channels,1},<br>                            {channel_max,1},<br>                            {frame_max,0},<br>                            {client_properties,<br>                             [{<<"product">>,longstr,<<"STOMP client">>}]},<br>                            {ssl,true},<br>                            {ssl_protocol,'tlsv1.2'},<br>                            {ssl_key_exchange,rsa},<br>                            {ssl_cipher,aes_128_cbc},<br>                            {ssl_hash,sha256}]},<br>                          #Fun<rabbit_stomp_reader.2.90015809>,none,<br>                          {0,0,0,0,0,65535,44049,2},<br>                          false},<br>                         running,false,true,<br>                         {state,fine,5000,#Ref<0.0.15466499.142857>},<br>                         undefined,<0.22169.12>,<0.21657.12>,<br>                         {<0.22196.12>,<0.22197.12>}}<br>** Reason for termination ==<br>** {inet_error,{tls_alert,"unexpected message"}}</font><br></div><div><br></div><div>and it looks like it might cause a memory leak because we also get a lot of these:</div><div><br></div><div><font face="monospace,monospace">=WARNING REPORT==== 13-Dec-2016::11:48:05 ===<br>STOMP detected missed client heartbeat(s) on connection <a href="http://10.20.30.40:51836">10.20.30.40:51836</a> -> <a href="http://172.17.0.2:15679">172.17.0.2:15679</a>, closing it</font></div><div><br></div><div>We've asked Pivotal about the root cause of this and they tell us that it is a TLS alert (from Erlang) that ceases all TCP traffic.</div><div><br></div><div>I'd like to know if we can provide you with more information about this? tcpdump traces or the like? If yes, can you provide us with a tcpdump command that include a pseudo source IP address or something and we are more than happy to dig into this and provide some logs.</div><div><br></div><div>Thanks!</div></div>