emqx配置ssl之后mqttx连接报错

环境

  • EMQX 版本:4.3.0
  • 操作系统版本:Linux bogon 4.18.0-425.3.1.el8.x86_64

重现此问题的步骤

  1. xxx
  2. xxx
  3. xxx

预期行为

实际行为


检查一下路径是否配置正确。

修改之后还是有问题

日志报错:
2023-10-24T10:59:10.981957+08:00 [error] 10.0.18.45:58808 [MQTT] , Parse failed for function_clause, [{emqx_frame,parse_utf8_string,[<<1,0,248>>],[{file,“emqx_frame.erl”},{line,482}]},{emqx_frame,parse_packet,3,[{file,“emqx_frame.erl”},{line,225}]},{emqx_frame,parse_frame,4,[{file,“emqx_frame.erl”},{line,201}]},{emqx_connection,parse_incoming,3,[{file,“emqx_connection.erl”},{line,625}]},{emqx_connection,handle_msg,2,[{file,“emqx_connection.erl”},{line,618}]},{emqx_connection,process_msg,2,[{file,“emqx_connection.erl”},{line,364}]},{emqx_connection,handle_recv,3,[{file,“emqx_connection.erl”},{line,328}]},{proc_lib,wake_up,3,[{file,“proc_lib.erl”},{line,236}]}], Frame data:<<22,3,1,0,248,1,0,0,244,3,3,216,153,140,57,236,106,122,231,144,152,7,184,201,171,147,108,27,225,135,202,160,158,15,117,198,159,66,215,242,163,25,76,32,192,28,130,212,215,55,117,232,71,68,242,157,207,153,155,72,27,209,62,70,36,216,39,198,174,236,169,148,49,97,174,49,0,36,19,1,19,2,19,3,192,47,192,43,192,48,192,44,204,169,204,168,192,9,192,…>>

这个crash是你传的里面不是utf8字符,应该是连上后你发包报的错。检查一下发包的格式。