v5.0.25在centos7下是否支持MQTT over QUIC。centos7环境下,我下载了emqx-5.0.25-el7-amd64.tar,按照官网上的指引在etc/emqx.conf里添加了listeners.quic.default,然后启动就报错了。
错误信息如下:
2023-05-19T18:29:06.158786+08:00 [error] crasher: initial call: quicer_listener:init/1, pid: <0.2317.0>, registered_name: [], error: {{badmatch,{error,config_error,tls_error}},[{quicer_listener,init,1,[{file,“quicer_listener.erl”},{line,90}]},{gen_server,init_it,2,[{file,“gen_server.erl”},{line,423}]},{gen_server,init_it,6,[{file,“gen_server.erl”},{line,390}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}, ancestors: [quicer_listener_sup,quicer_sup,<0.2195.0>], message_queue_len: 0, messages: [], links: [<0.2197.0>], dictionary: [], trap_exit: true, status: running, heap_size: 610, stack_size: 28, reductions: 207; neighbours:
2023-05-19T18:29:06.159428+08:00 [error] crasher: initial call: application_master:init/4, pid: <0.2191.0>, registered_name: [], exit: {{bad_return,{{emqx_app,start,[normal,[]]},{‘EXIT’,{{failed_to_start,“quic:default(0.0.0.0:14567) : {{badmatch,{error,config_error,tls_error}},\n [{quicer_listener,init,1,\n [{file,"quicer_listener.erl"},{line,90}]},\n {gen_server,init_it,2,\n [{file,"gen_server.erl"},{line,423}]},\n {gen_server,init_it,6,\n [{file,"gen_server.erl"},{line,390}]},\n {proc_lib,init_p_do_apply,3,\n [{file,"proc_lib.erl"},{line,226}]}]}”},[{emqx_listeners,‘-foreach_listeners/1-fun-0-’,2,[{file,“emqx_listeners.erl”},{line,703}]},{lists,foreach,2,[{file,“lists.erl”},{line,1342}]},{emqx_app,maybe_start_listeners,0,[{file,“emqx_app.erl”},{line,94}]},{emqx_app,start,2,[{file,“emqx_app.erl”},{line,50}]},{application_master,start_it_old,4,[{file,“application_master.erl”},{line,293}]}]}}}},[{application_master,init,4,[{file,“application_master.erl”},{line,142}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}, ancestors: [<0.2190.0>], message_queue_len: 1, messages: [{‘EXIT’,<0.2192.0>,normal}], links: [<0.2190.0>,<0.1762.0>], dictionary: [], trap_exit: true, status: running, heap_size: 2586, stack_size: 28, reductions: 186; neighbours:
发一下配置看看
尝试使用最新的 5.3.0 试试看呢