Generic server emqx_telemetry terminating.

linux环境

  • EMQX 版本:4.2.14
  • 操作系统版本:linux centos7

重现此问题的步骤

  1. emqx console
  2. WARNING: Default (insecure) Erlang cookie is in use.
    WARNING: Configure node.cookie in /etc/emqx/emqx.conf or override from environment variable EMQX_NODE__COOKIE
    WARNING: NOTE: Use the same cookie for all nodes in the cluster.
    EMQX_LOG__FILE_HANDLERS__DEFAULT__ENABLE [log.file_handlers.default.enable]: false
    EMQX_LOG__CONSOLE_HANDLER__ENABLE [log.console_handler.enable]: true
    Erlang/OTP 24 [erts-12.3.2.2] [emqx] [64-bit] [smp:1:1] [ds:1:1:8] [async-threads:4]

Listener ssl:default on 0.0.0.0:8883 started.
Listener tcp:default on 0.0.0.0:1889 started.
Listener ws:default on 0.0.0.0:8083 started.
Listener wss:default on 0.0.0.0:8084 started.
2023-04-29T18:24:06.416769+08:00 [error] Generic server emqx_telemetry terminating. Reason: {{badmatch,{aborted,{bad_type,{telemetry,‘emqx@127.0.0.1’,<<“F891FAC8-E677-11ED-87D5-790B59D891D3”>>}}}},[{emqx_telemetry,ensure_uuids,0,[{file,“emqx_telemetry.erl”},{line,538}]},{emqx_telemetry,handle_continue,2,[{file,“emqx_telemetry.erl”},{line,150}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,695}]},{gen_server,loop,7,[{file,“gen_server.erl”},{line,437}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}. Last message: {continue,init}. State: undefined.

预期行为

实际行为

4.2 已经超过维护期啦,建议可以关闭 emqx_telemetry 插件来避免这个问题