我用开源版本,docker下安装了一个环境,然后又配置了一些参数和规则。显示进入不了网页,也登入不了看板。我想把之前配置的数据怎么导出,重新安装一个环境。
版本:EMQX 5.0
系统:centos7
做了哪些操作还真不知道了,发现的时候以进不去了
emqx 的日志:
listener.ssl.external.acceptors = “32”
listener.ssl.external.max_connections = “102400”
listener.tcp.external.acceptors = “64”
listener.tcp.external.max_connections = “1024000”
listener.ws.external.acceptors = “16”
listener.ws.external.max_connections = “102400”
listener.wss.external.acceptors = “16”
listener.wss.external.max_connections = “102400”
log.to = “console”
node.max_ets_tables = “2097152”
node.max_ports = “1048576”
node.name = “538629a3e5e6@172.17.0.4”
node.process_limit = “2097152”
rpc.port_discovery = “manual”
Starting emqx on node 538629a3e5e6@172.17.0.4
Start mqtt:tcp:internal listener on 127.0.0.1:11883 successfully.
Start mqtt:tcp:external listener on 0.0.0.0:1883 successfully.
Start mqtt:ws:external listener on 0.0.0.0:8083 successfully.
Start mqtt:ssl:external listener on 0.0.0.0:8883 successfully.
Start mqtt:wss:external listener on 0.0.0.0:8084 successfully.
Start http:management listener on 8081 successfully.
Start http:dashboard listener on 18083 successfully.
EMQ X Broker 4.3.11 is running now!
2023-05-30T03:15:35.983695+00:00 [error] 192.168.240.254:46354 [MQTT] , Parse failed for function_clause, [{emqx_frame,parse_packet,[{mqtt_packet_header,0,false,0,false},<<110,0,0,0,0,1,4,98,101,105,111>>,#{max_size => 1048576,strict_mode => false,version => 4}],[{file,“emqx_frame.erl”},{line,224}]},{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:<<0,11,110,0,0,0,0,1,4,98,101,105,111>>
2023-05-30T07:13:21.515398+00:00 [error] 192.168.240.254:54884 [MQTT] , Parse failed for function_clause, [{emqx_frame,parse_utf8_string,[<<1,1,32>>],[{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,1,32,1,0,1,28,3,3,175,151,174,63,211,181,107,122,93,89,93,24,151,37,68,221,217,17,66,112,100,197,72,47,197,215,37,161,153,217,193,190,32,173,205,81,133,7,137,1,242,194,60,215,168,114,77,226,227,47,51,15,16,28,241,120,24,186,5,233,240,224,37,128,138,0,62,19,2,19,3,19,1,192,44,192,48,0,159,204,169,204,168,204,170,192,43,192,…>>
2023-05-30T07:13:21.586845+00:00 [error] 192.168.240.254:39268 [MQTT] , Parse failed for function_clause, [{emqx_frame,parse_utf8_string,[<<1,0,189>>],[{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,189,1,0,0,185,3,3,232,234,14,146,34,206,155,168,22,136,63,195,15,37,220,202,106,227,143,83,175,134,179,100,193,32,9,95,170,209,119,65,0,0,56,192,44,192,48,0,159,204,169,204,168,204,170,192,43,192,47,0,158,192,36,192,40,0,107,192,35,192,39,0,103,192,10,192,20,0,57,192,9,192,19,0,51,0,157,0,156,0,61,0,60,0,53,0,…>>
2023-05-30T07:13:21.661820+00:00 [error] 192.168.240.254:54735 [MQTT] , Parse failed for function_clause, [{emqx_frame,parse_utf8_string,[<<1,0,99>>],[{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,99,1,0,0,95,3,2,25,81,183,125,58,188,5,203,162,123,227,53,199,213,138,50,42,131,221,245,60,153,168,47,140,42,246,243,85,50,118,81,0,0,18,192,10,192,20,0,57,192,9,192,19,0,51,0,53,0,47,0,255,1,0,0,36,0,11,0,4,3,0,1,2,0,10,0,12,0,10,0,29,0,23,0,30,0,25,0,24,0,35,0,0,0,22,0,…>>
2023-05-30T07:13:21.733964+00:00 [error] 192.168.240.254:35610 [MQTT] , Parse failed for function_clause, [{emqx_frame,parse_utf8_string,[<<1,0,99>>],[{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,99,1,0,0,95,3,1,18,194,128,86,135,27,24,46,87,207,232,6,212,140,144,84,215,172,219,128,79,230,168,218,254,241,69,2,118,34,134,124,0,0,18,192,10,192,20,0,57,192,9,192,19,0,51,0,53,0,47,0,255,1,0,0,36,0,11,0,4,3,0,1,2,0,10,0,12,0,10,0,29,0,23,0,30,0,25,0,24,0,35,0,0,0,22,0,…>>
2023-05-30T21:10:05.794908+00:00 [error] 192.168.240.254:56942 [MQTT] , Parse failed for function_clause, [{emqx_frame,parse_utf8_string,[<<1,2,0>>],[{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,2,0,1,0,1,252,3,3,224,99,12,62,76,236,95,141,11,23,250,254,162,197,111,187,27,177,202,235,22,46,135,189,135,226,189,23,132,46,61,102,32,213,78,14,31,245,52,64,25,12,153,162,102,197,37,244,134,76,145,71,49,102,182,69,210,231,12,32,92,128,32,65,206,0,156,19,2,19,3,19,1,0,51,0,57,0,53,0,47,192,44,192,48,0,163,0,…>>
Stop http:management listener on 0.0.0.0:8081 successfully.
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
listener.ssl.external.acceptors = “32”
listener.ssl.external.max_connections = “102400”
listener.tcp.external.acceptors = “64”
listener.tcp.external.max_connections = “1024000”
listener.ws.external.acceptors = “16”
listener.ws.external.max_connections = “102400”
listener.wss.external.acceptors = “16”
listener.wss.external.max_connections = “102400”
log.to = “console”
node.max_ets_tables = “2097152”
node.max_ports = “1048576”
node.name = “538629a3e5e6@172.17.0.4”
node.process_limit = “2097152”
rpc.port_discovery = “manual”
Starting emqx on node 538629a3e5e6@172.17.0.4
Start mqtt:tcp:internal listener on 127.0.0.1:11883 successfully.
Start mqtt:tcp:external listener on 0.0.0.0:1883 successfully.
Start mqtt:ws:external listener on 0.0.0.0:8083 successfully.
Start mqtt:ssl:external listener on 0.0.0.0:8883 successfully.
Start mqtt:wss:external listener on 0.0.0.0:8084 successfully.
Start http:management listener on 8081 successfully.
Start http:dashboard listener on 18083 successfully.
EMQ X Broker 4.3.11 is running now!
目前的登入页面变这样了
全黑,还登入不了
- 日志显示用的 v4.3.11,为什么要却说是v5.0 ?
- 日志的error/crash报错,是传的包都不是MQTT的协议的数据。你可以使用mqttx试一下能不能连。
- 全黑登录不进去,点开就可以看到emqx.log看有什么报错,或者打开浏览器的开发者工具,看看是什么请求报错了。
只有具体的日志才能够分析问题,麻烦提供日志。