环境信息
- EMQX 版本:5.0.8
- 操作系统及版本:
- 其他
问题描述
operator 以及emqx集群都有以下问题
配置文件及日志
node {
cookie = emqxsecretcookie
data_dir = "data"
etc_dir = "etc"
}
cluster {
discovery_strategy = dns
dns {
record_type = srv
name:"emqx-headless.apulis.svc.cluster.local"
}
}
dashboard {
listeners.http {
bind: 18083
}
default_username: "admin"
default_password: "public"
}
listeners.tcp.default {
bind = "0.0.0.0:1883"
max_connections = 1024000
}
sysmon.vm.long_schedule = disabled
2022-10-21T07:36:09.686002+00:00 [info] Ekka(AutoCluster): joining with 'emqx@emqx-2.emqx-headless.apulis.svc.cluster.local'
2022-10-21T07:36:09.686807+00:00 [info] event=client_process_not_found target="'emqx@emqx-2.emqx-headless.apulis.svc.cluster.local'" action=spawning_client
2022-10-21T07:36:09.686969+00:00 [debug] line: 61, mfa: gen_rpc_dispatcher:handle_call/3, msg: gen_rpc_start_client, target: 'emqx@emqx-2.emqx-headless.apulis.svc.cluster.local'
2022-10-21T07:36:09.687287+00:00 [debug] line: 38, mfa: gen_rpc_client_sup:start_child/1, msg: gen_rpc_starting_new_client, target: 'emqx@emqx-2.emqx-headless.apulis.svc.cluster.local'
2022-10-21T07:36:09.687771+00:00 [info] event=initializing_client driver=tcp node="emqx@emqx-2.emqx-headless.apulis.svc.cluster.local" port=5369
2022-10-21T07:36:09.689509+00:00 [debug] event=connect_to_remote_server peer="emqx@emqx-2.emqx-headless.apulis.svc.cluster.local" socket="#Port<0.90>" result=success
2022-10-21T07:36:09.689852+00:00 [debug] event=authentication_connection_succeeded socket="#Port<0.90>"
2022-10-21T07:36:09.690443+00:00 [error] event=authentication_reception_failed socket="#Port<0.90>" reason="closed"
2022-10-21T07:36:09.690587+00:00 [error] event=client_authentication_failed driver=tcp reason="{badtcp,closed}"
2022-10-21T07:36:09.690938+00:00 [error] Ekka(AutoCluster): Discover error: {case_clause,{badtcp,closed}}, [{mria,do_join,2,[{file,"mria.erl"},{line,354}]},{ekka_autocluster,discover_and_join,2,[{file,"ekka_autocluster.erl"},{line,161}]},{ekka_autocluster,'-discover_and_join/0-fun-0-',2,[{file,"ekka_autocluster.erl"},{line,109}]},{ekka_autocluster,'-run/1-fun-0-',1,[{file,"ekka_autocluster.erl"},{line,54}]}]
2022-10-21T07:36:09.690886+00:00 [error] crasher: initial call: gen_rpc_client:init/1, pid: <0.2854.0>, registered_name: [], exit: {{badtcp,closed},[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,407}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}, ancestors: [gen_rpc_client_sup,gen_rpc_sup,<0.1806.0>], message_queue_len: 0, messages: [], links: [<0.1812.0>], dictionary: [], trap_exit: true, status: running, heap_size: 1598, stack_size: 29, reductions: 29080; neighbours:
2022-10-21T07:36:09.692592+00:00 [warning] Ekka(AutoCluster): discovery did not succeed; retrying in 5000 ms