hassio-addons / addon-emqx

EMQX - Home Assistant Community Add-ons
MIT License
57 stars 13 forks source link

EMQX addon fails to connect with cluster #68

Closed hanley-development closed 9 months ago

hanley-development commented 9 months ago

Problem/Motivation

env_vars:

Expected behavior

Cluster joined successfully

Actual behavior

reason="econnrefused" 2023-09-28T01:26:44.888258-05:00 [error] crasher: initial call: gen_rpc_client:init/1, pid: <0.3297.0>, registered_name: [], exit: {{badrpc,econnrefused},[{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.1883.0>], message_queue_len: 0, messages: [], links: [<0.1889.0>], dictionary: [], trap_exit: true, status: running, heap_size: 2586, stack_size: 29, reductions: 7419; neighbours: 2023-09-28T01:26:49.981254-05:00 [warning] Ekka(AutoCluster): discovered nodes outside cluster: ['emqx@192.168.20.86'] 2023-09-28T01:26:55.631845-05:00 [warning] Ekka(AutoCluster): discovered nodes outside cluster: ['emqx@192.168.20.86']

Steps to reproduce

(How can someone else make/see it happen)

Proposed changes

Give documentation on setup for clustery

(If you have a proposed change, workaround or fix, describe the rationale behind it)

hanley-development commented 9 months ago

Is there a way to add ports option to the addon? The ports in question are the following: ports:

hanley-development commented 9 months ago

found my answer through emqx support community: https://github.com/emqx/emqx/issues/11708#issuecomment-1741492665