emqx 5.10.0 社区版
客户端连接ocpp1.6 网关,发送心跳次数超过10次左右,就会断开连接,网关里心跳间隔和心跳检查退避都设置0了,下面就断开连接的错误日志
[error] crasher: initial call: cowboy_clear:connection_process/4, pid: <0.215097098.2>, registered_name: , error: {{badmatch,1012},[{emqx_ocpp_connection,handle_outgoing,2,[{file,“emqx_ocpp_connection.erl”},{line,682}]},{emqx_ocpp_connection,websocket_info,2,[{file,“emqx_ocpp_connection.erl”},{line,821}]},{cowboy_websocket_linger,handler_call,6,[{file,“cowboy_websocket_linger.erl”},{line,582}]},{cowboy_http,loop,1,[{file,“cowboy_http.erl”},{line,279}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,329}]}]}, ancestors: [<0.190059237.2>,<0.190013411.2>,ranch_sup,<0.3810.0>], message_queue_len: 0, messages: , links: [#Port<0.3455738>,<0.190059237.2>], dictionary: [{send_cnt,11},{recv_oct,704},{recv_pkt,11},{recv_cnt,11},{‘$logger_metadata$’,#{peername => “10.0.14.208:52851”,clientid => <<“123458”>>}},{incoming_pubs,0},{send_pkt,11},{incoming_bytes,0},{recv_msg,11},{‘send_msg.qos1’,11},{outgoing_pubs,0},{‘recv_msg.qos1’,11},{guid,{1767860244771658,268577438572298,11}},{rand_seed,{#{type => exsss,next => #Fun<rand.0.40079776>,bits => 58,uniform => #Fun<rand.1.40079776>,uniform_n => #Fun<rand.2.40079776>,jump => #Fun<rand.3.40079776>},[86455563969000348|222978778678194482]}},{send_msg,11},{send_oct,1012},{outgoing_bytes,0}], trap_exit: false, status: running, heap_size: 4185, stack_size: 29, reductions: 138065; neighbours: