环境信息
- EMQ X 版本:4.3.1
- 操作系统及版本:centOS7
问题描述
小程序连接emqx,经常性会碰到连接不上,返回的错误信息是:AMQJS0007E Socket error:undefined;
查看emqx的日志文件 emqx.log
,里面全部是下面这些信息:
2021-05-28T17:39:05.374191+08:00 [error] supervisor: 'esockd_connection_sup - <0.8558.0>', errorContext: connection_shutdown, reason: {ssl_error,{tls_alert,{record_overflow,"DTLS server: In state hello at dtls_record.erl:457 generated SERVER ALERT: Fatal - Record Overflow\n"}}}, offender: [{pid,<0.32293.23>},{name,connection},{mfargs,{coap_channel,start_link,[]}}]
2021-05-28T17:39:05.577015+08:00 [error] supervisor: 'esockd_connection_sup - <0.8558.0>', errorContext: connection_shutdown, reason: {ssl_error,{tls_alert,{record_overflow,"DTLS server: In state hello at dtls_record.erl:457 generated SERVER ALERT: Fatal - Record Overflow\n"}}}, offender: [{pid,<0.32298.23>},{name,connection},{mfargs,{coap_channel,start_link,[]}}]
2021-05-28T17:39:06.081696+08:00 [error] supervisor: 'esockd_connection_sup - <0.8558.0>', errorContext: connection_shutdown, reason: {ssl_error,{tls_alert,{record_overflow,"DTLS server: In state hello at dtls_record.erl:457 generated SERVER ALERT: Fatal - Record Overflow\n"}}}, offender: [{pid,<0.32305.23>},{name,connection},{mfargs,{coap_channel,start_link,[]}}]
2021-05-28T17:39:08.097429+08:00 [error] supervisor: 'esockd_connection_sup - <0.8558.0>', errorContext: connection_shutdown, reason: {ssl_error,{tls_alert,{record_overflow,"DTLS server: In state hello at dtls_record.erl:457 generated SERVER ALERT: Fatal - Record Overflow\n"}}}, offender: [{pid,<0.32327.23>},{name,connection},{mfargs,{coap_channel,start_link,[]}}]
请问这个是什么原因,如何解决?