mqttx conn -V ‘3.1.1’ -i ‘LORA_RJ_HONGWAI_cacbb8006000xxx’ -h ‘192.168.x.x’ -p 1883 -u ‘xxx’ -P ‘yyy’ -k 600
命令如上
在命令行界面执行后,输出如下:
[8/7/2024] [6:39:50 PM] › … Connecting…
[8/7/2024] [6:39:50 PM] › Connected
[8/7/2024] [6:39:50 PM] › Connection closed
[8/7/2024] [6:39:51 PM] › … Reconnecting…
[8/7/2024] [6:39:51 PM] › Connected
[8/7/2024] [6:39:51 PM] › Connection closed
[8/7/2024] [6:39:52 PM] › … Reconnecting…
[8/7/2024] [6:39:52 PM] › Connected
[8/7/2024] [6:39:52 PM] › Connection closed
[8/7/2024] [6:39:53 PM] › … Reconnecting…
[8/7/2024] [6:39:53 PM] › Connected
[8/7/2024] [6:39:53 PM] › Connection closed
这样一直连上,断开,重连
服务器端最新日志:
2024-08-07T16:38:53.047341+08:00 [error] msg: session_stepdown_request_exception, mfa: emqx_cm:request_stepdown/3, line: 462, action: discard, reason: {normal,{gen_server,call,[<0.29175.300>,discard,5000]}}, stacktrace: [{gen_server,call,3,[{file,“gen_server.erl”},{line,385}]},{emqx_cm,request_stepdown,3,[{file,“emqx_cm.erl”},{line,433}]},{emqx_cm,do_kick_session,3,[{file,“emqx_cm.erl”},{line,499}]},{erpc,execute_call,4,[{file,“erpc.erl”},{line,589}]}], stale_channel: undefined, stale_pid: <0.29175.300> 看着和这个错误无关
请求帮助